1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2024-10-28 08:49:35 +01:00
Commit graph

121 commits

Author SHA1 Message Date
Andreas Traczyk
35482fa92f misc: implement frameless window
Several major changes to the layout have been made.
- The chat search bar is moved into the message search layout.
- The Searchbar component is stripped of unused features.
- Some remaining logic that was used to switch main loader components is removed.
- ViewCoordinator.getView gets a "force create" parameter and we no longer preload low-cost views.

NOTE: the option to use a frameless window is available within general settings

Gitlab: #1524 (Frameless Window)
Change-Id: Iec6bdf162cb0335d3ae3d9bd09dd9783991a4a57
2024-01-26 18:14:55 -05:00
Kateryna Kostiuk
677ebe3297 macOS: remove QT dSYM files
This patch removes Qt dSYM files because their bundle identifiers
are not accepted by the App Store.

Change-Id: Ie999b8d273172a3810706fc78286fe0ddc81376d
2024-01-09 20:19:32 -05:00
Sébastien Blin
84150e8977 misc: bump copyright to 2024
Change-Id: I8d5f968fbedbc884c91416246049a0ef4cd652eb
2024-01-03 09:54:49 -05:00
Sébastien Blin
2bbd9637da packaging: add package for opensuse leap 15.5
Change-Id: I90ad05ca1bd12e041f60f42fd38bd464b5f8cb51
2024-01-02 13:27:16 -05:00
Sébastien Blin
a4014b7b6f misc: fix debian version
Change-Id: I5084b5feef6b8dd9e1f3c072de0b758ca5f6c117
2023-12-22 10:21:22 -05:00
Sébastien Blin
93d2201277 contactmodel: avoid crash on incorrect profile
Change-Id: I1aa09e72e7db602a489c1195ab45b897e18370bc
2023-12-22 09:54:22 -05:00
lcoursodon
7d7428af21 Almalinux: build on stable version without plugin store
GitLab: #1418

Change-Id: I37239869e691a621138ae0616695f8efdf4b47ca
2023-12-04 17:19:28 -04:00
Sébastien Blin
46ca469bec misc: fix xcb plugin generation
Change-Id: Ibb06f6a5647adeebc379c3421232ec55645c0217
2023-12-01 14:50:03 -05:00
lcoursodon
f457ed5076 qt6.5: update to Qt 6.5.3
Change-Id: I43838bf36ee0d174834e5312f62865b56a77484b
2023-11-29 11:49:45 -05:00
Andreas Traczyk
8b09149ecd build: windows: fix toolset version choice
Change-Id: I935131da4bf78f0d2832646197367fce56509130
2023-11-27 12:06:49 -05:00
Andreas Traczyk
e46a123609 build: windows: remove qrencode-win32 patching
Changes to a more maintained repo source.

Change-Id: Ie9903761ad8cb740b79552f59dc851976c1ef9da
2023-11-14 14:44:30 -05:00
Andreas Traczyk
8e33a6125f build: windows: only init the required client submodules
Change-Id: Ia4ad3e76962fac38c8f482fb7892b259a968ce5f
2023-11-14 14:44:30 -05:00
Andreas Traczyk
3e17a9b247 cmake: windows: add the jami-core to the project
Change-Id: Ieeeb8bbf3d032fb9595b6f76a49ab8027dad7d99
2023-11-14 14:44:30 -05:00
Andreas Traczyk
be85034d78 build: support enabling ASAN for daemon + contrib + client
Change-Id: Ie014285e46feb82577125b68677b19d94005789f
2023-11-07 08:40:09 -05:00
Andreas Traczyk
31c5cead63 misc: use jami-core
Change-Id: I081b2575d78352e091c60c9ac80d8c8c5512e9b0
2023-11-03 15:41:03 -04:00
Andreas Traczyk
92be4fa7dc build: windows: optionally use pywinmake
Change-Id: Ib0b41428f00945c9bcab2f7d68355c2128c0e68f
2023-11-02 15:06:32 -04:00
Sébastien Blin
303acbda64 packaging: add python-six to opensuse leap 15.4 (qtwebengine)
Change-Id: Ica84f3169cfe95be9097dce50e311d1e09f65723
2023-10-30 14:23:01 -04:00
Sébastien Blin
d2e87150b4 misc: fix build on fedora 39
Change-Id: I0b64db0a418e9992dcafa053c762e153a65515b8
2023-10-30 08:40:46 -04:00
Sébastien Blin
e55eaa5d8e packaging: add fedora 39, ubuntu 23.10
Change-Id: I2da6a821b25c3a5ae26ba8f59f3dc8b6656751b5
2023-10-20 09:16:08 -04:00
Sébastien Blin
f88b8584af deploy-packages: add alma
Change-Id: I5ff774d6e2eceb3ce99d16eae34249ee451f9199
2023-09-29 02:18:36 -04:00
lcoursodon
63c3d0bf2e Build: build without dbus if enable_libwrap is not specified
Change-Id: I8819b193b83f7ee051d78d30990db40e3f295354
2023-09-28 11:37:54 -04:00
Sébastien Blin
4d55a1430d misc: remove ubuntu 22.10 (EOL)
Change-Id: I9a7bbd77a91b885666519e726530df2ebd7097ca
2023-09-12 11:26:27 -04:00
Aline Gondim Santos
007b0c1132 i18n: fix configuration
+ Only look for translations in valid files.

