aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview
Commit message (Collapse)AuthorAgeFilesLines
* Migrate almost all QMessagebox to qt6-friendly version.Gravatar Fabio Bas2023-10-181-6/+4
|
* Changes that will need to be reworked.Gravatar Fabio Bas2023-10-181-1/+10
| | | | | QFont changed the weight scale in Qt6, in order to use them we'd need to fix all configuration files in all themes. QStreamConverter only supports Utf8/16/32 and Latin1 before Qt6.5. Stick to qt5compat's QTextCodec by now
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpressionGravatar Fabio Bas2023-10-182-1/+3
| | | | Method str_kvs_fnc_split() had to be replaced with the original version, since the newer one relied on Qt5's QStringRef
* Qt6 is stricter when casting numericals and chars. Add an explicit ↵Gravatar Fabio Bas2023-10-182-3/+3
| | | | | | cast/conversion to better digest them cast
* Qt6: QStringList is a typedef now, avoid forward declarationsGravatar Fabio Bas2023-10-181-1/+1
|
* Batch export logs (#2485)Gravatar Chris MacLeod2023-08-0510-309/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)Gravatar ctrlaltca2023-07-081-4/+5
| | | | | | * Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
* add export for all logs (channel, etc.)Gravatar Alex P2019-09-071-1/+2
| | | | this line was always commented (since initial impl in 184e489) but this feature seems to be working fine
* Remove C-style typedef structsGravatar IceN9ne2018-11-281-3/+2
|
* Use override where possible and remove unnecessary usages of the virtual ↵Gravatar IceN9ne2018-11-281-6/+6
| | | | keyword.
* Apply all modernize-* fixes from clang-tidy except for modernize-use-autoGravatar Alexey Sokolov2018-11-141-2/+2
|
* Fix Coverity complaints about uninitialized member variablesGravatar IceN9ne2018-04-141-4/+3
|
* Fix Log Viewer search returning no hits after repeated searchesGravatar OmegaPhil2017-06-221-0/+3
| | | | | | | | 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
* logview module: Fix memory leak in logview exportGravatar IceN9ne2017-03-092-4/+4
|
* Apply clang-tidy: modernize-loop-convertGravatar Alexey Sokolov2016-04-301-8/+8
|
* Apply clang-tidy: modernize-use-nullptrGravatar Alexey Sokolov2016-04-303-12/+12
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-297-241/+269
|
* LogViewWindow: Fix possible crashGravatar staticfox2016-04-171-3/+4
|
* cleanup: add or remove empty lines between documentation blocks & codeGravatar un1versal2016-03-141-0/+2
|
* LogViewWindow: append colons to labelsGravatar un1versal2016-02-231-3/+3
|
* Floppy icon rename to -> Save and fix assignmentsGravatar un1versal2016-01-081-1/+1
|
* log export: Capitalization of menu option labelsGravatar un1versal2016-01-051-4/+4
|
* various files: typos/consistency and capitalization see notes below.Gravatar un1versal2015-12-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://techbase.kde.org/Projects/Usability/HIG/Capitalization This was just done last minute over some notes I had made during earlier similar fixes. * dont capitalize prepositions/conjunctions with less than 5 letters + fix wrong plural. * freenode is all lowercase instance only. * tooltips are not Camel Case capitalization style either. * some centered text on a dialog when all the etxt is left aligned looks off, tootips we can give a pass to. * Tree items are Camel Case * Typos in Unknow channel modes * more tooltips in the Channel Mode/Ban Masks/Invite but flawed design on these The tooltips text doubles up as title one isnt capitalized and the other is... So now none are in this area only since unlike toolbars thers no test display here and its passable. Alternative is to fix these dialogs and toolbars and tbh I cant do it. * cannot vs can't : these are consistency fixes for strings and debug messages only. * about dialog group titles "Runtime Info" "Build Info" are Camel Cased as per capitalization guidelines, but label are like all other labels. s spaces tyyt
* LogViewWindow: capitalization of dialog header textGravatar un1versal2015-12-051-2/+2
|
* LogFile: consistency fixes.Gravatar un1versal2015-12-051-1/+1
|
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-287-7/+7
| | | | opinion -> option
* Fix button label capitalizationGravatar un1versal2015-11-041-1/+1
|
* Fix icon assignments cut != remove help != otherGravatar un1versal2015-11-041-1/+1
|
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-287-7/+7
|
* Clean up trailing whitespaces and excess newlinesGravatar Matt Ullman2015-10-183-4/+0
| | | | | Oh how I can already hear the sound of angry villagers with pitchforks running over to my desk
* Update all applicable Subversion references to GitGravatar Matt Ullman2015-10-041-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.
* Fix icon assignments in in Editor actions menusGravatar universal2015-09-111-3/+3
|
* File dialogs seem to always require a parent. Without it Qt5 enters in a ↵Gravatar Szymon Tomasz Stefanek2015-08-251-1/+9
| | | | kind of modal loop that prevents user from interacting with the whole application.
* For exporting logs, read from the LogFile object to cope with optional ↵Gravatar OmegaPhil2014-12-031-38/+33
| | | | | | compression, minor regex fix git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6401 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Allow user to export logs to a custom directory, save directory path for ↵Gravatar OmegaPhil2014-12-022-15/+30
| | | | | | 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-222-9/+27
| | | | | | | | 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
* - massive trailing whitespace cleanup (yes, one of these "you can hate me ↵Gravatar Robert Förster2014-11-213-5/+5
| | | | | | | | | 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
* convert cmake files to lowercase statements prehistoric cmake versions ↵Gravatar Robert Förster2012-10-041-3/+3
| | | | | | required uppercase, but lowercase is now preferred so change it (yeah feel free to hate me for this commit ) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6267 17fca916-40b9-46aa-a4ea-0a15b648b75c
* qt5 support: cmake build system updateGravatar Fabio Bas2012-09-281-7/+0
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6257 17fca916-40b9-46aa-a4ea-0a15b648b75c
* qt5 support (sip): code only, no touch to build system by nowGravatar Fabio Bas2012-09-252-6/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6251 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Created KVICOREACTIONS for the old previously caps-based entries in the ↵Gravatar Fabio Bas2012-03-086-75/+10
| | | | | | 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
* fix compilation, thanks minde for noticing (CtrlAltCa <3)Gravatar wodim2012-02-271-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6073 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.Gravatar Fabio Bas2012-02-262-12/+12
| | | | | | | | 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
* admin: obliterate convert files and svn_fixsvnignore.sh, people should use ↵Gravatar Robert Förster2012-01-142-19/+0
| | | | | | | | proper SVN Props instead sprinkle around some svn:ignore, svn:eol-style and svn:mime-type stuff, also remove mime-type property which does not exist, it should be svn:mime-type instead git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6052 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix for a crash in log viewwer related to #1139; thanks TheRipperGravatar Fabio Bas2012-01-011-0/+2
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6012 17fca916-40b9-46aa-a4ea-0a15b648b75c
* - Happy new year!Gravatar Fabio Bas2012-01-013-5/+5
| | | | | | | | | | | | - 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
* fixed parsing the date of some log files (#1188) + updated deprecated ↵Gravatar Fabio Bas2011-08-211-2/+32
| | | | | | Qt::SystemLocaleDate git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5937 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix for #1188 (make the logviewer able to load different date types)Gravatar Fabio Bas2011-08-131-4/+29
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5927 17fca916-40b9-46aa-a4ea-0a15b648b75c