<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~irc/github.com/kvirc/KVIrc.git/src/modules/logview/LogViewWidget.h, branch master</title>
<subtitle>https://github.com/kvirc/KVIrc.git</subtitle>
<id>https://cgit.space/~irc/github.com/kvirc/KVIrc.git/atom/src/modules/logview/LogViewWidget.h?h=master</id>
<link rel='self' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/atom/src/modules/logview/LogViewWidget.h?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/'/>
<updated>2023-08-05T08:39:01Z</updated>
<entry>
<title>Batch export logs (#2485)</title>
<updated>2023-08-05T08:39:01Z</updated>
<author>
<name>Chris MacLeod</name>
</author>
<published>2023-08-05T08:39:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=2b021749ce4dc3ec8e160a5800e323f7a45047db'/>
<id>urn:sha1:2b021749ce4dc3ec8e160a5800e323f7a45047db</id>
<content type='text'>
* 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 &lt;ctrlaltca@gmail.com&gt;</content>
</entry>
<entry>
<title>Apply clang-format</title>
<updated>2016-04-29T22:57:48Z</updated>
<author>
<name>Alexey Sokolov</name>
</author>
<published>2016-04-29T22:57:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=690dd7a33ddc90678367d73adf313533536e10f2'/>
<id>urn:sha1:690dd7a33ddc90678367d73adf313533536e10f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>copyright headers: fix broken boilerplate wording linkss -&gt; terms and opinion -&gt; option</title>
<updated>2015-11-28T00:27:43Z</updated>
<author>
<name>un1versal</name>
</author>
<published>2015-11-28T00:12:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=973649f82e5543a84f71b384a3f1bc9741007874'/>
<id>urn:sha1:973649f82e5543a84f71b384a3f1bc9741007874</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Copyright Headers: Cosmetic typos irc -&gt; IRC</title>
<updated>2015-10-28T09:30:35Z</updated>
<author>
<name>un1versal</name>
</author>
<published>2015-10-28T09:29:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=2f8e7f483ad14b55d7e71be19e87de1f52de4930'/>
<id>urn:sha1:2f8e7f483ad14b55d7e71be19e87de1f52de4930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>more work on $log.export (wip)</title>
<updated>2011-04-21T20:55:11Z</updated>
<author>
<name>Elvio Basello</name>
</author>
<published>2011-04-21T20:55:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=06d84e592a226a7df83be55ad7150ff31d92d6bc'/>
<id>urn:sha1:06d84e592a226a7df83be55ad7150ff31d92d6bc</id>
<content type='text'>
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5797 17fca916-40b9-46aa-a4ea-0a15b648b75c
</content>
</entry>
<entry>
<title>more work on #934: added export to html (wip) and improved the whole stuff</title>
<updated>2011-04-07T23:32:38Z</updated>
<author>
<name>Elvio Basello</name>
</author>
<published>2011-04-07T23:32:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=a4039773e2454d5205ec373ce4ce20264a992086'/>
<id>urn:sha1:a4039773e2454d5205ec373ce4ce20264a992086</id>
<content type='text'>
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5765 17fca916-40b9-46aa-a4ea-0a15b648b75c
</content>
</entry>
<entry>
<title>initial implementation of #934: added the ability to export the log to plain text.</title>
<updated>2011-04-07T20:09:02Z</updated>
<author>
<name>Elvio Basello</name>
</author>
<published>2011-04-07T20:09:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=184e489744f0232e6a240fcb33c21ac852ed4e35'/>
<id>urn:sha1:184e489744f0232e6a240fcb33c21ac852ed4e35</id>
<content type='text'>
this is still a wip


git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5762 17fca916-40b9-46aa-a4ea-0a15b648b75c
</content>
</entry>
<entry>
<title>splitted log translations from kvirc to its own translation file, merging it with logview;</title>
<updated>2011-04-04T19:10:17Z</updated>
<author>
<name>Elvio Basello</name>
</author>
<published>2011-04-04T19:10:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=2be3bcf84475b6867a32071de33bb66375f61471'/>
<id>urn:sha1:2be3bcf84475b6867a32071de33bb66375f61471</id>
<content type='text'>
improved hungarian notation


git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5751 17fca916-40b9-46aa-a4ea-0a15b648b75c
</content>
</entry>
<entry>
<title>The big rename for modules. Still some details remaining.</title>
<updated>2011-01-01T20:19:56Z</updated>
<author>
<name>Szymon Tomasz Stefanek</name>
</author>
<published>2011-01-01T20:19:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=c601b5a27f74b16158adafe429faefbe573e64a2'/>
<id>urn:sha1:c601b5a27f74b16158adafe429faefbe573e64a2</id>
<content type='text'>
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c
</content>
</entry>
</feed>
