aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal
Commit message (Expand)AuthorAgeFilesLines
* Revert part of #2661 to fix the mainwindow icon (#2665)Gravatar ctrlaltca2024-07-171-3/+0
* Force app_id to be set in more places (#2661)•••While testing the new version of kvirc I noticed that the setup window was using the `net.kvirc.kvirc` app_id. It seems my previous fix was incomplete since that window is started before the other window where we set the app_id. Fix it by adding it to the setup window as well, and also just add it to a bunch more locations so that the chances of it not being set elsewhere are lower.Gravatar Reilly Brogan2024-07-121-0/+3
* Make D-Bus adaptor actually useful and use it as an IPC backend (#2630)•••* Move KViDbusAdaptor from kvilib to kvirc (so that it can access the g_pApp object) and add a method to register itself * KviMain: register a dbus session even when kdelibs are enabled * KviTalMainWindow: when kdelibs are enabled, avoid KMainWindow to expose all of its signal/lots via dbus * Implement a simple IPC using d-bus Gravatar ctrlaltca2024-04-102-1/+23
* Add support for sanitizers at compile time (and fix some issues) (#2599)•••* Add an option to enable sanitizer at compile time * Fix singleton classes initialization * Revert r5378 - issue #1068 - to avoid having duplicate symbols exported by modules, that may cause a crash * Fix cast in KviTalIconAndRichTextItemDelegate (used by both QListWidget and QTreeWidget) * ScriptEditor: don't leak a timer for every script editor widget * Add support for memory and thread sanitizers * Fix sanitizer * KviSignalhandler: don't leak the whole object * Remove debug warning when a single message is longer than 512 bytes. As per https://ircv3.net/specs/extensions/message-tags.html#size-limit , message tags can prepend a whooping 8kbs of "tags" (header data) to each message. * Avoid initialization loop between KviLocale and KviMessageCatalogue. Assume all .po files are UTF8. This is already a requirement since about a decade. * KviInputEditor: don't leak the undo/redo stacks KviInputEditor: don't leak the undo/redo stacks - rework using smart pointers * Fix typoGravatar ctrlaltca2024-02-081-4/+3
* Drop QApplication::globalStrut() usage (unavailable on qt6)Gravatar Fabio Bas2023-10-181-8/+5
* Mass rename of margin -> contentsMarginsGravatar Fabio Bas2023-10-185-9/+9
* Batch export logs (#2485)•••* 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>Gravatar Chris MacLeod2023-08-051-0/+1
* Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)•••* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>Gravatar ctrlaltca2023-07-087-116/+4
* KviTalIconAndRichTextItemDelegate: Fix missing overrideGravatar IceN9ne2019-01-021-1/+1
* Convert 0s and NULLs to nullptrGravatar IceN9ne2018-12-036-10/+10
* Remove reliance Q_DISABLE_COPY macroGravatar IceN9ne2018-11-281-4/+2
* Use override where possible and remove unnecessary usages of the virtual keyw...Gravatar IceN9ne2018-11-287-11/+11
* Apply all modernize-* fixes from clang-tidy except for modernize-use-autoGravatar Alexey Sokolov2018-11-141-1/+1
* Remove usage of deprecated QStyle* typedefsGravatar IceN9ne2016-12-021-1/+1
* Cleanup included filesGravatar IceN9ne2016-10-289-13/+17
* separators and copyright headers cleanups•••+ add copyright boilerplate to KviDebugContext.cpp probably more source files exist with no copyright boilerplate. this was a by chance find. Gravatar un1versal2016-06-1412-12/+1
* cleanups: remove more dead code odd spacesGravatar un1versal2016-05-072-21/+2
* various: remove remaining <nobr>Gravatar un1versal2016-05-041-2/+2
* Apply clang-tidy: modernize-use-defaultGravatar Alexey Sokolov2016-04-3010-22/+11
* Apply clang-tidy: modernize-use-nullptrGravatar Alexey Sokolov2016-04-303-15/+15
* Apply clang-formatGravatar Alexey Sokolov2016-04-2926-375/+390
* general: Refactoring and cleanupsGravatar staticfox2016-04-171-2/+0
* Remove all ifdefs related to older versions of Qt.•••Now that we only support Qt 5 we will no longer need these. Gravatar wodim2016-04-073-8/+2
* Make it so margins and spacings between the UI elements in all settings dialo...Gravatar wodim2016-01-072-2/+11
* copyright headers: fix broken boilerplate wording linkss -> terms and opinion...Gravatar un1versal2015-11-2828-28/+28
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-2828-28/+28
* Fix build with KDE supportGravatar Alexey Sokolov2015-10-111-0/+2
* Hopefully fix another windows build errorGravatar Szymon Tomasz Stefanek2015-10-041-1/+3
* Make the theme images in the theme management dialog bigger. Maybe needs more...Gravatar Szymon Tomasz Stefanek2015-10-042-18/+53
* Fix (some of) the KviTalListWidget problems related to item resizeGravatar Szymon Tomasz Stefanek2015-10-034-5/+53
* Fix stray new line characterGravatar wodim2015-09-301-1/+1
* Fixes the minimum width bug for KviTalListWidget.Gravatar wodim2015-09-301-3/+3
* Fix modality of setup directory selection dialogGravatar Szymon Tomasz Stefanek2015-08-241-1/+0
* Add basic KDE5 support.Gravatar Szymon Tomasz Stefanek2015-08-248-49/+57
* Force the user to choose a nickname at first startup.•••Closes #1489 Gravatar Szymon Tomasz Stefanek2015-08-011-3/+20
* KVIrc Script: Rename alignment 'WordBreak' to 'Justify'•••Affects labels, hboxes and vboxes Fixes #1469 / https://svn.kvirc.de/kvirc/ticket/1469 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6393 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar OmegaPhil2014-11-041-1/+2
* Some menubar fixes for osx•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6285 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-11-141-0/+5
* Fix some headers for automoc-based compilation•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6259 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2012-09-291-0/+4
* qt5 support (sip): code only, no touch to build system by now•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6251 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-09-2512-42/+10
* QApplication::commitData() is virtual, we're not supposed to call it.. ever; ...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6119 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-04-011-2/+0
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.•••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 Gravatar Fabio Bas2012-02-262-283/+0
* admin: obliterate convert files and svn_fixsvnignore.sh, people should use pr...•••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 Gravatar Robert Förster2012-01-141-20/+0
* reworked toolbars and kviactions:•••- use qactions intead of qtoolbuttons + ids - drop ktoolbar, since it adds its own methods and context menu - add button style (text/icon/both/etc..) - default buttons icon size reverted to 22 :) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5813 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2011-05-022-175/+0
* Add 16x16 and 48x48 icon sizes•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5788 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2011-04-164-48/+0
* fix for #1089•••added cmake policy CMP00017, should workaround #1094 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5460 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2011-02-102-5/+5
* More renames, fix the spelling of KVIrc etc...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5254 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2010-12-2932-32/+32
* More renaming & cleanup.•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5233 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2010-12-2632-75/+75
* Beginning of 'the big rename & cleanup'. File names should match class names,...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2010-12-2517-19/+19
* Applied the 'highlighting method' to nickname highlighting too. Reworked the ...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5224 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2010-12-241-0/+8
* cleaned code: removed all instances of debug•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4805 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2010-08-071-2/+2