This test started failing to build with Qt 6.8.2 and/or GCC 14 in
Guix:
error: ‘class QHttpServer’ has no member named ‘listen’
31 | server->listen(QHostAddress::LocalHost, 8000);
Adjust to use what the Qt documentation suggests, which is to bind the
server to a distinct QTcpServer instance.
Fixes: #1144
Change-Id: I3308acab793b3cdf74458f8196933bca26b41bb1
This reinstates commit f6c8197cba, which was seemingly reverted by
mistake in 4d2c55348b ("packaging: migrate from Qt 6.2.3 to
6.4.3").
Change-Id: I603e004431be0503be0acdd7ce37fa5aaa4ecd91
Use #if, not #ifdef, to test the integer value of WITH_WEBENGINE, not
just whether it's defined. Otherwise, -DWITH_WEBENGINE=OFF would not
work.
* tests/qml/main.cpp: Replace '#ifdef WITH_WEBENGINE' with '#if
WITH_WEBENGINE'.
Change-Id: Ieda8c46fa696afa1e4118acc7d4fecd4b7f9a171
CMake's enable_testing needs to be called from the root of the project
as well for CTest to discover the tests in the build tree. This is
covered in CMake's manual in section 7.2.17 enable_testing.
Change-Id: I7c9b845c52064ff83e39b483b76137b529c1a9a4
- Developer id must be rDns identifier of developer
- Exported icons should match rDNS of app id
- Release version and dates should be included
- Added light and dark branding colours for Flathub banner
- Contact url removed - does not pass appstream validation
Change-Id: Ic5e2a5abeab4310ea87a34cc81363d1851135bcd
This would fail the build with the error:
CMake Error at tests/CMakeLists.txt:74 (string):
string no output variable specified
* tests/CMakeLists.txt [CMAKE_BUILD_TYPE]: Make BUILD_TYPE variable
assignment conditional.
Change-Id: I610fe296ed18bd038b2d23d4acd530f05f9526ce
Search for libraries in the system first, falling back to bundled
copies in case they aren't found.
Change-Id: I10e154f18c569d87dbdcbee3341316ceed57f13c
GitLab: #1506
Make the call action bar usable with only a keyboard and a
screen-reader by makint it visible using tab and inplementing
proper labels.
GitLab: #2049
Change-Id: Ifa1f1463f27b30bcfffae228058223729f00e51d
Allow to naviguate with keyboard inside of the accountlist and label
the accounts properly
GitLab: #2049
Change-Id: I53e5e97f344df86d6390ab444a642dcabea61cde
The current logic for handling received messages assumes that files sent
by the user don't need to be downloaded. However, this assumption is
incorrect when the user's account is present on multiple devices.
GitLab: #2069
Change-Id: I4e6a53389d736aec4aa86cd39862b7905b9b09ad
Fix the segfault happening when a codec is not properly loaded by
only activated spellcheck when a dictionnary has been successfully
loaded, initializing a default codec and adding error handling.
GitLab: #2063
Change-Id: I48339ce6d13120cfbae3c6c7eb6f40e87f16f084
The application on linux systems currently has a different build version
built into it than the build version generated on Jenkins which dictates
the filenames for release packages. This commit aims to propagate a
build version defined in the gnu-linux Jenkinsfile down to the
build-package-*.sh scripts.
Changes:
- create build version (timestamp) in Jenkinsfile
- propagate build version to Makefile, then the docker containers that
will execute the build-package-*.sh scripts
GitLab: #2045
Change-Id: Ia7cbb2f707c233741039dc7bfd3e5bd6a96c2270
The application currently has a different build version than the one set
in Jenkins. This causes issues in the crash reports on windows where
they contain a different build version than the one defined on Jenkins.
This leads to the names of the build artifacts on dl.jami.net not
matching the crash report's build version.
Changes:
- Add build version as parameter to the build-windows.py script.
- Propagate build version value to the application through the
BUILD_VERSION symbol.
- Deprecate version.h file and VERSION_STRING symbol.
GitLab: #2045
Change-Id: I7986679aaeebf2bcbbd63a781499f5a50e089712
The output directory for windows builds currently matches either Release
or Beta. This does not work as Beta is only a build option, not a build
type. Changes :
- Change build output directory to match the cmake build type (Release
or Debug)
- Change Beta output path references to Release
Change-Id: Ib513f177d93e3c9fb529e00aa160443ac2e804b5
greek spell correction wasn't working. this is because modern greek
is in a special encoding : ISO8859-7. The text in Jami is in utf-8.
Therefore this patch detect the encoding and decode/encode informations
in the relevent encoding between the client and the hunspell library.
GitLab: #2062
Change-Id: Ia33f154e3bf4b84f8337f669df81152ddcd25ec6
Implement the hunspell spellchecker for Windows and MacOS. It also
changes the base implementation for Linux. The system dictionaries
(if any) are aggregated with those installed from the LibreOffice
repository via Jami's dictionary management interface.
This commit implements a major refactoring of the spellcheck system
to improve UI responsiveness and user experience:
Core Changes:
- Used QAbstractListModel to represent the list of dictionaries
- Added new QML components:
- DictionaryInstallView.qml
- ManageDictionariesDialog.qml
- SpellCheckLanguageComboBox.qml
- Updated property names for clarity
- Fixed a bug in the settings combo box custom component that caused
out-of-range errors for filtered models
GitLab: #1997
Change-Id: Ibd0879f957f27f4c7c5720762ace553ca84e2bc3
Qt 6.6.3 doesn't build on AlmaLinux when using the latest available
version of the clang-devel and llvm-devel packages. Going back to an
earlier version fixes the issue.
GitLab: #2051
Change-Id: Ie78699197a129cc8804d073085e53cae525c9281
Add a setting to choose if the user wants 2nd calls to be declined
while already in one auto-answered.
GitLab: #2005
Change-Id: Iccd8c3e128c6d9456861b4a1ccd951de9136b74b
The Python installation fix in the Dockerfile is obsolete and now causes
the build to fail due to a reference to a directory that no longer
exists.
GitLab: #2019
Change-Id: I5cc9c8c26761e16af41616c02326a8522c00b10d
There is no longer a reason to downgrade GCC now that 14.2.0 is the
default version on Debian unstable, and doing so started causing linking
errors recently due to some system libraries (such as libyaml-cpp.so)
requiring a more recent version of libc than the one used when compiling
with GCC 12.
GitLab: #2018
Change-Id: I19879541c4182886bcd3af5e84f0ba0d237345b6