]>
jfr.im git - irc/kvirc/KVIrc.git/log
ctrlaltca [Sun, 12 May 2024 18:10:58 +0000 (20:10 +0200)]
Github CI: switch to older macos 13 (still supports intel macs) (#2644)
ctrlaltca [Sat, 11 May 2024 11:44:18 +0000 (13:44 +0200)]
Version 5.2.4 (#2642)
ctrlaltca [Fri, 10 May 2024 13:56:54 +0000 (15:56 +0200)]
Remove rfc (#2641)
ctrlaltca [Thu, 9 May 2024 08:26:16 +0000 (10:26 +0200)]
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/debian
ctrlaltca [Sat, 4 May 2024 16:01:00 +0000 (18:01 +0200)]
Spellchecker: migrate to enchant++ to avoid use of private API in enchant-provider.h (#2636)
Douman [Sat, 4 May 2024 15:59:08 +0000 (00:59 +0900)]
Set portable when it is needed (#2638)
ctrlaltca [Wed, 1 May 2024 17:07:56 +0000 (19:07 +0200)]
Add cmake option WANT_PERL_DOCS to disable doc generation. (#2635)
* Add cmake option WANT_PERL_DOCS to disable doc generation. Ensure Qt version is reported correctly by cmake. Fix #2634
* KviApplication::checkGlobalKvircDirectory: don't test for help subdir, it may not exist
* Cmake: use the imported target for Threads instead of CMAKE_THREAD_LIBS_INIT
* Cmake: always import the Threads target
ctrlaltca [Tue, 30 Apr 2024 07:26:24 +0000 (09:26 +0200)]
Add an option to disable vertical margin between lines; fix #2464 (#2633)
ctrlaltca [Wed, 10 Apr 2024 07:59:22 +0000 (09:59 +0200)]
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
ctrlaltca [Fri, 5 Apr 2024 13:29:13 +0000 (15:29 +0200)]
port dcc video to qt6 (#2628)
ctrlaltca [Fri, 5 Apr 2024 13:29:00 +0000 (15:29 +0200)]
Strip leading spaces on command; Fix #2626 (#2627)
ctrlaltca [Wed, 3 Apr 2024 09:17:21 +0000 (11:17 +0200)]
Numerical 301: respect the value of KviOption_boolWhoisRepliesToActiveWindow even if a query exists (same behavior of all the other whois reply handlers) (#2613)
ctrlaltca [Mon, 1 Apr 2024 09:19:26 +0000 (11:19 +0200)]
Update README.md
Removed appveyor badge; added github actions badge
crazycatdevs [Wed, 27 Mar 2024 17:45:26 +0000 (18:45 +0100)]
Added french network zeolia (#2625)
Added zeolia.chat
ctrlaltca [Wed, 27 Mar 2024 17:44:04 +0000 (18:44 +0100)]
Avoid possible infinite recursion; fix #2505 (#2624)
ctrlaltca [Sun, 24 Mar 2024 10:39:46 +0000 (11:39 +0100)]
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 fix
Reilly Brogan [Thu, 21 Mar 2024 08:57:50 +0000 (03:57 -0500)]
Fix Wayland appId (#2621)
ctrlaltca [Sun, 17 Mar 2024 16:54:19 +0000 (17:54 +0100)]
NSIS: make the installer wait for the uninstall to finish before proceeding; fix #2546 (#2619)
ctrlaltca [Sun, 17 Mar 2024 16:54:04 +0000 (17:54 +0100)]
Mac CI: ignore brew warnings caused by multiple python installs that makes the run error out early (#2620)
ctrlaltca [Wed, 13 Mar 2024 09:04:31 +0000 (10:04 +0100)]
Fix crash on undo; fix #2617 (#2618)
ctrlaltca [Sat, 9 Mar 2024 13:48:17 +0000 (14:48 +0100)]
Fix linux CI badge
ctrlaltca [Sat, 9 Mar 2024 11:08:40 +0000 (12:08 +0100)]
Version 5.2.2 (#2614)
ctrlaltca [Fri, 8 Mar 2024 13:33:33 +0000 (14:33 +0100)]
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 now
ctrlaltca [Tue, 27 Feb 2024 09:03:38 +0000 (10:03 +0100)]
Fix 2609; while we're at it, make the contextual help work again (#2610)
ctrlaltca [Sat, 24 Feb 2024 10:30:48 +0000 (11:30 +0100)]
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/patches
ctrlaltca [Tue, 13 Feb 2024 10:54:29 +0000 (11:54 +0100)]
Use separate caches for CI linux qt5 and qt6 builds (#2608)
Alexey Sokolov [Mon, 12 Feb 2024 22:49:14 +0000 (22:49 +0000)]
Use target_compile_features to select C++ standard (#2607)
* Use target_compile_features to select C++ standard
* Modules and binary already inherit from kvilib
ctrlaltca [Mon, 12 Feb 2024 20:12:00 +0000 (21:12 +0100)]
Add a qt6 linux CI build (#2605)
* Add a qt6 linux CI build
* Rename jobs
ctrlaltca [Mon, 12 Feb 2024 20:11:03 +0000 (21:11 +0100)]
Check for QtMultimedia before using QSound; partially fix #2166 (#2604)
ctrlaltca [Sun, 11 Feb 2024 15:36:22 +0000 (16:36 +0100)]
Replace deprecated define. Fix #2601 (#2603)
ctrlaltca [Thu, 8 Feb 2024 07:58:10 +0000 (08:58 +0100)]
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 typo
ctrlaltca [Sun, 28 Jan 2024 11:15:03 +0000 (12:15 +0100)]
Fix #2597: moc may require the full KviMaskEntry declaration in the header file (#2598)
Alexey Sokolov [Sun, 21 Jan 2024 21:07:37 +0000 (21:07 +0000)]
Fix ability to select Qt5 vs Qt6
https://bugs.gentoo.org/922636
ctrlaltca [Sat, 20 Jan 2024 22:23:53 +0000 (23:23 +0100)]
Workaround qt bug on QRegularExpression; Fix #2593 (#2594)
Aleksei Bavshin [Fri, 19 Jan 2024 16:17:19 +0000 (08:17 -0800)]
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
```
ctrlaltca [Sun, 14 Jan 2024 10:07:31 +0000 (11:07 +0100)]
Update version to 5.2.0, update translations (#2590)
ctrlaltca [Mon, 8 Jan 2024 15:46:04 +0000 (16:46 +0100)]
Fix nickserv identification (fix wildcard regexp on strings containing a slash) (#2589)
* Fix wildcard regexp on strings containing a slash - fix for qt >= 6.6, qt >= 6.0, qt5
Dessa [Fri, 29 Dec 2023 09:45:14 +0000 (10:45 +0100)]
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)
ctrlaltca [Tue, 26 Dec 2023 16:44:10 +0000 (17:44 +0100)]
Update version to 5.1.3 (aka 5.2 beta 3) adopt new candidate release name "Quasar" (#2584)
* Updated translations from Transifex
* Update version to beta3, adopt new candidate release name "Quasar"
Aleksei Bavshin [Tue, 26 Dec 2023 09:44:41 +0000 (01:44 -0800)]
Activation support for KDE (KF6) notifications (#2586)
Use xdg-activation tokens when available. This should work with KF6 and
`xcb` and `wayland` platform backends on Plasma 6.
Aleksei Bavshin [Mon, 25 Dec 2023 20:58:52 +0000 (12:58 -0800)]
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.
ctrlaltca [Sun, 24 Dec 2023 22:49:34 +0000 (23:49 +0100)]
Remove raw event when it has no handlers. fix #2427 (#2583)
ctrlaltca [Sun, 24 Dec 2023 12:54:32 +0000 (13:54 +0100)]
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, mac
ctrlaltca [Sun, 24 Dec 2023 11:31:12 +0000 (12:31 +0100)]
Disable accellerators before freeing them (#2582)
ctrlaltca [Fri, 8 Dec 2023 22:29:06 +0000 (23:29 +0100)]
Fix regression in some shortcuts introduced in
cba0ebedf3f0cc4da6f8729dde10282b23eb18e6 (#2579)
ctrlaltca [Fri, 8 Dec 2023 22:28:48 +0000 (23:28 +0100)]
Fix crash bug on avatar handling with specific realnames (#2578)
Fabio Bas [Thu, 7 Dec 2023 09:58:17 +0000 (10:58 +0100)]
Git version detection: ensure correct tag is returned if present
ctrlaltca [Thu, 7 Dec 2023 06:57:34 +0000 (07:57 +0100)]
Update version to 5.1.1 and extract translations (#2577)
ctrlaltca [Mon, 4 Dec 2023 21:33:55 +0000 (22:33 +0100)]
SSL updates (#2575)
ctrlaltca [Thu, 30 Nov 2023 15:09:03 +0000 (16:09 +0100)]
Attempt at fixinf font width size by enable full font hinting, aka forcing 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)
ctrlaltca [Thu, 30 Nov 2023 15:08:49 +0000 (16:08 +0100)]
KviCString::getToken(): add option to skip empty elements (default off) (#2574)
ctrlaltca [Tue, 28 Nov 2023 22:45:43 +0000 (23:45 +0100)]
Removed unused travis files and 10-years-not-updated changelog. (#2572)
Fabio Bas [Tue, 28 Nov 2023 10:25:06 +0000 (11:25 +0100)]
2569: fix mouse selection of mixed text: normal and surrogate pairs
ctrlaltca [Tue, 28 Nov 2023 09:38:17 +0000 (10:38 +0100)]
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/
Fabio Bas [Thu, 23 Nov 2023 22:39:05 +0000 (23:39 +0100)]
Ircview: Fix out of bound memory read when a line ends with a tab; fix #2377
Fabio Bas [Thu, 23 Nov 2023 16:32:47 +0000 (17:32 +0100)]
InputEditor: consider surrogate pairs when moving cursor, deleting a char or editing selection
Fabio Bas [Thu, 23 Nov 2023 12:21:13 +0000 (13:21 +0100)]
Ircview: consider surrogate pairs when calculating block widths, wraps, and selection blocks
ctrlaltca [Thu, 23 Nov 2023 09:17:35 +0000 (10:17 +0100)]
Settings: include styleName in font (#2568)
ctrlaltca [Tue, 21 Nov 2023 08:27:36 +0000 (09:27 +0100)]
Avoid sending a spurious null byte to the server at the end of raw commands (#2565)
Igor V. Kovalenko [Mon, 13 Nov 2023 16:36:42 +0000 (19:36 +0300)]
Do not leak each created KviInputEditorSpellCheckerBlock (#2563)
Objects allocated by splitTextIntoSpellCheckerBlocks into buffer vector are
never freed. Fix this by turning vector of pointers into vector of objects.
Igor V. Kovalenko [Mon, 13 Nov 2023 16:36:20 +0000 (19:36 +0300)]
Fix KviTopicWidget label shifted down and clipped (#2562)
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.
Igor V. Kovalenko [Mon, 13 Nov 2023 16:35:49 +0000 (19:35 +0300)]
Fix text[idx] out of bounds assertion in KviTopicWidget::paintColoredText (#2561)
Alexey Sokolov [Tue, 24 Oct 2023 07:55:03 +0000 (08:55 +0100)]
Make macos dmg nightlies more orderable (#2560)
* Make macos dmg nightlies more orderable
Without any tags in the downloaded history, git doesn't know how many
commits happened since latest tag
* Get rid of the custom sftp upload which doesn't work
Rename artifact to .dmg to make it easier to find the correct artifact
to download by custom script
Alexey Sokolov [Sun, 22 Oct 2023 17:21:01 +0000 (18:21 +0100)]
Almost there
Alexey Sokolov [Sun, 22 Oct 2023 16:59:53 +0000 (17:59 +0100)]
Forgot to write file
Alexey Sokolov [Sun, 22 Oct 2023 16:42:22 +0000 (17:42 +0100)]
Pass user through ssh config
Alexey Sokolov [Sun, 22 Oct 2023 16:08:32 +0000 (17:08 +0100)]
Yet another time
Alexey Sokolov [Sun, 22 Oct 2023 15:37:16 +0000 (16:37 +0100)]
Next attempt
Alexey Sokolov [Sun, 22 Oct 2023 15:17:33 +0000 (16:17 +0100)]
Try to upload to sftp manually...
Alexey Sokolov [Sun, 22 Oct 2023 12:54:32 +0000 (13:54 +0100)]
Switch to yet another sftp upload action
Alexey Sokolov [Sun, 22 Oct 2023 11:50:50 +0000 (12:50 +0100)]
Don't delete from sftp
Alexey Sokolov [Sun, 22 Oct 2023 11:49:37 +0000 (12:49 +0100)]
Use another action to upload sftp
Alexey Sokolov [Sun, 22 Oct 2023 11:24:07 +0000 (12:24 +0100)]
Fix yaml syntax
Alexey Sokolov [Sun, 22 Oct 2023 11:22:32 +0000 (12:22 +0100)]
Try to upload nightly .dmg
ctrlaltca [Sat, 21 Oct 2023 15:54:54 +0000 (17:54 +0200)]
Remove references to kvirc.de and kvirc.ru (#2559)
* Remove reference to kvirc.de and kvirc.ru
* Fix directive #23
Fabio Bas [Tue, 10 Oct 2023 15:59:01 +0000 (17:59 +0200)]
Console window: fix server selection from combobox
Fabio Bas [Tue, 10 Oct 2023 15:58:39 +0000 (17:58 +0200)]
Qt6: fix font rendering on help window
Fabio Bas [Tue, 10 Oct 2023 15:58:14 +0000 (17:58 +0200)]
Migrate almost all QMessagebox to qt6-friendly version.
Fabio Bas [Fri, 6 Oct 2023 06:39:22 +0000 (08:39 +0200)]
Address feedback for XmlFunctions.cpp
Fabio Bas [Thu, 5 Oct 2023 15:50:54 +0000 (17:50 +0200)]
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
Fabio Bas [Wed, 4 Oct 2023 20:50:00 +0000 (22:50 +0200)]
Misc Qt6 port for slightly changed class names and method signatures
Fabio Bas [Wed, 4 Oct 2023 20:44:13 +0000 (22:44 +0200)]
Make shortcuts compatible with qt6; remove unused KviShortcut constructor since it creates ambiguity with the previous
Fabio Bas [Wed, 4 Oct 2023 09:44:43 +0000 (11:44 +0200)]
Remove unused calls to viewOptions()
Fabio Bas [Wed, 4 Oct 2023 09:43:34 +0000 (11:43 +0200)]
Use qMin, qMax, .. instead of std equivalents as they better deal with qt integer types
Fabio Bas [Wed, 4 Oct 2023 09:41:01 +0000 (11:41 +0200)]
Drop QApplication::globalStrut() usage (unavailable on qt6)
Fabio Bas [Wed, 4 Oct 2023 09:25:05 +0000 (11:25 +0200)]
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
Fabio Bas [Wed, 27 Sep 2023 15:22:01 +0000 (17:22 +0200)]
Qt6 is stricter when casting numericals and chars. Add an explicit cast/conversion to better digest them
cast
Fabio Bas [Wed, 27 Sep 2023 15:16:50 +0000 (17:16 +0200)]
Port QDateTime::setTime_t() to setSecsSinceEpoch()
Fabio Bas [Wed, 27 Sep 2023 15:05:14 +0000 (17:05 +0200)]
Port QDateTime::toTime_t() to toSecsSinceEpoch(); it's a quint64, but it should cast to time_t safely until year 2106
Fabio Bas [Wed, 20 Sep 2023 20:15:47 +0000 (22:15 +0200)]
Qt6: required Qt5 compatibility module; needed by QRegExp
Fabio Bas [Wed, 20 Sep 2023 20:12:32 +0000 (22:12 +0200)]
Mass rename of margin -> contentsMargins
Fabio Bas [Wed, 20 Sep 2023 20:11:23 +0000 (22:11 +0200)]
Qt6: QStringList is a typedef now, avoid forward declarations
Fabio Bas [Wed, 20 Sep 2023 20:08:55 +0000 (22:08 +0200)]
cmake: add support for qt6
Fabio Bas [Wed, 20 Sep 2023 20:07:04 +0000 (22:07 +0200)]
Rename COMPILE_WEBKIT_SUPPORT to COMPILE_WEBENGINE_SUPPORT
ctrlaltca [Wed, 18 Oct 2023 08:18:10 +0000 (10:18 +0200)]
README.md: replace travis badge with github actions
ctrlaltca [Tue, 19 Sep 2023 14:06:27 +0000 (16:06 +0200)]
Replace WtWbKit with QtWebEngine (#2554)
ctrlaltca [Thu, 31 Aug 2023 07:48:04 +0000 (09:48 +0200)]
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 players
ctrlaltca [Thu, 31 Aug 2023 07:47:43 +0000 (09:47 +0200)]
Macos: manually create dmg to fix icon position (#2556)
* Macos: manually create dmg to fix icon position
* Fix dmg name
ctrlaltca [Mon, 14 Aug 2023 10:40:27 +0000 (12:40 +0200)]
Spellchecker: on right click menu, check the spelling for the word under the mouse instead of the word where the cursor is located; fix #1918 (#2551)
ctrlaltca [Wed, 9 Aug 2023 09:55:21 +0000 (11:55 +0200)]
add a basic ci build for linux and macos (#2550)