reuk
29213e07a1
Font: Deprecate getStringWidth and getGlyphPositions
2024-09-18 19:13:09 +01:00
reuk
4533077b75
LookAndFeel: Allow specifying a default typeface metrics kind to use
2024-04-18 14:16:00 +01:00
reuk
4f2c287f9b
Font: Deprecate old Font constructors
2024-04-18 14:16:00 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
reuk
e4b8569b12
TextEditor: Avoid giving away keyboard focus unconditionally in destructor
...
While improving Android IME support (da38c1ed ), text editor destructors
were updated to explicitly pass keyboard focus elsewhere.
As far as I remember, the change was intended to prevent the text input
system from trying to send input events to components while they were
being destroyed, in which case the TextInputTarget and Component bases
may be 'valid', but the data members referenced by the TextInputTarget
implementation may have been destroyed.
The motivation for removing these lines is that giving away focus and
sending a focus event can cause all components to become unfocused. This
is problematic in the case of slider text editors - pressing 'enter'
will cause the TextEditor to be destroyed, but the parent component will
fail to gain focus, so pressing 'tab' will not have any effect.
2023-07-31 19:36:32 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
9cfbccca8e
Accessibility: Make createAccessibilityHandler public to allow calls from derived classes
2023-02-09 17:54:18 +00:00
reuk
f7d01e9a5e
CodeEditorComponent: Remove unnecessary assertion
2023-02-01 23:05:51 +00:00
reuk
da38c1ed2a
TextInputTarget: Improve IME support on Android
2022-12-07 13:12:02 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2022-12-01 11:41:50 +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
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
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
e984395b1d
GCC: Fix some compiler warnings in GCC 11
2022-04-26 15:30:54 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
2021-09-07 11:23:17 +01:00
ed
a7f33da900
Accessibility: Set caret position when passed an empty range selection in CodeEditorComponent and TextEditor AccessibilityTextInterface implementations
2021-06-11 13:48:07 +01:00
ed
8b2f3088d7
Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels
2021-06-07 19:38:29 +01:00
ed
13e7ffbdfb
Accessibility: Use AccessibilityTextValueInterface for read-only text in Label, TextEditor and CodeEditorComponent
2021-05-28 14:48:59 +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
51a593abac
CodeEditorComponent: Avoid dereferencing a nullptr when recreating caret component
2021-04-30 17:15:27 +01:00
ed
bcb85bc752
Recreate CaretComponent correctly in CodeEditorComponent::lookAndFeelChanged()
2021-01-29 14:33:08 +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
reuk
39b5c22a29
GUI: Ensure components refresh correctly when their look and feel changes
2020-06-12 17:27:25 +01:00
reuk
4cf66d6522
Cleanup: Remove redundant inlines
2020-04-27 10:22:06 +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
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
2020-03-09 17:39:28 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
Tom Maisey
ab2adfb6a8
Fix CodeEditorComponent paint near scrollbars
2019-08-30 14:57:06 +01:00
Tom Maisey
f6b649d049
Added some CodeDocument and CodeEditorComponent tests and improvements
2019-05-14 18:44:43 +01:00
ed
a234721110
Added various clang-tidy modernize-* fixes
2019-01-31 15:15:31 +00:00
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
2019-01-11 09:52:10 +00:00
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
2018-10-05 12:15:04 +01:00
jules
a658ad41de
Removed some erroneous noexcepts
2018-07-25 12:18:43 +01:00
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
2018-06-13 17:11:37 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
ed
a2cd9be3b9
Fix some unescaped characters in the documentation of CodeDocument::setNewLineCharacters() and ::getNewLineCharacters()
2018-03-12 09:50:41 +00: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
a586966c65
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
2017-11-28 16:18:40 +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
jules
f0ef700e46
Modernised a bunch of code mainly relating to character/string iteration
2017-10-19 16:52:20 +01:00
tpoole
51b3eaebb2
Fixed some VS2013 compiler errors
2017-10-18 11:05:40 +01:00
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
2017-10-11 12:26:05 +01:00
jules
31c99d3680
Cleaned up some missing std:: namespaces for maths functions, and updated some old documentation for AudioProcessor
2017-10-10 09:01:35 +01:00