* 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>
During a VP8 video call on the android client, the peer video freezes.
Optimizes android video buffers using an array instead of a vector. Lets
VP8 decide when to send a keyframe.
Change-Id: I19893c2ac080782daee72958fb6c174eea42037a
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
* wip/nodejs:
added correct newCallCreated callback
nodejs: callbacks get queued to run on main loop
nodejs: added data structure conversions and more callbacks
nodejs: fix build error
nodejs: created RingDaemon JS Class
Added Typemaps to handle Callbacks
nodejs: added more callbacks
nodejs: implement two Javascript callbacks
bin: allow to build multiple subdirs
nodejs: build with ring
nodejs: build module after generating bindings
update for latest daemon API changes
remove unneeded file
fix include
gyp: link with dring
Included dring source directory in binding.gyp file
nodejs: add initial module
Change-Id: Ia9df106109531d6f27b0621c3d2ee433ee3460fc
refactor the sdp dump over the code to prevent a=crypto lines
to be dump into non-secure streams (like system logs).
Change-Id: Ib8de7391475397668b50a351898da9f774ed9dfd
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
* fix non-initialized memory at SRTP session creation.
* fix invalid access when SRTP session is free in some conditions.
Change-Id: I95a1e2cd45b8007cb20445ca219f8e667e977656
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
Added functions to convert C++ map<string, string> and vector<int> to native JS objects
Also added 5 more callbacks that depended on above mentioned data structures
Change-Id: I10715d69446c15906feed526fff178c27703af10
Moved 'build/Release/dring.node' from BUILT_SOURCES to CLEANFILES
This fixed the build error where compiler could not find rule to make target
Change-Id: I6a2dd573894c8003489fcac5011229be2b1c7fa3