Change-Id: I350478d050118c8b5d6bd127aaeed6c3965fe05f
GitLab: #1266
2023-07-27 09:59:43 -04:00
Andreas Traczyk
0f66152d72 build.py: allow initialization without installing pre-commit hook
Gitlab: #1219
Change-Id: I5a2e2099d6ad1b551e2d744ffbf800b79c36a821
2023-06-27 14:59:52 -04:00
Sébastien Blin
21c4afa564 makefile: remove fedora_36
Change-Id: I006e3d940066510dd2831371d9940360a6149276
2023-06-19 10:29:49 -04:00
Sébastien Blin
2ef5dcae71 packaging: deprecate fedora 36 (eol) - add debian 12
Change-Id: Ibc7d68a651b5f0ba488d6f45e910ddbe339568a2
2023-06-15 09:26:41 -04:00
Sébastien Blin
a65c4f28e1 snap: add libsystem-dev
Change-Id: I2d337149bf2ef8c7807bbb2562e35cc05e3dbbba
2023-06-14 08:07:05 -04:00
Andreas Traczyk
5508f28c63 packaging: windows: fix Beta deployment script
Change-Id: I8facd465cd0c8eb0509b66b6f87008c6a86e89bd
2023-06-06 11:56:56 -04:00
Sébastien Blin
7611cb6147 jenkinsfile: update device label
Change-Id: I5d9eebbe924e642de27ff6f9910f978daf00dd07
2023-06-05 15:07:49 -04:00
Andreas Traczyk
e04e3db69f build: windows: use string literal instead of bytes for exe path
Change-Id: If641a2cf5a2a47bfa70e8232769ef916c64af35b
2023-06-05 13:59:32 -04:00
Andreas Traczyk
d94c30833f chatview: fix emoji responses under Qt v 6.4.x and up
Qt.bindings are not supported for properties within when calling createObject anymore. Instead, we can pass component references, or generate bindings post-creation.

Note: in this case, the popup closes and observation is not really needed here.

Gitlab: #1169
Change-Id: I21c1d95f4ca725c86fcf276834830145587458cc
2023-06-02 14:57:54 -04:00
Sébastien Blin
886074dc1e qt: openfile portal: do not use O_PATH fds
This allow to use xdg-open inside a snap

Change-Id: I5ad7e067228b260174abf5c78d0a0e7c2cf8c31d
2023-06-01 14:58:04 -04:00
Andreas Traczyk
dc53aa887d misc: change library name "jami" -> "libjami"
Bumps the daemon and adjusts the build to use the appropriate library name.

Change-Id: I4208f161c3522bb58dfc1dc55cb10910ade24eed
2023-06-01 12:32:07 -04:00
Léo Banno-Cloutier
63687acc71 install: bumped Qt 6.2 to 6.4
Change-Id: I39262a1945ab48f43efbb958ebe323f52f5d1a8d
2023-05-30 14:14:14 -04:00
Vladimir Stoiakin
39264e59c2 build: fix packaging with sdbus-c++
Change-Id: Ie7ab5f35d0f215cd32932f277dd7cc178e0dd2cc
2023-05-30 11:26:30 -04:00
Sébastien Blin
30d10c7da9 qt6: update 0001-fix-gcc13.patch
From qt6-webengine's RPM sources

Change-Id: Ic0a47429a184c1dc5340a5d9ab4d0c40361eac4b
2023-05-19 08:35:26 -04:00
Sébastien Blin
d17578ffa7 packaging: fix build for Qt6 webengine
Fedora:
"WARNING: QtWebEngine won't be built. Python3 html5lib is missing."
Ubuntu 20.04:
Curl not found for nodejs

Change-Id: Ic35aee309f25be20a8934b5033e3fe3ea0a8b6c0
2023-05-16 13:51:10 -04:00
Sébastien Blin
fa406c70eb packaging: add submodules to packaging
Change-Id: I820865a0477aaab73f79dc504f35a668fc076603
2023-05-16 13:51:10 -04:00
Andreas Traczyk
8db188c513 chat: preprocess text msgs w/md4c+tidy-html5
Introduces MessageParser to encapsulate text treatment for raw text messages.

