Fix following comment and recommandations:
- Use DateTime? type instead of int64?
- check the computed delay value against sane values
- use a HashMap to keep track of timers and cancel them on connection
closed
- add equals and hash funcs to XmppStream to use with the HashMap
- rename the callback to reflect its meaning
- test the TURN server conf before STUN default server
Add a field in `Xmpp.Xep.ExternalServiceDiscovery` to keep track
of the `expires` TURN service value and use it (divided by 2) to
restart periodically the external services discovery.
This commit reverts online/offline addings, but keeps possibly useful
functions for better future. Right now functions with online
functionality saved but unused, they are replaced with almost the same
functions. Names was kept as much as possible.
This commit is to implement follwoing changes:
- closes#91;
- Mention that GPG key may be expired or revoked:
in the account dialog if the number of OpenPGP keys found is 0,
the label also notes that a key may have been revoked or expired;
- blocks input in chat box if key is use is revoked or expired;
(cherry picked from commit 2f3ddad1e87f99cdda9d42dbabc528c2b29c0476)
Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
The VoiceProcessor and EchoProbe plugins have fixed caps: rate=48000,channels=1.
There is no such cap on windows, hence append explicit resampler and converter.
Fixes upstream issue #1350.
Notes:
Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
(cherry picked from commit 700708b7e10ce1110528a2b83b854fae3f6be95e)
Unified test launch for both meson and cmake: make/ninja test.
Support tests for cmake through ctest.
Enable jid test in libdino.
Enable tests for win64 CI/CD.
While using meson some issues were faced with link and application
startup. This commit is to put fixes for the following issues:
- missed conversation_details.css file;
add conversation_details.css to the main/data/gresources.xml;
- the 'localtime_r' symbol can't be found while linking application
add POSIX_C_SOURCES=1 macro definition
- meson configure complains that xmpp-vala package version is not set
set xmpp-vala version to 0.1
- application startup failures due to unresolved symbols while creating
initial UI
fix: put '--export-all-symbols' to the main/meson.build for mingw64 build
- segmentation fault while running app built by meson
meson.build: add _WIN32 definefor vala compilation
- main/meson.build: add _FILE_OFFSET_BITS definition (sync with cmake
cfg)
- main/meson.build: compile window resources (fix missed window icon)
Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>