aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal
Commit message (Collapse)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)Gravatar Reilly Brogan2024-07-121-0/+3
| | | | | 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.
* Make D-Bus adaptor actually useful and use it as an IPC backend (#2630)Gravatar ctrlaltca2024-04-102-1/+23
| | | | | | | | | | * 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
* Add support for sanitizers at compile time (and fix some issues) (#2599)Gravatar ctrlaltca2024-02-081-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 typo
* 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)Gravatar Chris MacLeod2023-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-087-116/+4
| | | | | | * Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
* 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 ↵Gravatar IceN9ne2018-11-287-11/+11
| | | | keyword.
* 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 cleanupsGravatar un1versal2016-06-1412-12/+1
| | | | | | + add copyright boilerplate to KviDebugContext.cpp probably more source files exist with no copyright boilerplate. this was a by chance find.
* 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.Gravatar wodim2016-04-073-8/+2
| | | | Now that we only support Qt 5 we will no longer need these.
* Make it so margins and spacings between the UI elements in all settings ↵Gravatar wodim2016-01-072-2/+11
| | | | dialogues are more consistent.
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-2828-28/+28
| | | | opinion -> option
* 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 ↵Gravatar Szymon Tomasz Stefanek2015-10-042-18/+53
| | | | more polishing
* 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.Gravatar Szymon Tomasz Stefanek2015-08-011-3/+20
| | | | Closes #1489
* KVIrc Script: Rename alignment 'WordBreak' to 'Justify'Gravatar OmegaPhil2014-11-041-1/+2
| | | | | | | | 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
* Some menubar fixes for osxGravatar Fabio Bas2012-11-141-0/+5
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6285 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Fix some headers for automoc-based compilationGravatar Szymon Tomasz Stefanek2012-09-291-0/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6259 17fca916-40b9-46aa-a4ea-0a15b648b75c
* qt5 support (sip): code only, no touch to build system by nowGravatar Fabio Bas2012-09-2512-42/+10
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6251 17fca916-40b9-46aa-a4ea-0a15b648b75c
* QApplication::commitData() is virtual, we're not supposed to call it.. ever; ↵Gravatar Fabio Bas2012-04-011-2/+0
| | | | | | fix #1268 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6119 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.Gravatar Fabio Bas2012-02-262-283/+0
| | | | | | | | 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-141-20/+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
* reworked toolbars and kviactions:Gravatar Fabio Bas2011-05-022-175/+0
| | | | | | | | | | - 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
* Add 16x16 and 48x48 icon sizesGravatar Szymon Tomasz Stefanek2011-04-164-48/+0
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5788 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix for #1089Gravatar Fabio Bas2011-02-102-5/+5
| | | | | | added cmake policy CMP00017, should workaround #1094 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5460 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renames, fix the spelling of KVIrc etc...Gravatar Szymon Tomasz Stefanek2010-12-2932-32/+32
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5254 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renaming & cleanup.Gravatar Szymon Tomasz Stefanek2010-12-2632-75/+75
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5233 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Beginning of 'the big rename & cleanup'. File names should match class ↵Gravatar Szymon Tomasz Stefanek2010-12-2517-19/+19
| | | | | | 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
* Applied the 'highlighting method' to nickname highlighting too. Reworked the ↵Gravatar Szymon Tomasz Stefanek2010-12-241-0/+8
| | | | | | highlighting options widget a bit. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5224 17fca916-40b9-46aa-a4ea-0a15b648b75c
* cleaned code: removed all instances of debugGravatar Elvio Basello2010-08-071-2/+2
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4805 17fca916-40b9-46aa-a4ea-0a15b648b75c