If there was too much following merge commits, sometimes the
conversation was not correctly loaded.
Moreover, the lastMessageUID was not correctly calculated from
time to time, leading to empty conversations in the smartlist.
Change-Id: I1224269c5df72936ae51f34211ce3f63dbf606ff
Changing the source size property of the QML Image component causes
a reload using the new source dimensions. The image loading process
was triggering reloading that was not recognized as a binding loop.
This commit also corrects the image sizing algorithm to prefer and
restrict height, which prevents images that are too tall from
taking up too much vertical space in the chat list view.
GitLab: #857
Change-Id: I049b1bb8ea4d23a753e7b54de884d9c1eafdf83c
- camera stays open after call with dbus
- camera stays open after call to account on same device
Change-Id: I2f2adf37b681009adfced6fe4d02d326b9408866
GitLab: #858
This fixes a binding loop, but introduces another less fatal one,
since commit d6ed9adf.
Change-Id: I67934b4cdde2efe04e20064fe41191241b0689b9
GitLab: #857
This allows invoking cmake with -DWITH_DAEMON_SUBMODULE=true to use
the daemon header files and library from the submodule. Note that it
is currently still necessary to build the daemon separately first,
either manually or using the build.py convenience script.
The goal is to eventually add support for building the daemon with
CMake in the future, so that we could add_subdirectory(${DAEMON_DIR})
in client-qt's CMakeLists.txt and have CMake take care of everything.
Change-Id: I3a16c44837e6c79616b3101fea8a6ff3defa3ab5
* extras/build/cmake/modules/FindLibJami.cmake: find_library's NAMES
option can take multiple library names. So, just use that instead of
multiple almost-duplicate calls to find_library for trying different
names.
Change-Id: I9ae5d96e1abcb8117ad65b79b3cc27424b4f87d7
Now that there is no longer a second official client (jami-gnome), we
can remove this uninteresting implementation detail from the name.
Mostly automated via:
$ git grep jami-qt -l | xargs sed 's/jami-qt/jami/g' -i
* src/app/jami: Delete launcher script.
* CMakeLists.txt: Un-register it from installation.
Change-Id: I5167c29089feb4e64c12d7d01c1ce281e16c0613
This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.
GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
By removing the onVisibleChange from the LocalVideo, and leaving
that logic to the widget parents, we cleanup the noisy sink
(un)registrations.
Change-Id: I569e0529087be1e697178085cb59c1c18c52f2c6
-Emojis are shown without bubbles when sent alone
-Changes on message reply design ( animation now include files and emojis)
GitLab: #690
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
Change-Id: I81d128367a9c393c76493e02ce88daf4f6a11bf4
Introduces some new, more composable base components in an effort
to reduce synthetic "editing" states and have a more natural focus
change response.
Change-Id: I35a51f93ad6f92c0154fd0c40e944af6f54cbba2
Didn't use BaseModalDialog:
- class doesn't adapt to content size
- can't be changed without breaking other popups
Change-Id: Id62febfe7651481fe4fb666b2d09c624d7f4fb6d
Gitlab: #844
-Tips are no longer deleted
-Tips are shown randomly
-Custom tooltip and backup tooltip are shown first if needed
Gitlab: #846
Change-Id: Icadc1dcef23ff7d5783e840d3d1528d399166e24
* .gitmodules: Set the 'branch' property for the SortFilterProxyModel
submodule to 'qt-6'. This is needed because by default git picks
'master' when the '--remote' option is given for submodule update,
and our fork of the SortFilterProxyModel repository currently has the
latest changes only in the 'qt-6' branch.
Change-Id: I3d7797d847324ff4a7268f682b11ec88630931fa
* CMakeLists.txt: Prepend CMAKE_PREFIX_PATH with the location of
libavutil.pc from daemon's contrib before trying to find libavutil
using pkg-config, and remove it afterwards. Further, there is no need
to link the application executable against libavutil; the application
only needs its headers (libclient, however, does already link against
libavutil).
Change-Id: Iffa5af43bfd1bb62bc24cc94dce292f87e9ecb2a
* src/libclient/CMakeLists.txt: Set the right 'hint' path for the call
to find_library for ffmpeg avutil from daemon's contrib, to match the
directory name used by daemon's 'contrib/bootstrap' script: the name
of the directory is the value returned by the C++ compiler (either GNU
or Clang) when invoked with the '-dumpmachine' option.
Change-Id: I03de150aa941a1e32471e5b4cbe507e5d09787f5
Otherwise, when libjami is compiled as a shared library and
dynamically linked with all its dependencies (including ffmpeg), the
build would fail with:
ld: src/libclient/liblibjamiclient.a(directrenderer.cpp.o):
undefined reference to symbol 'av_frame_alloc@@LIBAVUTIL_56'
ld: /gnu/store/...-ffmpeg-jami-4.4.2/lib/libavutil.so.56:
error adding symbols: DSO missing from command line
* src/libclient/CMakeLists.txt: Call find_library for avutil, with
hints for contrib path on GNU/Linux and macOS.
[ENABLE_LIBWRAP]: Add target link to avutil if not on Windows.
Co-authored-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Co-authored-by: Amin Bandali <amin.bandali@savoirfairelinux.com>
Change-Id: Id9681132b046fd828002cd3daa24afc8a6dd1eae
This is an older issue that has resurfaced where mobile device rotation
at the beginning of a call cause a frame-copy to a stale buffer because
the DecodingStarted event is handled asynchronously.
Noticed on Windows but I believe any non-dbus build should have it.
So we make all the connections blocking and adjust some parameters.
This commit also removes the DecodingStarted handler in CallModel which
was causing the client's target video frame to be reallocated for each
account present.
Change-Id: I23ac4e0bd4b446e7a532f0d362f7ecd209d3c790
GitLab: #536
Starting from audio only call:
- start sharing;
- add camera;
- stop sharing;
The camera stream should remain and not the sharing one.
Change-Id: If6dd0fb7a6ddd8603626c66c792e75e3cf05275e
corrections:
- open on the same display,
- center to the parent window,
- has dimensions not more than the parent window
Change-Id: I2315d62fef6d830b6957770807ace462fbb77901
Gitlab: #774