aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogFile.cpp
Commit message (Expand)AuthorAgeFilesLines
* Changes that will need to be reworked.•••QFont changed the weight scale in Qt6, in order to use them we'd need to fix all configuration files in all themes. QStreamConverter only supports Utf8/16/32 and Latin1 before Qt6.5. Stick to qt5compat's QTextCodec by now Gravatar Fabio Bas2023-10-181-1/+10
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpression•••Method str_kvs_fnc_split() had to be replaced with the original version, since the newer one relied on Qt5's QStringRef Gravatar Fabio Bas2023-10-181-1/+2
* Qt6 is stricter when casting numericals and chars. Add an explicit cast/conve...•••cast Gravatar Fabio Bas2023-10-181-1/+1
* Batch export logs (#2485)•••* Implement most basic functional batch export For the future: * The loop still needs to be made asynchronous so the process doesn't hang. * Ideally, there should be some sort of progress window. * There is redundant code that should be reduced. * Make batch export asynchronous Reminder: The comment about overwrite protection no longer applies Todo: Progress dialog * Avoid possible dangling pointer, improve type safety and const correctness in the process In reality, the log exporting code has no reason to be in the GUI class to begin with. `exportLog` makes sense as a Qt slot, but `createLog` should be a member function of the `LogFile` class and operate on `this` rather than a `LogFile` argument. A future commit should amend this, but for now I will avoid changing anything unnecessary until a working progress dialog is in place and I have tested the finished feature thoroughly. * Add progress dialog * Make LogViewWindow::createLog a member function of LogFile * Reduce memory usage by sharing `LogFile`s with the GUI thread * Correct progress dialog modality * Collect log files directly instead of reiterating through view items later Also adds a little documentation * Fix batch export for paths with reserved characters * avoid sigsegv * fix tags removal before nickname in html export * Fix directory selection and output path for icons in html export --------- Co-authored-by: ctrlaltca <ctrlaltca@gmail.com>Gravatar Chris MacLeod2023-08-051-1/+248
* Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)•••* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>Gravatar ctrlaltca2023-07-081-4/+5
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-17/+26
* LogFile: consistency fixes.Gravatar un1versal2015-12-051-1/+1
* copyright headers: fix broken boilerplate wording linkss -> terms and opinion...Gravatar un1versal2015-11-281-1/+1
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-281-1/+1
* - massive trailing whitespace cleanup (yes, one of these "you can hate me for...•••- apply patch by d00p: show the correct protocol version instead of just "SSLv3/TLSv1", thanks! - fix compilation on qt 5.4 on windows git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6398 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Robert Förster2014-11-211-1/+1
* fixed parsing the date of some log files (#1188) + updated deprecated Qt::Sys...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5937 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2011-08-211-2/+32
* fix for #1188 (make the logviewer able to load different date types)•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5927 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2011-08-131-4/+29
* added initial implementation of $log.export() (wip);•••splitted LogFile class in its own files; added control procedure to call logview functions from log module git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5785 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-141-0/+126