aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix crash on undo; fix #2617 (#2618)Gravatar ctrlaltca2024-03-131-1/+1
|
* Switching the mac CI to qt6 (#2612)Gravatar ctrlaltca2024-03-083-56/+2
| | | | | | | | | * 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 now
* 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)Gravatar ctrlaltca2024-02-249-34/+33
| | | | | | | | | | | | | | | | | | | | | | | * 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/patches
* Use target_compile_features to select C++ standard (#2607)Gravatar Alexey Sokolov2024-02-122-6/+1
| | | | | * Use target_compile_features to select C++ standard * Modules and binary already inherit from kvilib
* Check for QtMultimedia before using QSound; partially fix #2166 (#2604)Gravatar ctrlaltca2024-02-122-0/+10
|
* Replace deprecated define. Fix #2601 (#2603)Gravatar ctrlaltca2024-02-111-2/+2
|
* Add support for sanitizers at compile time (and fix some issues) (#2599)Gravatar ctrlaltca2024-02-0816-124/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix #2597: moc may require the full KviMaskEntry declaration in the header ↵Gravatar ctrlaltca2024-01-282-8/+1
| | | | file (#2598)
* Workaround qt bug on QRegularExpression; Fix #2593 (#2594)Gravatar ctrlaltca2024-01-201-1/+1
|
* Fix build with Qt5 and WANT_DCC_VIDEO (#2592)Gravatar Aleksei Bavshin2024-01-192-13/+3
| | | | | | ``` 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 ```
* Fix nickserv identification (fix wildcard regexp on strings containing a ↵Gravatar ctrlaltca2024-01-081-4/+11
| | | | | slash) (#2589) * Fix wildcard regexp on strings containing a slash - fix for qt >= 6.6, qt >= 6.0, qt5
* misc updates: (#2587)Gravatar Dessa2023-12-292-995/+2779
| | | | | - 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)
* Activation support for KDE (KF6) notifications (#2586)Gravatar Aleksei Bavshin2023-12-261-3/+27
| | | | Use xdg-activation tokens when available. This should work with KF6 and `xcb` and `wayland` platform backends on Plasma 6.
* Fix build with KDE Frameworks 6 (#2585)Gravatar Aleksei Bavshin2023-12-252-13/+33
| | | | | | | | | | | * 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.
* Remove raw event when it has no handlers. fix #2427 (#2583)Gravatar ctrlaltca2023-12-241-3/+3
|
* Tray icon fixes (#2581)Gravatar ctrlaltca2023-12-2419-58/+105
| | | | | | | | | * 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, mac
* Disable accellerators before freeing them (#2582)Gravatar ctrlaltca2023-12-241-0/+1
|
* Fix regression in some shortcuts introduced in ↵ 5.2.0-beta2Gravatar ctrlaltca2023-12-081-19/+18
| | | | cba0ebedf3f0cc4da6f8729dde10282b23eb18e6 (#2579)
* Fix crash bug on avatar handling with specific realnames (#2578)Gravatar ctrlaltca2023-12-081-1/+1
|
* SSL updates (#2575)Gravatar ctrlaltca2023-12-044-4/+47
|
* Attempt at fixinf font width size by enable full font hinting, aka forcing ↵Gravatar ctrlaltca2023-11-303-0/+3
| | | | glyphs to be aligned to pixels in order to disable subpixel positioning (source: https://www.mail-archive.com/development@qt-project.org/msg43330.html) (#2573)
* KviCString::getToken(): add option to skip empty elements (default off) (#2574)Gravatar ctrlaltca2023-11-303-5/+13
|
* 2569: fix mouse selection of mixed text: normal and surrogate pairsGravatar Fabio Bas2023-11-281-1/+1
|
* Remove QWebEngine usage in core. Rewrite web package manager (#2570)Gravatar ctrlaltca2023-11-2817-431/+287
| | | | | | | * 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/
* Ircview: Fix out of bound memory read when a line ends with a tab; fix #2377Gravatar Fabio Bas2023-11-281-1/+0
|
* InputEditor: consider surrogate pairs when moving cursor, deleting a char or ↵Gravatar Fabio Bas2023-11-281-82/+66
| | | | editing selection
* Ircview: consider surrogate pairs when calculating block widths, wraps, and ↵Gravatar Fabio Bas2023-11-281-20/+121
| | | | selection blocks
* Settings: include styleName in font (#2568)Gravatar ctrlaltca2023-11-231-17/+17
|
* Avoid sending a spurious null byte to the server at the end of raw commands ↵Gravatar ctrlaltca2023-11-211-4/+2
| | | | (#2565)
* Do not leak each created KviInputEditorSpellCheckerBlock (#2563)Gravatar Igor V. Kovalenko2023-11-132-25/+19
| | | | Objects allocated by splitTextIntoSpellCheckerBlocks into buffer vector are never freed. Fix this by turning vector of pointers into vector of objects.
* Fix KviTopicWidget label shifted down and clipped (#2562)Gravatar Igor V. Kovalenko2023-11-136-63/+66
| | | | | | | | | | | | | | | | KviThemedLabel has margin set to 4. While sizing topic widget this is not taken into account. This causes rendered topic label text to be shifted down and clipped at the bottom. Fix this by setting KviThemedLabel margin to zero and using stylesheet left and right margin properties instead. While at it, simplify management of editor widget lifecycle and widget size. Instead of doing that by hand on events, create QStackedWidget to operate visibility and size of label and editing widgets. Create all objects at once in KviTopicWidget constructor, attach label widget at index 0 and a KViTaiHbox with line editor and 3 buttons at index 1. Only operate visibility by switching current stacked widget index and let QStackedWidget resize it's contents as needed.
* Fix text[idx] out of bounds assertion in KviTopicWidget::paintColoredText ↵Gravatar Igor V. Kovalenko2023-11-131-5/+23
| | | | (#2561)
* Remove references to kvirc.de and kvirc.ru (#2559)Gravatar ctrlaltca2023-10-216-23/+4
| | | | | * Remove reference to kvirc.de and kvirc.ru * Fix directive #23
* Console window: fix server selection from comboboxGravatar Fabio Bas2023-10-181-1/+1
|
* Qt6: fix font rendering on help windowGravatar Fabio Bas2023-10-181-0/+3
|
* Migrate almost all QMessagebox to qt6-friendly version.Gravatar Fabio Bas2023-10-1828-216/+193
|
* Address feedback for XmlFunctions.cppGravatar Fabio Bas2023-10-181-4/+1
|
* Changes that will need to be reworked.Gravatar Fabio Bas2023-10-185-11/+59
| | | | | 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
* Misc Qt6 port for slightly changed class names and method signaturesGravatar Fabio Bas2023-10-1817-18/+68
|
* Make shortcuts compatible with qt6; remove unused KviShortcut constructor ↵Gravatar Fabio Bas2023-10-186-59/+67
| | | | since it creates ambiguity with the previous
* Remove unused calls to viewOptions()Gravatar Fabio Bas2023-10-183-3/+0
|
* Use qMin, qMax, .. instead of std equivalents as they better deal with qt ↵Gravatar Fabio Bas2023-10-182-5/+5
| | | | integer types
* Drop QApplication::globalStrut() usage (unavailable on qt6)Gravatar Fabio Bas2023-10-184-12/+9
|
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpressionGravatar Fabio Bas2023-10-1851-174/+387
| | | | 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-1815-48/+48
| | | | | | cast/conversion to better digest them cast
* Port QDateTime::setTime_t() to setSecsSinceEpoch()Gravatar Fabio Bas2023-10-185-9/+9
|
* Port QDateTime::toTime_t() to toSecsSinceEpoch(); it's a quint64, but it ↵Gravatar Fabio Bas2023-10-185-7/+7
| | | | should cast to time_t safely until year 2106
* Mass rename of margin -> contentsMarginsGravatar Fabio Bas2023-10-1840-93/+93
|
* Qt6: QStringList is a typedef now, avoid forward declarationsGravatar Fabio Bas2023-10-1810-10/+10
|