Commit graph

122 commits

Author SHA1 Message Date
Karthik Nishanth
d1ac6a943b
Merge f1ce494b74 into ae9d8ba4ae 2024-11-17 19:43:32 +01:00
q234rty
87cb63e1fd
Always allow sending messages by enter even with IMEs
Qt.inputMethod.visible is true in kwin_wayland when maliit is enabled and activated,
however kwin does not actually show maliit w/o touch input [1].

Moreover, having send by enter might still be desired even for virtual keyboards.

Remove the check for virtual keyboards as suggested by @deepbluev7,
people could still use Settings.invertEnterKey for newlines.

[1]: https://invent.kde.org/plasma/kwin/-/blob/v6.1.4/src/inputmethod.cpp?ref_type=tags#L185
2024-08-14 16:52:50 +08:00
Karthik Nishanth
f1ce494b74 tie transitions to reduced motion setting 2024-06-23 18:24:39 -07:00
Nicolas Werner
7c2a152cfb
Add support for intentional mentions
This is still a bit flaky around when to remove a mention, but it should
work in most cases. Might add a toggle in the future to disable these
though.
2024-03-08 18:45:18 +01:00
Nicolas Werner
b9ffcffe2d
Fix completer size on plasma6 2024-03-05 20:32:18 +01:00
Joseph Donofry
373fb49903
Fix some keyboard shortcuts on macOS that involved arrow keys 2024-01-09 20:53:22 -05:00
Nicolas Werner
2b1c9af311
More qml cleanups 2023-10-26 20:52:18 +02:00
Loren Burkholder
8f87e5c91c Fix the color on the insufficient powerlevel warning 2023-07-08 16:55:44 -04:00
Nicolas Werner
5aee8d609a
Format qml 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
51084748ee
Make default completer complete custom emoji 2023-05-25 21:53:23 +02:00
Nicolas Werner
dd74bdc697
Get rid of old emoji picker 2023-05-25 19:20:25 +02:00
Nicolas Werner
f01940f57c
Make emoji picker use the grid view 2023-05-25 19:07:13 +02:00
Nicolas Werner
0dfdba4316
Add rows to stickerpicker 2023-05-20 00:57:47 +02:00
DeepBlueV7.X
7d8ccd4ce8
Merge pull request #1388 from Nheko-Reborn/command
Warn if an invalid command is entered
2023-03-10 00:17:06 +00:00
Loren Burkholder
a731402816 Use the nheko spinner everywhere 2023-02-28 20:40:22 -05:00
Loren Burkholder
b6ef00b5ee Show warning when invalid command is entered
Fixes #1363

Please note that this doesn't prompt when you try to send a message with a bad command.
2023-02-28 20:10:25 -05:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joseph Donofry
69c11d4533 Fix send message logic bug introduced with shift+enter setting 2022-12-28 18:51:30 -05:00
Nicolas Werner
485babba14
Implement a completer for commands
fixes #429
2022-11-09 04:59:06 +01:00
LordMZTE
80270e1f01
Add invert enter key setting 2022-11-04 23:42:35 +01:00
Rohit Sutradhar
ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Nicolas Werner
88cbac1695
Basic threading support 2022-09-30 03:27:05 +02:00
q234rty
15b9dbe98d
Fix "Send by enter" on Windows
Apparently on windows `Qt.inputMethod.visible` is always true when an input method is installed. Also on windows even after removing the check enter is still consumed by the input method, not nheko.
2022-09-16 22:41:11 +08:00
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors 2022-06-14 12:04:34 +00:00
SyldraTheCat
ffa4dca8b3
Make cursoring up/down more consistent on some setups 2022-06-13 07:22:09 +00:00
Malte E
f563098e9a Don't send on Enter when inputMethod.visible ( == OSK active assumed) 2022-03-20 22:17:25 +01:00
Malte E
d58a483642 add preedit text to search 2022-03-20 21:57:16 +01:00
Malte E
0cb729cfc2 remove completer trigger characters 2022-03-20 21:34:41 +01:00
Malte E
548063d303 attempt to include preeditText in search string 2022-03-20 17:21:59 +01:00
Malte E
86a81307fb make completer work with input method 2022-03-20 17:12:13 +01:00
Malte E
d765305595 properly commit preedit text 2022-03-19 22:30:35 +01:00
Malte E
a76b50b48e small rework of the reply popup 2022-03-11 21:32:32 +01:00
Nicolas Werner
bf7b58c959
Don't destroy components in use
Add a delay to all destructions and move the call dialog stuff up a
level, so that we don't destroy the component when destroying the parent
dialog.

fixes #984
2022-03-10 20:43:42 +01:00
Malte E
ab05e2d8dc
Mobile message input (#962)
* swap send and sticker icons based on text input

* collapse MessageInput options when window is narrow

* buttons disappear once you type/send partial text from input method
2022-03-05 22:10:08 +00:00
Nicolas Werner
23efa8f815
Fix a few small completer glitches 2022-03-01 02:33:22 +01:00
Nicolas Werner
ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Nicolas Werner
609cd82dc0
Fix forward completer 2022-02-21 04:07:13 +01:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~ 2021-12-27 06:23:36 +01:00
Nicolas Werner
ad91784d86
Vertically align message input
fixes #351
2021-12-12 00:03:00 +01:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Nicolas Werner
3528fe4e5d
Warn the user before they ping the whole room 2021-09-02 03:15:39 +02:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk 2021-08-29 16:32:22 +02:00
resolritter
b5af1d81df accept Backtab and Shift-Tab for hovering selection backwards 2021-08-22 13:02:26 -03:00
Thomas Karpiniec
92e8cd0681 Avoid completer jitter before closing 2021-08-21 14:24:55 +10:00
Thomas Karpiniec
a24348b574 Allow opening a completer starting with selected text 2021-08-21 13:31:27 +10:00