Skip to content
Snippets Groups Projects
  1. Aug 02, 2016
    • Adrien Béraud's avatar
      archiver: resize compressed data to actual size · 6545b2ce
      Adrien Béraud authored
      archiver::compress used to rely on compressBound, but the actual
      compressed size might be smaller, leading to larger output (with
      trailing zeroes).
      
      Change-Id: Ic33614f2d6bc648e59a76dec7275e71466ecaff1
      Tuleap: #888
      6545b2ce
    • Guillaume Roguez's avatar
      reduce UDP payload size to 1232 · 5a09b307
      Guillaume Roguez authored
      This patch reduces the maximal payload of all UDP stream to 1232 bytes.
      This value is computed from the minimal MTU requested by rfc 2460
      to support IPv6.
      This value ensures that common networks (going to IPv6) support
      a large enough packet size to be efficient, but a minimal size to
      not be fragmented. This last case has a great incidence on packet drop
      and reordering and validated by heuristic.
      
      Change-Id: Icee79bb25b2fdcc70fef3efb4527209f8309be61
      Tuleap: #887
      5a09b307
  2. Aug 01, 2016
  3. Jul 27, 2016
    • Simon Désaulniers's avatar
      contrib: bump opendht -> 0.6.3 · a386003f
      Simon Désaulniers authored
      * Add Microsoft compiler support;
      * Work around the issue compiling on Apple's LLVM 7.3.0;
      * Add Network id feature;
      * License OpenDHT compatible with GPL>=3;
      * Adding cryptographic API;
      * Consistent library naming between diffrent build tools.
      
      Change-Id: I4e7a53619d89f7b2034326ea8d5f75848335c533
      Tuleap: #556
      a386003f
    • aviau's avatar
      Contrib: new --no-checksums parameter · 7fa53d79
      aviau authored
      The new --no-checksums parameter allows for skipping checksums
      verifications. This can be used to replace tarballs and still use the
      contrib system.
      
      This is useful for atleast the two following cases:
      
       - Distro developper needs contrib to patch the source, but has the
         original source in the distribution.
      
       - Distro developper repacks the source, breaking the checksum.
      
      Change-Id: I015ce3d0f6f4fb2f5fd5ec2f95528bfb4b045298
      Tuleap: #879
      Unverified
      7fa53d79
  4. Jul 26, 2016
  5. Jul 25, 2016
  6. Jul 22, 2016
    • Stepan Salenikovich's avatar
      add connectivityChanged API · 20f40205
      Stepan Salenikovich authored
      This allows the clients to notify the daemon when the conenctivity
      (ie: network status) has changed. The daemon will then try to detect
      the new IGD (UPnP) and re-connect all enabled accounts.
      
      Change-Id: I5c8fc57f75e48d86eda5d195b0586c61a26134ad
      Tuleap: #841
      20f40205
  7. Jul 21, 2016
  8. Jul 20, 2016
    • Andreas Traczyk's avatar
      daemon: replace remaining usleep with sleep_for · 88405c00
      Andreas Traczyk authored
      Provide better cross platform compiler compliance by using c++11
      standard library's std::this_thread::sleep_for.
      
      Change-Id: Ib0ef9bec8336ae620315c05b53706e4605ab00fb
      Tuleap: #794
      88405c00
    • aviau's avatar
      Allow for disabling contrib downloads · 451d6973
      aviau authored and Guillaume Roguez's avatar Guillaume Roguez committed
      This adds the support for the DISABLE_CONTRIB_DOWNLOADS environment
      variable. It if it set to TRUE, the contrib system will not download
      tarballs from the internet.
      
      It can be set from the bootstrap script with the --disable-downloads
      option.
      
      This is useful for distro packaging because distribution developpers
      have to make sure they have full control of what is included in the
      package. In Debian, some tarballs are included such as pjsip but the
      rest should not be downloaded. A small mistake such as a missging build
      dependency could cause a tarball download. This new options will help
      pervent such issues.
      
      Tuleap: #847
      Change-Id: I5f579774c53def751111f9366750670fcd75d893
      451d6973
    • Simon Désaulniers's avatar
      contrib: bump opendht -> 0.6.2 · b469ecdd
      Simon Désaulniers authored
      
      * Permanent 'put' feature;
      * Enhanced search's nodes handler algorithm;
      * fix bug when IPv[46] empty table, would not call some callbacks;
      * man page for dhtnode;
      * support for make DESTDIR= syntax;
      
      Change-Id: I0ae58edb706a6344a45fc7c254c7cd29ef8bc90a
      Reviewed-by: default avatarEdric Milaret <edric.ladent-milaret@savoirfairelinux.com>
      b469ecdd
  9. Jul 19, 2016
    • Stepan Salenikovich's avatar
      sipaccount: call SIPStartCall after returning call · 9b4e874e
      Stepan Salenikovich authored
      Some functions in SIPStartCall can take a long time to return, such
      as ICE initialization. This allows the manager to return the callId
      in outgoingCall() to the client sooner and so prevents the UI from
      freezing.
      
      Change-Id: I87b0c4b5d56f69e087f0117b2b78daa026679aab
      Tuleap: #620
      9b4e874e
    • Stepan Salenikovich's avatar
      ringaccount: perform ICE init after returning call · e4daf6cd
      Stepan Salenikovich authored
      This way we don't have to wait for the ICE init before the manager
      can get a callId to return to the client. The ICE init can take a long
      time in certain cases (eg: bad TURN password, slow UPnP) which causes
      the UI to freeze while waiting for the daemon to return outgoingCall()
      with the callId.
      
      Note this changes the behaviour of the daemon slightly. Before if the
      ICE init failed then no callId would be returned. Now the callId is
      always returned and the call will later emit a state change of Fail if
      the ICE init fails.
      
      Tuleap: #620
      Change-Id: I712d1d52be9e9b809b794bb7694ad31bdd2e3bb1
      e4daf6cd
  10. Jul 18, 2016
    • Guillaume Roguez's avatar
      manager: make addTask method thread safe · 2f006c57
      Guillaume Roguez authored
      The code of Manager::addTask() has a comment
      about the fact that this function is not thread-safe
      and must be called by the same thread calling Manager::pollEvent().
      But many part of code seem not taking in account this notice
      and call it outside of the correct thread.
      
      This ticket fixes this by using a mutex.
      
      Change-Id: I82d4cc2d6f26c1157caae0e4826dbf96a73561c6
      Tuleap: #837
      2f006c57
  11. Jul 13, 2016
    • Guillaume Roguez's avatar
      Revert "NAT-PMP: add initial support" · 1afa10bc
      Guillaume Roguez authored
      This reverts commit 150035a8.
      
      reasons of the revert:
      - doesn't link on Mac
      - doesn't build on IOS
      - build and link on linux, but the shared library is not found in rpath
      
      Change-Id: Ie2eb1fe587adea1b607fde727abe6c641762495b
      Notes: libnatpmp is not used on Android
      1afa10bc
  12. Jul 11, 2016
    • Adrien Béraud's avatar
      NAT-PMP: add initial support · 150035a8
      Adrien Béraud authored
      * add optional dependency to libnatpmp
      * can run with or without UPnP
      * transparently replaces UPnP when available
      
      Change-Id: I8477f3d91d8185f7872a3e00600daa7755ac0eee
      Tuleap: #805
      150035a8
  13. Jul 10, 2016
  14. Jul 08, 2016
    • Edric Milaret's avatar
      bump jsoncpp · 7e8dac52
      Edric Milaret authored
      Jsoncpp was made compatible with GCC6 in version 1.7.1
      1.7.2 is just a warning fix for clang
      
      Change-Id: I9e5bf113c6b8494616251d5a4cc990550cee37ce
      Tuleap: #687
      7e8dac52
  15. Jul 07, 2016
    • Stepan Salenikovich's avatar
      configure: remove --with-tls and --disable-dht · 3932c08d
      Stepan Salenikovich authored
      Ring no longer builds without GnuTLS and/or without openDHT, nor
      are we planning to support building Ring without them, so these
      should not exist as configuration options.
      
      The related preprocessor conditionals have also been removed.
      
      Change-Id: I8416ecc48f13a3fb77d9eb7d349b81f226e863f1
      Tuleap: #739
      3932c08d
    • Guillaume Roguez's avatar
      build: cleanup video Makefile · 3ec6d745
      Guillaume Roguez authored
      
      Removed a non-existing file into dependency list
      
      Change-Id: Idb8a7e49e6ab79b4c1534b90dbb0bfb2058e8c85
      Reviewed-by: default avatarEdric Milaret <edric.ladent-milaret@savoirfairelinux.com>
      3ec6d745
    • Stepan Salenikovich's avatar
      configure: remove --without-instant_messaging · 7cf181ac
      Stepan Salenikovich authored
      Ring does not build with this option. Instant messaging is now a
      core functionality of Ring, so there is no reason to support building
      Ring without it.
      
      Change-Id: I2dfa06a711aaabb27c62fef96d9ec12c8f4f08b8
      Tuleap: #739
      7cf181ac
    • Edric Milaret's avatar
      ios: disable non-compatible part of coreaudiolayer · 20c285b4
      Edric Milaret authored
      Device management is done another way in iOS thus we don't have
      access to CoreAudio/Hardware in CoreAudio framework. Disabling those
      part allow us to compile. Maybe some things will need to be rewritten.
      In this case it we'll be done in another patch (either as fixing
      existing code or as another layer if need be)
      
      Change-Id: I9f8e365bb173cf1df8bd6431371b844b092ec0cb
      Tuleap: #313
      20c285b4
    • Edric Milaret's avatar
      ios: optimize gmp and nettle · 8ea43ee9
      Edric Milaret authored
      This greatly improve ringID generation from 2m30s-2m50s to 40s-50s
      (tested on iPhone 5S)
      
      Change-Id: I8a469d68a5a1869bd2daa800dd2d2d5eed949466
      Tuleap: #313
      8ea43ee9
    • Edric Milaret's avatar
      ios: reactivate assembly where possible · 19acdd2e
      Edric Milaret authored
      reactivate opus and nettle assembly
      
      Change-Id: Ia4111c966d12c33e6dd66a6541cadd2614009d2c
      Tuleap: #313
      19acdd2e
    • Edric Milaret's avatar
      ios: add contrib rules for ffmpeg, x264 and vpx · 20d7b9b1
      Edric Milaret authored
      - bump vpx only for ios as libav
      doesn't support new vpx version
      
      Change-Id: I980680bf2d57b52b13e483dbdb1cf9da61ff4970
      Tuleap: #313
      20d7b9b1
    • Edric Milaret's avatar
      ios: fix gsm build · 4944e0c7
      Edric Milaret authored
      Change-Id: I2e7798dd624209f67139b5e39d8d87507a56900f
      Tuleap: #313
      4944e0c7
    • Guillaume Roguez's avatar
      contrib: require version 3.4.14 of gnutls · 48e70d7c
      Guillaume Roguez authored
      gnutls 3.4.14 has just been released.
      This release contains our DTLS patch, so this patch
      set this version as minimum and removes the DTLS patch.
      As gnutls is updated, this patch removes also the build force
      on nettle, removes deprecated format-security patch and
      disable non-suitb curves to let gnutls link with some system
      provided nettle (like on Fedora).
      
      Change-Id: I073b7409138310c1d749e5ef5a9ddd3937dc1d4a
      Tuleap: #783
      48e70d7c
  16. Jul 04, 2016
    • Stepan Salenikovich's avatar
      speexdsp: use fixed commit-id than HEAD tag · d42c72a6
      Stepan Salenikovich authored
      HEAD is a non-fixed commit-id. Builds based on it cannot be repoduced
      as this Id is not trackable.
      Replaced with latest commit-id availaible on master.
      
      Tuleap: #762
      Change-Id: I8ea98e49b89e798cabb7d4055bbeceb08af90ff0
      d42c72a6
    • Edric Milaret's avatar
      ios: fix dht certificate path · e66ba708
      Edric Milaret authored
      We can't save and use the fullpath of the certificate as it change
      at each start on Simulator and at update on real device
      
      Change-Id: I82e6e3c500cd6396edeca6c72785d82aee311979
      Tuleap: #313
      e66ba708
    • Edric Milaret's avatar
      ios: don't build contrib uuid · 4b4dcdfc
      Edric Milaret authored
      This functionality is provided in the kernel. Therefore conflict happens
      between the two uuid.h.
      
      Change-Id: I39f0c5d06896c218a8efad41c9c014a6cc73bdf7
      Tuleap: #313
      4b4dcdfc
  17. Jun 30, 2016
  18. Jun 28, 2016
    • Guillaume Roguez's avatar
      contrib: fix PKG_CONFIG_PATH environment variable · 7479d74c
      Guillaume Roguez authored
      main.mak adds local pkg-config paths to the env. var. PKG_CONFIG_PATH
      after the existing configuration, so local are tested after globals.
      This is an issue if globals contains a package outdated for our needs.
      The local setting must be first.
      
      Change-Id: I8f9e060f05d4ac662ac5c23b0dbeaea3b67bd401
      Tuleap: #783
      7479d74c
  19. Jun 24, 2016
    • Guillaume Roguez's avatar
      tls_session: fix extra packet send by gnutls · 8ca874d7
      Guillaume Roguez authored
      Sometimes the gnutls function gnutls_record_send() reports
      to have sent more bytes than given.
      This is happen if we don't flush the internal state of gnutls records
      or if we don't try to loop with same arguments until we get a positive
      value or not GNUTLS_E_INTERRUPTED neither GNUTLS_E_AGAIN.
      When not done correctly the receiption see 2 packets: one of the
      correct size and another with extra bytes, filled with zero's.
      
      This patch fixes this situation by loop on the gnutls send function
      until we get a return value different of ones given upper.
      We ensure also to return -1 in case of error in low-level send functions.
      
      Change-Id: I209ceba2e25fc7b299c38348cf36801a722af2d7
      Tuleap: #798
      8ca874d7
  20. Jun 23, 2016
    • Guillaume Roguez's avatar
      security: re-enable anonymous gnutls handshake · 46285595
      Guillaume Roguez authored
      This patch imports a gnutls upstream patch to fix the DTLS packet
      re-ordering and re-enable our anonymous call feature.
      
      We bump gnutls at least on 3.4.14, even if not published yet,
      as the upstream patch will not be available since this version.
      We continue to use the 3.4.10 release to apply our local patch.
      
      We force also our contrib nettle to be build as some distributions
      do not compile this library as we need to.
      
      Change-Id: I3238993d56b41258f214cfaba7230dcd0538c5d2
      Tuleap: #788
      46285595
    • Guillaume Roguez's avatar
      security: fix crashes during DH generation · 74151247
      Guillaume Roguez authored
      When DH parameters are generated an error can occures
      and an empty (default constructed) DH params instance
      is returned.
      This causes a crashes into ring account code that not
      handles such case.
      
      This patch fixes this issue by adding operator bool()
      method to DH params and checking if not false when
      trying to save them.
      
      Note: If no DH params are generated, the empty instance
      is given up to the TlsSession object.
      Check if your cipher suite could handle empty DH params!
      
      Change-Id: I98c9c0317f4b8cb107ea0bca5f94b69321cbba76
      Tuleap: #792
      74151247
Loading