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 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
Chris MacLeod [Sat, 5 Aug 2023 08:39:01 +0000 (04:39 -0400)]
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
Dessa [Fri, 28 Jul 2023 15:13:14 +0000 (17:13 +0200)]
translation and minor comment updates
- switch from transifex/transifex-client to transifex/cli, the current version migrated the config properly (unlike earlier versions) and is usable
- pulled updates from tx, completed korean, updating portuguese and spanish
- minor comment updates and adding product ids that nobody is going to be using
Disable perl scripting on win32 (not on x64), it's not worth the hassle
Disable debug builds (you need a complete windows environment to actually make use of these anyway)
nmariusp [Sun, 26 Jun 2022 06:50:43 +0000 (09:50 +0300)]
Fix issue "CMake Warning (dev) at /home/n/kde/usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message): Your project should require at least CMake 3.16.0 to use FindKF5.cmake" (#2525)
Fabio [Fri, 15 Jan 2021 10:56:56 +0000 (11:56 +0100)]
Wayland fixes: disable X11 IPC at runtime to avoid crash on start (partially fixes #2479, but a proper IPC is still missing). Correctly set main window icon
Leo [Wed, 10 Mar 2021 16:35:41 +0000 (11:35 -0500)]
Insert missing null terminator
The existing null terminator in pcBuffer is overwritten with a carriage return. Without re-appending it, the QString(const char*) constructor may attempt an illegal read.
Peter J. Mello [Fri, 28 May 2021 05:14:45 +0000 (22:14 -0700)]
Update Desktop Entry file
This commit adds well-formed values for all keys defined in version 1.5
of the [Freedesktop.org Desktop Entry Specification][1], published on
2020-04-27, adding:
- the ability for KVIrc to be designated by all XDG-compliant Linux
Desktop Environments (GNOME, KDE et al.) as a (default) handler for
irc/irc6/ircs protocol URIs within all installed applications,
- support for the Startup Notification Protocol,
- a context menu entry in DE graphical application launchers for opening
a new session/instance/window of KVIrc when one or more are already in
use, and
- registration of KVIrc as the default handler for the 'text/kvc' and
'text/kvs' Media (MIME) Type definitions already installed by the
several circulating vendor packages for Linux
This effectively upstreams the [patch implemented by Kubuntu][2] on
2009-03-08 and later merged by Debian on 2011-05-07 into the official
Debian kvirc packaging repository to add keywords to the launcher entry
which help users to find the entry when searching for all IRC/Chat apps
installed on their system.
The desktop entry file itself is renamed to
`cmake/net.kvirc.KVIrc.desktop.cmake` in the source repository to comply
with above-referenced DES v1.5, which requires that such files use a
valid "D-Bus well-known name" as their basename (which is also the
"desktop file ID" used many other XDG-compliant interfaces), derived, as
suggested, by appending the mixed-case application name to the reverse
DNS entry of the official homepage. The CMake build configuration is
altered to further append the major version number to the mixed-case
application name prior to installation, as advised by the specification.
Signed-off-by: Peter J. Mello <redacted>
1: https://specifications.freedesktop.org/desktop-entry-spec/latest/
2: https://salsa.debian.org/qt-kde-team/extras/kvirc/-/blob/93f8469f20a7a36a9956f3dc0e3d1c87178486a8/debian/patches/kubuntu_01_fix_desktop_entry.patch
Dessa [Fri, 5 Jun 2020 15:52:36 +0000 (17:52 +0200)]
pull po updates from Transifex
among the usual suspects (non-string updates) are updates for French, Polish and Korean with the latter being 100 % translated; thanks "ks k"!
Andrio Celos [Wed, 21 Aug 2019 14:10:14 +0000 (00:10 +1000)]
Rework the server list GUI filter. Fixes #2438.
The filter now works as an AND arrangement: servers will be shown if they match both the text filter *and* the favorites filter (if applicable). Previously one was not respected when the other was updated. The favorites filter no longer hides empty networks when disabled.