Chocobo1
|
af78344e5d
|
Use coarse timestamp format
Since format in milliseconds doesn't add additional value and is
slower than just seconds.
|
2022-06-18 17:14:42 +08:00 |
|
Chocobo1
|
61adfea196
|
Fix garbage text appeared in log file
Fix up fed969ed64 .
|
2022-06-18 04:18:27 +08:00 |
|
Chocobo1
|
fed969ed64
|
Avoid string encoding conversion
Use UTF-16 string literals to match QTextStream internal buffer
encoding.
|
2022-06-09 12:24:31 +08:00 |
|
Chocobo1
|
c6b772da11
|
Improve function interface
`SettingsStorage` methods require `QString` so make `SettingValue` follow it.
`Path::operator+` can use `QStringView` to accept wider audience.
|
2022-03-26 12:41:02 +08:00 |
|
Chocobo1
|
f0dd7b7dae
|
Use QString literals
This patch covers src/app and src/base folders.
Follow up of ab64ee872b .
|
2022-03-11 00:11:30 +08:00 |
|
Chocobo1
|
ab64ee872b
|
Use QString literals
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually.
PR #16561.
|
2022-03-04 13:25:22 +08:00 |
|
Vladimir Golovnev
|
dd1bd8ad10
|
Implement class for handling filesystem paths
PR #15915.
|
2022-02-08 06:03:48 +03:00 |
|
Chocobo1
|
21f72baae2
|
Use QSaveFile wherever applicable
expected.hpp was fetched from:
b803e3c07b/include/nonstd/expected.hpp
|
2021-09-15 21:54:44 +08:00 |
|
Vladimir Golovnev (Glassez)
|
561fbf2cca
|
Don't use removed QTextStream::setCodec()
QTextStream encodes as UTF-8 by default.
|
2021-03-27 19:25:32 +03:00 |
|
Chocobo1
|
498da509db
|
Use Qt provided forward declaration header
|
2020-12-09 18:21:02 +08:00 |
|
Vladimir Golovnev (Glassez)
|
c41df9ffbd
|
Improve coding style
|
2020-11-17 21:02:37 +03:00 |
|
Chocobo1
|
c52737e07c
|
Avoid log file excessive flushing
Excessive flushing could happen when a lot of logging happens in a short
time interval.
|
2020-03-26 16:12:24 +08:00 |
|
Chocobo1
|
12396a7582
|
Save log file in UTF-8 encoding
Otherwise it uses sytem defaults: usually UTF-8 on Linux and local 8-bit
encoding on Windows.
|
2020-03-26 16:00:57 +08:00 |
|
Chocobo1
|
d179c6d5a1
|
Rename variable
|
2020-03-26 15:49:14 +08:00 |
|
Chocobo1
|
874bc84efc
|
Remove excessive usage of pointer
|
2019-03-15 14:29:06 +08:00 |
|
Chocobo1
|
a3019f56b0
|
Clean up code
|
2019-03-15 14:29:06 +08:00 |
|
thalieht
|
ca3ce87e06
|
Add const to many vars and arguments
Also remove const in declarations' arguments that are passed by value
|
2019-02-11 20:19:41 +02:00 |
|
thalieht
|
1f36b8b89f
|
Combine qAsConst() with copyAsConst() to asConst()
|
2018-11-28 23:41:23 +02:00 |
|
thalieht
|
6b1d26d555
|
Convert all foreach() to range-based for()
|
2018-11-28 23:40:12 +02:00 |
|
sledgehammer999
|
de8050701d
|
Revert email address changes in copyright notices
|
2018-07-10 00:37:44 +03:00 |
|
thalieht
|
356d6a6589
|
Fix coding style
|
2018-05-31 19:45:09 +03:00 |
|
sledgehammer999
|
7484889836
|
Fix deletion of old logs
|
2018-05-13 12:11:19 +03:00 |
|
thalieht
|
6b4455e13d
|
Use qt5 connect() syntax
|
2018-05-09 16:08:22 +03:00 |
|
Andrei Stepanov
|
817aadd52d
|
Fix typo in filelogger.cpp message
|
2018-02-27 02:00:43 +04:00 |
|
sledgehammer999
|
024df8c53f
|
Set default file log size to 65 KiB and delete backup logs older than 1 month.
|
2018-01-27 01:17:50 +02:00 |
|
sledgehammer999
|
d721939d5f
|
Use SettingsStorage instead.
|
2016-03-26 01:50:13 +02:00 |
|
sledgehammer999
|
1058572c8a
|
Implement file logger.
|
2016-03-26 01:39:13 +02:00 |
|