aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/libkvilogview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Batch export logs (#2485)Gravatar Chris MacLeod2023-08-051-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* logview module: Fix memory leak in logview exportGravatar IceN9ne2017-03-091-3/+3
|
* Apply clang-tidy: modernize-use-nullptrGravatar Alexey Sokolov2016-04-301-3/+3
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-19/+17
|
* cleanup: add or remove empty lines between documentation blocks & codeGravatar un1versal2016-03-141-0/+2
|
* 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
|
* Bye bye MDI. I have probably introduced few minor bugs that I haven't been ↵Gravatar Szymon Tomasz Stefanek2015-09-281-2/+0
| | | | able to spot yet. Please report. Closes #1630.
* Created KVICOREACTIONS for the old previously caps-based entries in the ↵Gravatar Fabio Bas2012-03-081-55/+6
| | | | | | 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
* - 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
* finished workin' on $log.export;Gravatar Elvio Basello2011-04-211-6/+0
| | | | | | | 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-2/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5800 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work on $log.export (wip)Gravatar Elvio Basello2011-04-211-3/+13
| | | | 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-4/+23
| | | | | | | | 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
* splitted log translations from kvirc to its own translation file, merging it ↵Gravatar Elvio Basello2011-04-041-22/+10
| | | | | | | | | with logview; improved hungarian notation git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5751 17fca916-40b9-46aa-a4ea-0a15b648b75c
* renamed a global pointer;Gravatar Elvio Basello2011-01-061-4/+4
| | | | | | | more work on KDE notifier; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5303 17fca916-40b9-46aa-a4ea-0a15b648b75c
* reworked icon stuffGravatar Elvio Basello2011-01-051-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5301 17fca916-40b9-46aa-a4ea-0a15b648b75c
* The big rename for modules. Still some details remaining.Gravatar Szymon Tomasz Stefanek2011-01-011-4/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renames, fix the spelling of KVIrc etc...Gravatar Szymon Tomasz Stefanek2010-12-291-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5254 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renaming and cleanupGravatar Szymon Tomasz Stefanek2010-12-271-4/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5237 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Beginning of 'the big rename & cleanup'. File names should match class ↵Gravatar Szymon Tomasz Stefanek2010-12-251-3/+3
| | | | | | names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations... git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
* final fix for #695, plus added missing po files for "python" and ↵Gravatar Fabio Bas2010-01-241-1/+2
| | | | | | "sharedfile" (notice to translators) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3877 17fca916-40b9-46aa-a4ea-0a15b648b75c
* updates FSF address, thanks to Kebianizao for noticingGravatar Markus Rennings2009-05-081-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3200 17fca916-40b9-46aa-a4ea-0a15b648b75c
* ensure that all the modules that creates a window using g_pFrame->addWindow ↵Gravatar Fabio Bas2009-02-171-1/+2
| | | | | | closes the window using g_pFrame->closeWindow (that is a public member by now); This removes some remaining problems regarding mdichilds git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3080 17fca916-40b9-46aa-a4ea-0a15b648b75c
* second round of misc compilation noise reductionGravatar Fabio Bas2008-11-081-3/+3
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2838 17fca916-40b9-46aa-a4ea-0a15b648b75c
* implemented #102;Gravatar Elvio Basello2008-10-021-1/+1
| | | | | | | | | | | splitted optw_irc; added doxygen comments; bumped sources date; update ChangeLog and TODO; fixes around; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2620 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fixed license template for modules from h to mGravatar Elvio Basello2008-09-181-1/+3
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2483 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more code cleanGravatar Elvio Basello2008-04-041-5/+2
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1388 17fca916-40b9-46aa-a4ea-0a15b648b75c
* some little fixes around;Gravatar Elvio Basello2008-03-041-2/+2
| | | | | | | | fixed docs; bumped version to 3.4.0 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1183 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More alternate port to Qt4: no longer relying on Qt collection classesGravatar Szymon Tomasz Stefanek2008-01-151-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1085 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More Qt 4.x portGravatar Szymon Tomasz Stefanek2007-01-191-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@195 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Switching from cvs to svn, initial importGravatar Szymon Tomasz Stefanek2006-12-181-0/+170
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@14 17fca916-40b9-46aa-a4ea-0a15b648b75c