Commit Graph

28 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 1b89d0a4f0 Logger messages (#818)
* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
2021-07-02 10:22:00 +02:00
Veronica Berglyd Olsen 0575f89ae9 Remove alignments in arguments for format statements 2021-06-25 23:20:15 +02:00
Veronica Berglyd Olsen edfd7c9770 Remove encoding line and add spaces between classes and functions 2021-06-25 20:53:33 +02:00
Veronica K. B. Olsen d315f37c88 Remove translations of standard buttons and switch to native file dialogs 2021-02-19 16:38:56 +01:00
Bruno Kühnen Meneguello 98e3343808 novelWriter i18n and portuguese translation 2021-02-14 17:16:43 -03:00
Veronica K. B. Olsen 89ba4aeeaf Use the logException function in all places where exception messages are written to the error log 2021-01-29 18:29:50 +01:00
Veronica K. B. Olsen 4e7888259f Add logging wrapper for exceptions 2021-01-29 13:17:31 +01:00
Veronica K. B. Olsen cdf3c62d17 Reformat and update the source file header docstrings 2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen cdeee65505 Also remove the gui blocking from the error handler 2020-12-06 13:21:47 +01:00
Veronica K. B. Olsen 33c2dda471 Cleaned up error tests and removed testmode from error handler 2020-12-06 13:01:49 +01:00
Veronica K. B. Olsen 50cc135dde Fixed lots of top-of-file docstrings that were out of date 2020-10-17 23:46:54 +02:00
Veronica K. B. Olsen fc096ddb0b Significant improvements to dialog tests 2020-09-28 18:17:14 +02:00
Veronica K. B. Olsen 67f8a36272 Change copyright year to year-range 2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen 9a9cfe1ce5 Rename showGUI variable to blockGUI and added some comments in Config class 2020-09-22 21:37:00 +02:00
Veronica K. B. Olsen 17173f65d3 Also added basic check of exceptinHandler 2020-09-19 17:38:25 +02:00
Veronica K. B. Olsen a87f5bab7f Working error test, but cannot properly test exception handler 2020-09-19 16:09:05 +02:00
Veronica K. B. Olsen d978900590 Split gui tests and dialog tests into separate source files 2020-09-19 13:15:05 +02:00
Veronica K. B. Olsen 365e2676fb Add test for the main error handler 2020-09-19 13:06:58 +02:00
Veronica K. B. Olsen 4c91c08b22 More appropriate logging entries for final error shutdown 2020-08-17 20:46:58 +02:00
Veronica K. B. Olsen 0e0032e020 Some minor cleanup of the code 2020-08-17 20:39:39 +02:00
Veronica K. B. Olsen 35ed4a1c8d Created a new error handler and dialog class 2020-08-17 20:32:52 +02:00
Veronica K. B. Olsen 287e083b0a QSysInfo.kernelversion doesn't exist in older versions of Qt 2020-08-15 20:49:35 +02:00
Veronica K. B. Olsen 56b2cbee10 Code cleanup and added comments 2020-08-08 21:54:32 +02:00
Veronica K. B. Olsen a9b6e00ba7 Cleanup of unused imports 2020-08-08 20:55:45 +02:00
Veronica K. B. Olsen d3ab1caf3a Block the error handler dialog in test mode 2020-08-02 15:14:46 +02:00
Veronica K. B. Olsen 46c9f0fb5f Added more infor to the error dialog 2020-08-02 15:03:17 +02:00
Veronica K. B. Olsen e5cdb2e8ca Added error.py file for error handling functions 2020-08-02 14:34:09 +02:00