Nicolas Werner
52a6105dc1
Update translations
3 years ago
Nicolas Werner
6f77a1fe9d
Use the styles default delay for tooltips
...
This makes them less annoying when scrolling or accessing the popup
menu.
See also #860
3 years ago
Nicolas Werner
750c64f323
Get rid of some useless code
3 years ago
Nicolas Werner
73012eb2d1
Add missing license headers
3 years ago
Nicolas Werner
c5f4865ee6
Try to reduce CPU overhead of animated images a bit
3 years ago
Joe Donofry
c8ff44aa20
Increase Completer limit to 30
...
- Add scrolling
- Only display ~7 items at once
3 years ago
Nicolas Werner
9a9dbda571
Update presence dynamically and reduce allocations
3 years ago
Nicolas Werner
4428388b3f
Convert blurhash image format on worker thread
...
Not only should this prevent hickups, it also fixes a potential crash.
3 years ago
Nicolas Werner
203ddb20de
Fix crash after sending image caused by the recent refactor
3 years ago
Nicolas Werner
b847623fbe
Reduce allocations and time spent creating delegates by half
3 years ago
Nicolas Werner
7cfb7dcea4
Reduce allocations for presence states a bit
3 years ago
Nicolas Werner
497c3df50e
Prevent copies when querying theme
3 years ago
Nicolas Werner
f21bf5f97e
Cache supported animated image formats
3 years ago
Nicolas Werner
4d54876ea4
Pretty up code with fewer allocations
3 years ago
Nicolas Werner
271b111558
Reduce allocations for accessing event members
3 years ago
Nicolas Werner
0f4b482bb3
Remove a few casts
3 years ago
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling
3 years ago
Nicolas Werner
812e3b5f03
Reduce allocations required for the palette
3 years ago
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral
3 years ago
Nicolas Werner
a3c4ebc460
use more literals
3 years ago
Nicolas Werner
f3e1941612
Add clazy to CI
3 years ago
Nicolas Werner
5743a6de04
Cleanup remaining clazy issues
3 years ago
Nicolas Werner
0e9b0c80cd
more cleanups
3 years ago
Nicolas Werner
bb290f9fec
Fix more warnings and remove dead code
3 years ago
Nicolas Werner
409ff22d80
Remove unused button class
3 years ago
Nicolas Werner
5ca98829f7
Some qt6 prep
3 years ago
Nicolas Werner
2866826356
Misc clang-tidy fixes
3 years ago
Nicolas Werner
960cf2995e
Fixup clang-tidy suggestion
3 years ago
tastytea
850d139e3d
Make custom emoticons twice as high as the font.
3 years ago
tastytea
5ac1195402
MxcImageProvider: Only use scaledToHeight if width <= 0.
3 years ago
tastytea
7086e23bdd
Request inline images in the right size and anti-alias them
...
- If an inline image has specified a height, add parameters to the
image:// URI.
- Add scaled to the parameters, the images would be cropped otherwise.
- Extract the height from image:// URI and use it for requestSize.
- Use scaledToHeight instead of scaled.
3 years ago
MTRNord
7b2f7e65fd
Run linter
3 years ago
Nicolas Werner
7742f12f30
Use body in alt text of custom emoji
3 years ago
rnhmjoj
9363f0b7c7
Make nheko usable without a secret storage service
...
This change adds the ability to run Nheko without a secrets storage
service[1]. The secrets are stored in plaintext under the [secrets]
section of nheko.conf. Since this is a "I know what I'm doing" type
of feature, it's disabled by default and can only be enabled with an
hidden setting `run_without_secure_secrets_service=true`.
Fixes issue #705 .
[1]: https://freedesktop.org/wiki/Specifications/secret-storage-spec
3 years ago
Nicolas Werner
0897e4c062
Fix inclusion condition for overriden pack types
3 years ago
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~
3 years ago
MTRNord
049613211a
Apply (selective) Clang-tidy const function and new const pointer suggestions on TimelineModel
3 years ago
MTRNord
a872bdf8c5
Apply (selective) Clang-tidy move and some new detected const pointer suggestions on TimelineModel
3 years ago
MTRNord
02fcd0e7cf
Apply (selective) Clang-tidy and clazy suggestions on TimelineModel
3 years ago
Nicolas Werner
eb1e54c8df
Make edits replace the previous notification on Linux
3 years ago
Nicolas Werner
1ea9dc469b
Use global threadpool
3 years ago
Nicolas Werner
8edc46dc16
Cleanup jdenticon code in the same way as blurhashes
3 years ago
Nicolas Werner
04cccb8283
Cleanup blurhash formatting
3 years ago
Nicolas Werner
d424145ee4
Modernize blurhashprovider implementation
...
Might fix #844
See
https://code.qt.io/cgit/qt/qtdeclarative.git/commit/examples/quick/imageresponseprovider/imageresponseprovider.cpp?h=5.15&id=b1f238568214e6587b829d6695677e55a99b1d40
for context.
3 years ago
Nicolas Werner
6be752e163
Set the app_id on wayland
3 years ago
Nicolas Werner
9b25ef3c0d
Set notification category
3 years ago
Nicolas Werner
c03e4c1261
Make Nheko show up in system notification settings on Linux
...
relates to #845
3 years ago
Nicolas Werner
09aded2bc8
Fix crash when receiving matrix uri
...
It seems like handling the message in a blocking manner is a no-go. I
have no idea how to fix that, so just use a queued connection for now...
(ASAN does not cooperate and just hides the crash D:)
fixes #842
3 years ago
Nicolas Werner
6d69248109
Strip space chars from recovery passphrase
3 years ago
Joseph Donofry
cce5d0534f
Use icns on macOS
3 years ago