<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~irc/github.com/kvirc/KVIrc.git/src/modules/logview/LogViewWindow.cpp, 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/LogViewWindow.cpp?h=master</id>
<link rel='self' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/atom/src/modules/logview/LogViewWindow.cpp?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/'/>
<updated>2023-10-18T08:26:35Z</updated>
<entry>
<title>Migrate almost all QMessagebox to qt6-friendly version.</title>
<updated>2023-10-18T08:26:35Z</updated>
<author>
<name>Fabio Bas</name>
</author>
<published>2023-10-10T15:58:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=9052018b53ece6c073b57c89665ae693a3f0fb97'/>
<id>urn:sha1:9052018b53ece6c073b57c89665ae693a3f0fb97</id>
<content type='text'>
</content>
</entry>
<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>add export for all logs (channel, etc.)</title>
<updated>2019-09-07T15:55:36Z</updated>
<author>
<name>Alex P</name>
</author>
<published>2017-03-15T13:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=86747b0888c8ad59c0a4c12b91c1099df52a1cb2'/>
<id>urn:sha1:86747b0888c8ad59c0a4c12b91c1099df52a1cb2</id>
<content type='text'>
this line was always commented (since initial impl in 184e489)
but this feature seems to be working fine</content>
</entry>
<entry>
<title>Apply all modernize-* fixes from clang-tidy except for modernize-use-auto</title>
<updated>2018-11-14T13:59:22Z</updated>
<author>
<name>Alexey Sokolov</name>
</author>
<published>2018-06-09T23:16:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=e4a34cb9b7d59a08a162d642fbbca8c08804b3ff'/>
<id>urn:sha1:e4a34cb9b7d59a08a162d642fbbca8c08804b3ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Log Viewer search returning no hits after repeated searches</title>
<updated>2017-06-22T18:49:45Z</updated>
<author>
<name>OmegaPhil</name>
</author>
<published>2017-06-22T18:49:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=af111d37e00dbebdde8f4bec958587a6c6caa462'/>
<id>urn:sha1:af111d37e00dbebdde8f4bec958587a6c6caa462</id>
<content type='text'>
Searches returning one result (e.g. one channel on one network),
when ran more than once in a row, end up with no search hits -
a variable that needed to be reset was missed.

Fixes #2233
</content>
</entry>
<entry>
<title>Apply clang-tidy: modernize-loop-convert</title>
<updated>2016-04-30T17:50:45Z</updated>
<author>
<name>Alexey Sokolov</name>
</author>
<published>2016-04-30T17:48:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=97ecdf6a1b7f95bc1b342b3eaf141cd460249680'/>
<id>urn:sha1:97ecdf6a1b7f95bc1b342b3eaf141cd460249680</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply clang-tidy: modernize-use-nullptr</title>
<updated>2016-04-30T17:50:44Z</updated>
<author>
<name>Alexey Sokolov</name>
</author>
<published>2016-04-30T17:23:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=505d0768f8392e3c4775425dd97f41e1c829ef44'/>
<id>urn:sha1:505d0768f8392e3c4775425dd97f41e1c829ef44</id>
<content type='text'>
</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>LogViewWindow: Fix possible crash</title>
<updated>2016-04-17T14:29:09Z</updated>
<author>
<name>staticfox</name>
</author>
<published>2016-04-17T14:29:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=84e4d85d7634e49d696e18629fe74d7004806df5'/>
<id>urn:sha1:84e4d85d7634e49d696e18629fe74d7004806df5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>LogViewWindow: append colons to labels</title>
<updated>2016-02-23T07:56:00Z</updated>
<author>
<name>un1versal</name>
</author>
<published>2016-02-23T07:48:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~irc/github.com/kvirc/KVIrc.git/commit/?id=b6df0231996ace462a4c920f5cb92bb3901042a4'/>
<id>urn:sha1:b6df0231996ace462a4c920f5cb92bb3901042a4</id>
<content type='text'>
</content>
</entry>
</feed>
