aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogFile.h
Commit message (Collapse)AuthorAgeFilesLines
* Batch export logs (#2485)Gravatar Chris MacLeod2023-08-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove C-style typedef structsGravatar IceN9ne2018-11-281-3/+2
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-17/+21
|
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-281-1/+1
| | | | opinion -> option
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-281-1/+1
|
* - massive trailing whitespace cleanup (yes, one of these "you can hate me ↵Gravatar Robert Förster2014-11-211-2/+2
| | | | | | | | | for that" commits) - 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
* some warning fixes for sunpro, and a compile fix, sunpro is still dumb and ↵Gravatar Robert Förster2013-03-261-4/+4
| | | | | | broken but its a start git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6322 17fca916-40b9-46aa-a4ea-0a15b648b75c
* finished workin' on $log.export;Gravatar Elvio Basello2011-04-211-1/+1
| | | | | | | fixed typos git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5801 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Add a filename parameter to the log structureGravatar Szymon Tomasz Stefanek2011-04-211-0/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5800 17fca916-40b9-46aa-a4ea-0a15b648b75c
* quick fixGravatar Elvio Basello2011-04-211-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5798 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work on $log.export (wip)Gravatar Elvio Basello2011-04-211-1/+12
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5797 17fca916-40b9-46aa-a4ea-0a15b648b75c
* added initial implementation of $log.export() (wip);Gravatar Elvio Basello2011-04-141-0/+134
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