Loren Burkholder
df834ffc48
Various grammar fixes (mostly removing commas)
2 years ago
Nicolas Werner
851333a50d
Switch to clang-format14
2 years ago
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 .
2 years ago
Nicolas Werner
90da39313f
Use right linter
3 years ago
Nicolas Werner
a6b2be112b
More image dialog fixes
3 years ago
Nicolas Werner
dfb8f9a160
Fix application name on Wayland in flatpak
...
fixes #903
3 years ago
Nicolas Werner
1d6d9e65af
Store window size on exit again
3 years ago
Nicolas Werner
b106eafb0e
Initial qml root window
3 years ago
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.
3 years ago
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job
3 years ago
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling
3 years ago
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral
3 years ago
Nicolas Werner
5ca98829f7
Some qt6 prep
3 years ago
Nicolas Werner
6be752e163
Set the app_id on wayland
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
Joseph Donofry
cce5d0534f
Use icns on macOS
3 years ago
Nicolas Werner
bd020bb473
If the locale is set to C, force english locale
...
This fixes date formatting as well as count based translations.
3 years ago
Nicolas Werner
410ec00848
Fix crash in debug code for matrix uri handler
...
fixes #776
fixes #590
3 years ago
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
3 years ago
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces
3 years ago
Nicolas Werner
47c7c4c777
cleanup QSettings usage a bit
3 years ago
Loren Burkholder
a9ed83a1ce
Remove size_t property stuff
3 years ago
Loren Burkholder
77a0c574bf
QML the room member list
3 years ago
Joe
82088fa0d7
Fix cmake template define issue
3 years ago
Joe
478c3b3e0b
Fix Backtrace define error for Windows
3 years ago
Nicolas Werner
66e69d7f2b
Ignore return value of write() in signal handler
3 years ago
Nicolas Werner
9f7064676c
Get rid of boost dependency for stacktraces
3 years ago
Nicolas Werner
a6f0d2ea7d
Update license headers
4 years ago
Nicolas Werner
50f994bd23
Clean up config names a bit
4 years ago
Nicolas Werner
7874d61c33
Fix scheme handler not passing arguments
4 years ago
rnhmjoj
0e628290af
Write database to the DataLocation
4 years ago
Nicolas Werner
74c9af0432
Fix presence unknown type warning
4 years ago
Nicolas Werner
0567f669c2
Don't start in tray, if only minimize to tray is enabled
...
fixes #375
4 years ago
Nicolas Werner
39f9b7d90a
Handle matrix scheme
...
Link opening only works on Linux for now.
See https://github.com/matrix-org/matrix-doc/pull/2312
4 years ago
Nicolas Werner
391b1b3285
Fix #359
...
Actually store the login details under the selected profile
4 years ago
LorenDB
53f45bdb1c
Switch profile code to a more flexible method
...
This introduces a new version of SingleApplication as well.
4 years ago
Loren Burkholder
de858ca80c
Use system icon where applicable
4 years ago
Nicolas Werner
12fff7408e
Optimize build
4 years ago
LorenDB
a2bd266c11
Add option for unique config
4 years ago
Nicolas Werner
da2f80df60
Fix translation loading
...
Explanation see here:
https://www.kdab.com/fixing-a-common-antipattern-when-loading-translations-in-qt/
4 years ago
Nicolas Werner
150c9b1dbc
Fix scale factor setting
5 years ago
Nicolas Werner
db93e6b853
Fix warning about not registered Presence type
5 years ago
Nicolas Werner
576269c9e5
Prevent timeline being black on some platforms
5 years ago
Nicolas Werner
dd1dca3751
Add --debug switch
5 years ago
Nicolas Werner
e96241265e
Use third_party singleapplication helper
...
This may still not raise the application correctly on some WMs, because
they don't allow disturbing the user with windows popping up. I don't
think we want to work around that.
fixes #84
fixes #113
5 years ago
Nicolas Werner
8c5e4db42c
Remove embedded fonts
5 years ago
Nicolas Werner
3bbd034781
Fix transitive dependencies on iostream
5 years ago
Nicolas Werner
ceb6f85ccb
Actually include header that provides std::signal instead of signal
5 years ago
Nicolas Werner
7d6a015f36
Add qml debugging option
5 years ago
Nicolas Werner
512db8c6ff
Actually set attributes before starting the app
...
fixes "Attribute Qt::AA_EnableHighDpiScaling must be set before
QCoreApplication is created."
5 years ago