The async parsing sequence is as follows:
- Markdown -> HTML (md4c)
- link coloration (tidy-html5)
- notify UI
- request link preview info from PreviewEngine for the first link
- Preview engine uses QtNetwork instead of QtWebengine
- Linkification is handled by MessageParser instead of linkify.js

QtWebengine is no longer required for message parsing.

Gitlab: #1033
Gitlab: #855
Change-Id: Ief9b91aa291caf284f08230acaf57976f80fa05b
2023-05-15 15:44:20 -04:00
Sébastien Blin
4d2c55348b packaging: migrate from Qt 6.2.3 to 6.4.3
Python2 is removed from Debian stable/unstable and
latest Ubuntu. So, we need to use a newest version of
Qt (here Qt 6.4.3).

Change-Id: I6c8b1eee644aab787d54e467f64011762ffd7548
2023-05-15 11:27:50 -04:00
Sébastien Blin
668e6dbe24 packaging: add fedora 38, ubuntu 23.04
Ubuntu 23.04 is not yet functional due to python2 missing.
We're working on fixing Jami for Qt 6.4 (they changed the whole video
pipeline and introduced some breaking changes).
Fedora 38 is working fine.

GitLab: #1086
Change-Id: I51bbecdfbcf908e2bf57c4c002ef4216a34d746d
2023-04-26 14:48:03 -04:00
Maxim Cournoyer
f6c8197cba Reinstate "cmake: Simplify lookup logic for libjami headers."
The commit was reverted in 2b7a421e due to breaking some of the
packaging builds.  This has now been rectified.

Change-Id: I3ea67962cc65f243f106fe00316634d580f51a52
2023-04-26 14:38:58 -04:00
Maxim Cournoyer
72a266dc41 packaging: Only rebuild source tarball when tarballs manifest changes.
This partially reverts commit 6e0a30024bd5d0f24f8c16960a56b02737bf0131
from the former jami-project repository ("build: Improvements to the
generation of the release tarballs."), which caused the source tarball
to always be rebuilt, even in the absence of changes.

This gets in the way when testing the various packaging targets, so
revert it.

* extras/packaging/gnu-linux/Makefile (release-tarball): Do not always
clear the tarballs.manifest file.  The purge-release-tarballs target
can be used for that.

Change-Id: I30ebda8dc258d0c95c6cf7e02a814627ac5b812b
2023-04-17 11:53:54 -04:00
Andreas Traczyk
66e0e21482 packaging: windows: optionally skip windeployqt
This is a big time saver in the context of CI testing where we only need to supply some env vars instead.

It would also be nice to also have the env vars filled out for CMake-generated project runtime configs to prevent unnecessary deployment for development builds, but that's not done in this commit.

Change-Id: I338827cb87c9fc71c9a6b4b3076b22aa7cf7cfa3
2023-04-14 15:19:48 -04:00
Andreas Traczyk
9e9b368deb misc: remove --force when calling qmlformat
It doesn't work with JS arrow function syntax.

Gitlab: #1059
Change-Id: I7da9c8ee7a2cb470aeb76cf4d1d0937e621eb221
2023-04-14 09:06:44 -04:00
Andreas Traczyk
be32998ff1 misc: don't --normalize when using qmlformat
Removes some intelligent grouping in the code. Perhaps normalization can be selectively done to the the strings and theme files at some point.

Gitlab: #1059
Change-Id: If9b0363567bc715dca0bdb4e3662612a5b159361
2023-04-13 16:17:21 -04:00
Andreas Traczyk
ae1cde4dc1 misc: format QML files using the python format script
+ Requires that the Qt path is supplied when calling build.py --init.
+ format.py now also takes a --qt argument to specify the Qt path, used to locate qmlformat.
+ format.py takes a --type argument to specify the type of files to format (qml, cpp, or both).

qmlformat is called with `--normalize` and `--force`.

Gitlab: #1059
Change-Id: Id9ff4b17018370696792b44f55ed2f4bc8091193
2023-04-13 13:08:57 -04:00
Andreas Traczyk
a8f48df4f9 misc: use qt path instead of version as parameter in build scripts
This homogenizes the script calling convention with other platforms, and will allow for a cleaner approach when searching for Qt tools (qmlformat).

Gitlab: #1059
Change-Id: I540ff61bd92186bb5a2998670665631e352852b9
2023-04-13 13:08:57 -04:00
Andreas Traczyk
f3a578d8ac misc: migrate source formatting script to python
Devs will need to remove the existing pre-commit hook or regenerate the hook with `build.py --init`.

Gitlab: #1059
Change-Id: I1cec9150c7781d769cb229dfd170a9dcfc819edb
2023-04-13 13:08:57 -04:00
Andreas Traczyk
797fe6b297 packaging: fix beta build for Windows
CMake build type shouldn't include "Beta".

Change-Id: I38e92a7d821c8a55614b82da1e0bae69862368ec
2023-04-07 19:14:23 -04:00