aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogViewWindow.h
Commit message (Collapse)AuthorAgeFilesLines
* Qt6: QStringList is a typedef now, avoid forward declarationsGravatar Fabio Bas2023-10-181-1/+1
|
* Batch export logs (#2485)Gravatar Chris MacLeod2023-08-051-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use override where possible and remove unnecessary usages of the virtual ↵Gravatar IceN9ne2018-11-281-6/+6
| | | | keyword.
* Fix Coverity complaints about uninitialized member variablesGravatar IceN9ne2018-04-141-4/+3
|
* logview module: Fix memory leak in logview exportGravatar IceN9ne2017-03-091-1/+1
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-26/+30
|
* 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
|
* Allow user to export logs to a custom directory, save directory path for ↵Gravatar OmegaPhil2014-12-021-0/+1
| | | | | | future use git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6400 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Work around Qt4 bug to actually export a logfile to the tempraryGravatar OmegaPhil2014-11-221-3/+4
| | | | | | | | directory Part of https://svn.kvirc.de/kvirc/ticket/934 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6399 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Created KVICOREACTIONS for the old previously caps-based entries in the ↵Gravatar Fabio Bas2012-03-081-2/+2
| | | | | | tools menu; added 2 dynamic submenus to the tools menu to stop 3rd part caps-based items and scripting actions items git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6089 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.Gravatar Fabio Bas2012-02-261-1/+1
| | | | | | | | This fixes most of the random crashes on osx, and is the base for a next change in the menubar. Addiotional fix: "disconnect" menu entry was broken since the 3.x era git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6072 17fca916-40b9-46aa-a4ea-0a15b648b75c
* - Happy new year!Gravatar Fabio Bas2012-01-011-1/+1
| | | | | | | | | | | | - Some parts of kvirc still refered to KviMainWindow as frame(), m_pFrm, etc.. => fixed - Some parts of kvirc were still coded as if more than one KviMainWindows could exists => fixed, this involved changing KviWindows's ctor and removing KviWindow::frame(), thus the big change - The trayicon module still called itself (and was called) dockextension, and was built to support more than one KviMainWindows => renamed and fixed - Modified KviWindow::hasAttention so that is can be used everywhere instead of mixing different ways to check if a notificationm should popup - should fix #1221 and hopefully introduce little to no bugs git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6010 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work on $log.export (wip)Gravatar Elvio Basello2011-04-211-6/+6
| | | | 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-98/+4
| | | | | | | | 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
* More internal filtering in html log exportGravatar Noldor2011-04-101-0/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5774 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work on #934: added export to html (wip) and improved the whole stuffGravatar Elvio Basello2011-04-071-2/+9
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5765 17fca916-40b9-46aa-a4ea-0a15b648b75c
* initial implementation of #934: added the ability to export the log to plain ↵Gravatar Elvio Basello2011-04-071-16/+43
| | | | | | | | | text. this is still a wip git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5762 17fca916-40b9-46aa-a4ea-0a15b648b75c
* splitted log translations from kvirc to its own translation file, merging it ↵Gravatar Elvio Basello2011-04-041-55/+95
| | | | | | | | | with logview; improved hungarian notation git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5751 17fca916-40b9-46aa-a4ea-0a15b648b75c
* gave the logviewer recursive directory scanning superpowers, to support the ↵Gravatar Fabio Bas2011-01-141-1/+1
| | | | | | new "dynamic log subdirectory" setting git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5362 17fca916-40b9-46aa-a4ea-0a15b648b75c
* The big rename for modules. Still some details remaining.Gravatar Szymon Tomasz Stefanek2011-01-011-0/+153
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c