This fixes errors with some macros/definitions
when we include ip_utils.h first then sstream.
Change-Id: I3be045bc4cc65c250edd032d3987fa4f16abc499
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Using Gzip allows unencrypted archives to be opened and manipulated by users/scripts
using standard Gzip tools.
Change-Id: I913351b8bf97a6d69b531386511fb03ce86ce67d
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
This patch makes possible to not encrypt RingAccount archive.
This is trigged with empty password strîng.
Change-Id: Ib848a413d91538a22b67b2f007a33e8d37500a94
* Use C++11 STL stuff to have more generic code.
* Allocate the vector once to improve runtime-performance.
Change-Id: Ic18d87d2abf83f7c934a8bc6598f36a71328fcd7
This as a refactoring of how we create a UDP connection
using classic socket.
This implementation is based on ip_utils::IpAddr classe.
This also fix WIN32 support (blocking socket) and host
address resolution.
Change-Id: I2e349a5e748c4c35f2a07f818c2cb85ea149335e
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
changed in place of deprecated one on lists.savoirfairelinux.net
Change-Id: Ide7420dda65e838a856c2245a956967a7383f869
Reviewed-by: Nicolas Jäger <nicolas.jager@savoirfairelinux.com>
* moved unit-tests into the dedicated directory unitTest
* removed no-more-used files
* common code style for test and usage of test_runner.h everywhere
* imported video_input changes by Olivier Grégoire (GSoC-2017)
Change-Id: Ifbb5585caaa2618c4ab943681814c9afbfc76311
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
make build faster by disabling the build of
doc, examples and tests subdirectories.
Also prevent potential build errors in those directories.
Change-Id: I14e5d62831301227c7250a3aaef55db20e8343c2
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
RingAccount::loadAccount() was called even on disabled account,
but this function does many activities like buddy presence.
This is not expected and not wanted.
Disabling this effect by checking if the account is enabled.
Change-Id: I911670163763faf41c6e5c4a4941e53c2e134847
Disable assembly on android x86_64 due to reloc errors.
Use x264 and FFmpeg's internal substitutes for log2 and log2f on android
32 bits.
Change-Id: I0c8b1a218d50b18e6340507e92ce481c4fedc75b
Further log cleanup for Android;
prevent showing the list of files for
build tools, which is almost never useful
and can print a lot of lines (eg. gettext).
Change-Id: Ic87fd110035c3d715273194efb360fbf19de6dab
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
* attempt to fix crash on Android
* move from sourceforge to bintray for hosting
Change-Id: Iadf789293b7302c768f79bd8388b25049bd44d51
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
Remove the naked curl command by using safer internal version.
(This has the good side effect to enable archive caching when available)
Change-Id: I126359db576c23d72487c6a3a37b4af316293391
Reduce build verbosity by not printing the list of files
unpacked from tarballs by default,
which can be huge (eg. boost) and pollutes build logs.
Change-Id: I6488de5accffe7ec1527dd9ac2f166474c1cf0ca
Building boost prints the full list of files copied.
There are more than 20 000 of them, which pollutes logs.
Disable boost build logs, developers working on boost contrib
packaging can still re-enable logs if they need to.
Change-Id: I205297ed091bf0a5540e47f23ce4b7be3ad1a296
Restbed crashes on Android with the following backtrace:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
native: pc 000000000001e598 /system/lib/libc.so (strlen+72)
native: pc 000000000002728d /system/lib/libc.so (strdup+4)
native: pc 00000000006d4a07 /data/app-lib/cx.ring-1/libring.so (restbed::detail::HttpImpl::to_bytes(std::__ndk1::shared_ptr<restbed::Request> const&)+1578)
This patch attempts to fix the issue.
Change-Id: I9bd05c47ae2be4e991364f9fa3192c7b17858d1a
iOS was on an older version because libav didn't support the newer
version of libvpx, but iOS is now using FFmpeg.
Change-Id: I02d1d7612e0ebd2dcaa2d87b970d5c9ef867e0d7
Until API supported substitutes for certain crypto functions can be
found, reverting to v3.4.17 will allow passage into the store.
This patch also reverts nettle to an earlier commit.
Change-Id: I5d9c2341113ccd3f99512ffa922e95dc7a5b89b6
pjproject 2.6 randomly crashes due to access violations. Until the
problem can be fixed, we can use v2.5.5
Change-Id: Icdaf565a0bbf45cab6046ddb3114e29ebedff694
Update Restbed to stable version 4.6,
and asio to the corresponding commit,
bringing many small fixes.
Change-Id: I3d258e9fd9a2ab876e33060d84301f1fda59dac6
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
"make check" command use cppunit and "sipp" for our tests framework.
Add them to our current validation docker file.
Also fix Acquire::Retries option (typo).
Change-Id: I92a1ad0b5aa3a8066c48445261ff38e4e5a01061
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
LDADDS was wrong and cause -lX11 being misplaced.
Removing extra uneeded libs attachement causing the problem.
Change-Id: Ic0c7aa5786f63d22a42eb80c123440495876f823
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
Detect custom ports for nameservers and use them.
Also catch getnameinfo errors and prevents to use bad info.
[Guillaume R.: better ci msg]
Change-Id: I78252a3efb463655f660dd073608ac1b94b8b0d6
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Specifies that the daemon is in version 4.0.0 and not Ring as a whole
Change-Id: Idb2ee245d474516a3ef8c6f8b2d4ce14d26cbcbb
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>