Commit graph

77 commits

Author SHA1 Message Date
Nicolas Werner
fab7805610
Relayout when event delegates change implicit size 2023-10-18 21:37:24 +02:00
Nicolas Werner
4fa2a6e9aa
Fix qml translations 2023-07-13 01:10:55 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
8485e7ae81
Workaround palette not set on new windows 2023-06-08 22:32:14 +02:00
Nicolas Werner
93a9fca475
Try to fix flatpak build and change appid 2023-06-08 22:32:10 +02:00
Nicolas Werner
de8522a185
lint 2023-06-08 22:32:08 +02:00
Nicolas Werner
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
Nicolas Werner
0839c64150
Disable qml diskcache by default
Since this causes crashes on some qml module updates.

Fixes #1383
Fixes #1132
2023-02-25 01:47:38 +01:00
Klemens Nanni
dc1fb1b454
Honour Qt scaling factor on OpenBSD
Instead of completing the list of Linux, Windows and the BSDs (NetBSD and
DragonFly would still be missing), simply flip it to not-macOS to simplify
and fix the two other aforementioned BSDs at once.
2023-02-23 09:14:31 +04: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
ShootingStarDragons
0e2cc65548 chore: Adjust about function closeAllNotification
Log: maek closeAllNotification on all platform, move
closeAllNotification action to aboutToQuit
2023-02-01 09:58:46 +08:00
Nicolas Werner
7f9af9016d
Fix a few minor leaks (or just memory showing up as not freed in tools) 2023-01-22 05:02:10 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joe Donofry
07e8f64903 Add ability to respond to notifications on macOS 2022-11-04 16:42:09 +00:00
Nicolas Werner
b28fa86e6a
Enable -Wconversion 2022-10-26 01:10:35 +02:00
Loren Burkholder
df834ffc48 Various grammar fixes (mostly removing commas) 2022-09-30 00:23:39 -04:00
Nicolas Werner
851333a50d
Switch to clang-format14 2022-09-25 20:05:08 +02:00
Forest
80f7683a57 Control logging via command line and environment variables
Nheko is very chatty in its log output, generating log noise (which
complicates diagnostics) and needless disk writes (which affect power
consumption and SSD life).  This patch introduces command line options
and environment variables to control log levels and output type.

The old --debug command line option still works, at least for now.
It is overridden by the new command line options when they are used.

Partially addresses #665.
2022-09-10 18:28:44 -07:00
Nicolas Werner
90da39313f
Use right linter 2022-05-10 03:53:35 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Nicolas Werner
dfb8f9a160
Fix application name on Wayland in flatpak
fixes #903
2022-02-09 23:46:49 +01:00
Nicolas Werner
1d6d9e65af
Store window size on exit again 2022-01-29 18:10:42 +01:00
Nicolas Werner
b106eafb0e
Initial qml root window 2022-01-26 21:44:13 +01:00
Joe Donofry
9033235e9d Gstreamer glib event loop for macos and windows
- This ensures that gstreamer bus operations work
on macOS and windows, such as enumerating devices.
2022-01-02 21:15:10 +00:00
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
5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Nicolas Werner
6be752e163
Set the app_id on wayland 2021-12-19 22:54:50 +01:00
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
2021-12-17 05:58:09 +01:00
Joseph Donofry
cce5d0534f
Use icns on macOS 2021-12-14 17:05:48 -05:00
Nicolas Werner
bd020bb473
If the locale is set to C, force english locale
This fixes date formatting as well as count based translations.
2021-11-27 03:16:53 +01:00
Nicolas Werner
410ec00848
Fix crash in debug code for matrix uri handler
fixes #776
fixes #590
2021-11-04 23:10:03 +01:00
Thulinma
6941c3d3d7 Fix --help and --version command line options when Nheko is already running. Also adds an info message when it sends a URI to another instance 2021-09-28 00:45:00 +02:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02:00
Nicolas Werner
47c7c4c777
cleanup QSettings usage a bit 2021-08-29 16:32:28 +02:00
Joe
82088fa0d7 Fix cmake template define issue 2021-07-07 09:48:13 -04:00
Joe
478c3b3e0b Fix Backtrace define error for Windows 2021-07-07 00:26:20 -04:00
Nicolas Werner
66e69d7f2b
Ignore return value of write() in signal handler 2021-06-30 15:48:54 +02:00
Nicolas Werner
9f7064676c
Get rid of boost dependency for stacktraces 2021-06-30 15:01:41 +02:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
50f994bd23 Clean up config names a bit 2021-02-09 16:26:38 +01:00
Nicolas Werner
7874d61c33 Fix scheme handler not passing arguments 2021-02-04 01:02:38 +01:00
rnhmjoj
0e628290af
Write database to the DataLocation 2021-01-24 00:40:19 +01:00
Nicolas Werner
74c9af0432 Fix presence unknown type warning 2021-01-19 03:16:59 +01:00
Nicolas Werner
0567f669c2 Don't start in tray, if only minimize to tray is enabled
fixes #375
2021-01-14 13:56:22 +01:00
Nicolas Werner
39f9b7d90a Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
2021-01-10 22:41:56 +01:00
Nicolas Werner
391b1b3285 Fix #359
Actually store the login details under the selected profile
2020-12-27 22:56:54 +01:00
LorenDB
53f45bdb1c Switch profile code to a more flexible method
This introduces a new version of SingleApplication as well.
2020-12-24 21:16:46 -05:00
Loren Burkholder
de858ca80c Use system icon where applicable 2020-12-03 17:27:33 -05:00