Commit graph

129 commits

Author SHA1 Message Date
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling 2021-12-29 06:01:38 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner
5743a6de04
Cleanup remaining clazy issues 2021-12-28 23:22:01 +01:00
Nicolas Werner
5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Nicolas Werner
b2b9cccb5e
Fix a few clang tidy warnings 2021-12-06 22:22:37 +01:00
Nicolas Werner
6760397f6c
Fix sanitizer warning about signed shifts 2021-12-04 02:43:33 +01:00
Nicolas Werner
0f2faff4e7
Use a more random hash to generate user colors
Fixes an issue where most uses just had their color determined by their
username length and distributes the colors a bit more evenly.
2021-11-24 01:33:22 +01:00
Nicolas Werner
3d92e8ae60
Mark rooms as direct chats
Either by accepting an invite or manually using /converttodm and revert
with /converttoroom.
2021-11-21 06:13:45 +01:00
Nicolas Werner
34a1b6267b
Make user colors a bit more vibrant 2021-11-19 23:58:20 +01:00
Nicolas Werner
38e3498978
Prevent edits from removing quotes at the beginning of a message 2021-11-13 03:21:42 +01:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02:00
Nicolas Werner
b63289ba54
Cleanup @room escape logic a bit 2021-08-20 14:00:35 +02:00
Joe
fb3c443ce0 Remove additional key requests preference code 2021-07-24 18:27:59 -04:00
Joe
3f567a8da7 Merge master and fix conflicts 2021-07-24 18:26:25 -04:00
Nicolas Werner
f401ed16ac
Tweak rainbows slightly 2021-07-21 17:44:29 +02:00
Joseph Donofry
19f2c02eda
Remove 'respond to key requests' functionality 2021-07-15 18:08:59 -04:00
Nicolas Werner
c600827f78
Strip reply fallback from roomlist
fixes #630
2021-07-13 02:36:10 +02:00
Joseph Donofry
d25f020d79
Fix linter issue 2021-07-08 21:07:45 -04:00
Joe
d05253a740 Add missing include to Utils 2021-07-08 00:39:11 -04:00
Joseph Donofry
0a833b6e9b
Avoid unnecessary QColor -> QString conversions 2021-06-08 17:20:09 -04:00
Nicolas Werner
d52c2515bc
Fix stray 'a' in @room escaping 2021-05-11 15:10:28 +02:00
Nicolas Werner
8236f6ba72
Merge branch 'forward_message_feature' of https://github.com/Jedi18/nheko into Jedi18-forward_message_feature 2021-04-24 14:35:21 +02:00
targetakhil
ddb1983c63 fix macos build error 2021-04-22 11:06:19 +05:30
Nicolas Werner
95a603fd62
Linkify matrix uris 2021-04-19 16:35:06 +02:00
targetakhil
5a5aba662e make util strip util functions non-static and move definition to cpp file 2021-04-18 12:03:25 +05:30
targetakhil
2dfa40e017 strip reply fallbacks from forwarded message 2021-04-18 11:22:44 +05:30
Nicolas Werner
007ee38b04
Fix exif rotation in unencrypted rooms 2021-04-04 00:15:08 +02:00
Nicolas Werner
fa68ae9fe9
Tweak rainbow slightly 2021-03-28 20:56:08 +02:00
Nicolas Werner
edaeb3ccde
Fix emojis being split by rainbows 2021-03-28 20:41:08 +02:00
LordMZTE
4b45c61024 run formatter 2021-03-28 17:37:36 +02:00
LordMZTE
e7f20eeae0 use QString as buf in rainbowifyer 2021-03-28 14:14:05 +02:00
LordMZTE
4e6150f28e implement requested changes 2021-03-28 14:00:35 +02:00
LordMZTE
64e29b07e2 remove incorrect include 2021-03-27 17:04:00 +01:00
LordMZTE
39ff68c6e6 use QString to format in rainbow function 2021-03-27 16:06:42 +01:00
LordMZTE
939f00c90d rainbow now works with unicode! 2021-03-27 14:35:06 +01:00
LordMZTE
a898abcecb use qtextboundary finder to rainbowify. (not working for unicode chars yet) 2021-03-27 14:16:40 +01:00
LordMZTE
947b8c0291 fix size type 2021-03-27 12:47:18 +01:00
LordMZTE
44bd3376ce add /rainbow command 2021-03-26 00:42:46 +01:00
Nicolas Werner
e5d75c814b
Clean up notification code a bit 2021-03-17 19:18:07 +01:00
Loren Burkholder
fda6d7629a
Switch readImage to take a reference instead of a pointer
There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
2021-03-17 19:18:06 +01:00
Loren Burkholder
39576fea96
Create function for processing whether a message is a reply 2021-03-17 19:17:15 +01:00
Nicolas Werner
98e0b95635
Reduce allocations when escaping emoji 2021-03-14 14:04:30 +01:00
Nicolas Werner
973ec13ad8
Add linebreaks to fingerprint 2021-03-06 19:36:18 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
463cee7146 Fix wrong font used in emoji escape 2021-02-09 20:21:01 +01:00
trilene
974c336c5e make lint 2021-02-07 13:58:32 -05:00
Loren Burkholder
46e15218d4 Use UserSettings where possible 2021-02-04 18:44:36 -05:00
Nicolas Werner
4874006501 Fix emojis with fe0f in the middle 2021-02-01 21:53:04 +01:00
Nicolas Werner
904cafcd39 lint 2020-12-25 04:11:47 +01:00