aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* Windows spellchecker: avoid crash on double deletion (#2758)•••Fix #2757Gravatar ctrlaltca2026-05-081-3/+0
* Language Options: never translate the hardcoded "en" language code (#2755)Gravatar ctrlaltca2026-03-231-1/+1
* Add a spellchecker backend based on windows >=8 integrated spellchecker (#2743)•••* Add a spellchecker backend based on windows >=8 integrated spellchecker * CI: remove enchant from windows builds * Assume Qt5 is Windows 7, Qt6 is Windows >= 10 * Qt5 build is picking up a foreign libenchant from the build system, disable itGravatar ctrlaltca2025-12-223-19/+146
* Options dialog: when searching don't force text to be black, on dark themes i...Gravatar ctrlaltca2025-12-081-1/+1
* Painter object fixes; fix #2494 (#2728)Gravatar ctrlaltca2025-11-101-124/+110
* Fix error handling of QSslSocket (#2718)Gravatar ctrlaltca2025-10-103-5/+5
* FileTransferWindow: use current theme palette to draw items; (#2717)•••fix #2714Gravatar ctrlaltca2025-10-103-7/+13
* Adapt to Qt 6.9 deprecations (#2706)•••* Adapt to Qt 6.9 deprecations * Windows 2019 images are no more available no github, switch to 2022 * Wordaround Qt5 missing QTimezone::UTCGravatar ctrlaltca2025-07-174-0/+39
* KviControlCodes: fix compilation with Qt >= 6.9 (#2705)•••* KviControlCodes: Qt >= 6.9's QChar removed implicit casts from ctors, add explicit cast to accommodate * Update github action jobsGravatar ctrlaltca2025-06-162-2/+2
* Fix window activation on trayicon click under KDE (#2696)Gravatar ctrlaltca2025-03-052-5/+10
* Misc fixes to sound module related to autodetect (#2669)•••* Sound options: don't immediately save changes when sound system gets autodetected; fix #2667 * If the config-saved sound system is not available anymore, force an autodetect; fix #2668 * Fix "qt" sound system under qt6 and unify the code path for Qt5. * If phonon is available, prefer it over "qt" sound system (the latter can only play wav files) * Nuke support for aRts (KDE2/3 sound server) and ESD (Gnome sound server before 2009) * Sound module: replace SoundEffect with QmediaPlayer to support more file formats. Adjust the priority of "qt" sound system in autodetect * Convert to smart pointers * Sound options: force an autodetect if the current sound system is not validGravatar ctrlaltca2024-08-024-158/+121
* Add an option to let the user choose the qt style used by the app (#2663)•••* Remove hardcoded usage of Fusion style on Gtk; add an option to use a custom Qt Style (like Fusion on Windows, supporting dark mode) * Update src/modules/options/OptionsWidget_theme.cpp Co-authored-by: Alexey Sokolov <alexey+github@asokolov.org>Gravatar ctrlaltca2024-07-152-1/+37
* 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
* Never cleanup (unload) the spellchecker module since reloading it could lead ...Gravatar ctrlaltca2024-06-091-1/+6
* Include debian patches (#2639)•••* enable optimisation with debug; credits to wRAR * Switch RFC2812 links from internal to external. Credits to wRAR * admin/gendoc.pl: Ease the creation of reproducible builds by removing user and timestamp from generated documentation. Credits to Vagrant Cascadian * Remove patches from dist/debianGravatar ctrlaltca2024-05-091-1/+1
* Spellchecker: migrate to enchant++ to avoid use of private API in enchant-pro...Gravatar ctrlaltca2024-05-041-30/+25
* Add an option to disable vertical margin between lines; fix #2464 (#2633)Gravatar ctrlaltca2024-04-302-9/+25
* port dcc video to qt6 (#2628)Gravatar ctrlaltca2024-04-052-99/+145
* More qt6 porting (#2622)•••* Port QColor::setNamedColor to QColor::fromString * Port from QVariant::Type to QmetaType::Type * KviCoreActions: port from QAction::parentWidget to qobject_cast + QAction::parent * KviIrcView: port QString::fromUtf16 usage to the non-obsolete char16_t* overload * KviTopicWidget: port QMouseEvent to a non-obsolete overload * Port QMouseEvent from old pos(), x(), y(), to position() * Port obsolete QMessageBox usage to custom buttons * KviApplication: initialize the dbus notify message "replace ID" to 0 * KviIrcConnection: port deprecated QString::count() to QString::size() * KvsObject_*: port QColor::setNamedColor to QColor::fromString * KvsObject_widget: port QWidget::isTopLevel to QWidget::isWindow * KviMainWindow: use QKeyCombination instead of int for shortcuts * QHttp: avoid deprecated methods for QCryptographicHash * ScriptEditorWidget: use the new signature for QMenu::addAction() * KviInputEditor: Extract ACCEL_KEY from header and avoid warning * KviStringConversion: convert old Qt5 font weights to new "css" font weights * syntax fixGravatar ctrlaltca2024-03-2414-62/+135
* Switching the mac CI to qt6 (#2612)•••* try switching the mac CI to qt6; remove the cmake hardcoded deploy, use macdeployqt instead * mac: Try to mode kvilib and modules to Contents/Frameworks for macdeployqt to pick them up * Add Mattoje's patch * Just disable python by nowGravatar ctrlaltca2024-03-082-19/+1
* Fix 2609; while we're at it, make the contextual help work again (#2610)Gravatar ctrlaltca2024-02-271-13/+14
* Switch windows CI builds to Github Actions and Qt6 (#2606)•••* Make build compatible with ninja generator * Remove usage of Qt Windows Extras under qt6 * Avoid compilation noise on UNICODE redefinition * Remove "KviHeapObject::operator new" signature for debug builds, add placement new operator * Fix implicit cast of 0 to QFlags * Fix Avoid ambiguous overload in concatenating strings * KviIpcSentinel::winEvent - Adapt to changed method signature in qt6 * Remove windows 95/98/me support :) * appveyor: try switching qt version * Try creating a github action for windows build * Remove appveyor config; move windows-only patches into dist/windows/patchesGravatar ctrlaltca2024-02-241-3/+3
* Check for QtMultimedia before using QSound; partially fix #2166 (#2604)Gravatar ctrlaltca2024-02-122-0/+10
* 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-0/+5
* Fix build with Qt5 and WANT_DCC_VIDEO (#2592)•••``` src/modules/dcc/DccVideoWindow.cpp: In member function ‘virtual const QString& DccVideoWindow::target()’: src/modules/dcc/DccVideoWindow.cpp:660:40: error: cannot convert ‘QString’ to ‘QString*’ in assignment ```Gravatar Aleksei Bavshin2024-01-192-13/+3
* misc updates: (#2587)•••- update dictionaries to newer versions - enable AlignConsecutiveAssignments and AlignConsecutiveDeclarations so they can be re-tested once we are ready to do so, its been fixed since clang 5 apparently. - update to Devel::PPPort 3.71 (cover more perl versions) and ExtUtils::ParseXS 3.51 (minimal changes)Gravatar Dessa2023-12-292-995/+2779
* Fix build with KDE Frameworks 6 (#2585)•••* KF6: adapt to new KNotificationAction API Use correct versioned location for the notifyrc. * KF6: correct includes for KWindowInfo * KF6: add KF6::StatusNotifierItem component KStatusNotifierItem was split from KNotifications in KF6.Gravatar Aleksei Bavshin2023-12-251-3/+3
* Remove raw event when it has no handlers. fix #2427 (#2583)Gravatar ctrlaltca2023-12-241-3/+3
* Tray icon fixes (#2581)•••* tray icon: add different icons for light/dark theme, fix #1840 fix #1358 * Tray icon: fix tooltip not showing up on linux; fix #2339 * Tray icon: add support for rich text tooptips on linux using kde's appnotifier * Do not output html tooltips on win, macGravatar ctrlaltca2023-12-2419-58/+105
* SSL updates (#2575)Gravatar ctrlaltca2023-12-041-0/+4
* Remove QWebEngine usage in core. Rewrite web package manager (#2570)•••* Remove use of QWebEngine from help module * Rewrite the WebPackageManagementDialog to use an http/json API instead of a webpage; drop QWebEngine usage * Edited repository urls to https://kvirc.github.io/Gravatar ctrlaltca2023-11-2814-267/+24
* Remove references to kvirc.de and kvirc.ru (#2559)•••* Remove reference to kvirc.de and kvirc.ru * Fix directive #23Gravatar ctrlaltca2023-10-211-2/+2
* Migrate almost all QMessagebox to qt6-friendly version.Gravatar Fabio Bas2023-10-1822-193/+169
* Address feedback for XmlFunctions.cppGravatar Fabio Bas2023-10-181-4/+1
* Changes that will need to be reworked.•••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 Gravatar Fabio Bas2023-10-183-4/+28
* Misc Qt6 port for slightly changed class names and method signaturesGravatar Fabio Bas2023-10-1812-16/+53
* Make shortcuts compatible with qt6; remove unused KviShortcut constructor sin...Gravatar Fabio Bas2023-10-181-1/+1
* Remove unused calls to viewOptions()Gravatar Fabio Bas2023-10-182-2/+0
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpression•••Method str_kvs_fnc_split() had to be replaced with the original version, since the newer one relied on Qt5's QStringRef Gravatar Fabio Bas2023-10-1828-109/+164
* Qt6 is stricter when casting numericals and chars. Add an explicit cast/conve...•••cast Gravatar Fabio Bas2023-10-185-8/+8
* Port QDateTime::setTime_t() to setSecsSinceEpoch()Gravatar Fabio Bas2023-10-181-2/+2
* Port QDateTime::toTime_t() to toSecsSinceEpoch(); it's a quint64, but it shou...Gravatar Fabio Bas2023-10-182-2/+2
* Mass rename of margin -> contentsMarginsGravatar Fabio Bas2023-10-1824-65/+65
* Qt6: QStringList is a typedef now, avoid forward declarationsGravatar Fabio Bas2023-10-182-2/+2
* Rename COMPILE_WEBKIT_SUPPORT to COMPILE_WEBENGINE_SUPPORTGravatar Fabio Bas2023-10-1817-57/+57
* Replace WtWbKit with QtWebEngine (#2554)Gravatar ctrlaltca2023-09-197-883/+284
* Port the mediaplayer mpris interface to mpris 2.2; fix #1912 (#2552)•••* Port the mediaplayer mpris interface to mpris 2.2 * Mpris: add strawberry and a generic fallback for other playersGravatar ctrlaltca2023-08-313-353/+165
* 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-0510-309/+441
* Avoid compilation warning on Python >=3.7 (#2543)•••Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>Gravatar ctrlaltca2023-07-091-0/+2
* 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-0855-358/+237