1. 11 Aug, 2016 2 commits
  2. 10 Aug, 2016 4 commits
  3. 09 Aug, 2016 1 commit
    • atraczyk's avatar
      daemon: add Microsoft libgen port · 3b2b66c6
      atraczyk authored
      Add replace dirname with _splitpath to facilitate native Windows
      building.
      
      Change-Id: I57712f9f9642c221555b522c312484fed0012f03
      Tuleap: #797
      3b2b66c6
  4. 08 Aug, 2016 1 commit
    • atraczyk's avatar
      daemon: avoid intrin.h conflict on Windows · c221eb0e
      atraczyk authored
      The Microsoft compiler will include the common header <intrin.h>
      regardless of the use of quotes. The file "intrin.h" should be renamed,
      and all references to it changed, as well as defining the UNUSED macro
      to nothing on the Windows platform.
      
      Change-Id: Id04d36e70d149746be8d78eed09aa963514b2810
      Tuleap: #801
      c221eb0e
  5. 04 Aug, 2016 2 commits
  6. 03 Aug, 2016 1 commit
    • Guillaume Roguez's avatar
      sdes: fix SdesNegotiator::negotiate() · ad8076ff
      Guillaume Roguez authored
      SdesNegotiator::negotiate() does an invalid check on given offered crypto-suite.
      The current setup is made in a way that this function always returns
      the remote crypto suite, supported or not! Dangerous.
      
      This patch fixes that by correctly comparing crypto-suite names.
      
      Change-Id: I0ef022486e00b5fef91d2552b83d57463282a683
      Tuleap: #747
      ad8076ff
  7. 02 Aug, 2016 2 commits
    • 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
  8. 01 Aug, 2016 1 commit
    • atraczyk's avatar
      daemon: add Microsoft dirent.h port · 053ab26f
      atraczyk authored
      Add a Microsoft port of dirent.h to support directory parsing
      functionality. It is named windirent.h to avoid cases where the
      compiler searches for headers in local directories first regardless
      of chevron wrapping.
      
      File source: https://github.com/tronkko/dirent
      commit bf060f1569b156a6df15ea01ea0b4b5465243f06
      
      Change-Id: I45bcf59883949a390b5471b62013a6d95d36903e
      Tuleap: #799
      053ab26f
  9. 27 Jul, 2016 2 commits
    • 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
      7fa53d79
  10. 26 Jul, 2016 2 commits
    • aviau's avatar
      Move dring to $(LIBDIR)/ring/dring · 63462a0c
      aviau authored
      In reaction to Debian bug:
       - https://bugs.debian.org/831978
      
      Accoding to the FHS[1]:
        Utilities used for system administration (and other root-only
        commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin
        contains binaries essential for booting, restoring, recovering, and/or
        repairing the system in addition to the binaries in /bin. [18]
        Programs executed after /usr is known to be mounted (when there are no
        problems) are generally placed into /usr/sbin. Locally-installed
        system administration programs should be placed into
        /usr/local/sbin.
      
      1. https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SBINSYSTEMBINARIES
      
      Change-Id: I13e16eb0e7750fc84d5f44c53da63ad0aebbe240
      Tuleap: #860
      63462a0c
    • Adrien Béraud's avatar
      NAT-PMP: improve connectivityChanged support · 65f7fffb
      Adrien Béraud authored
      Will properly check for a valid PMP IGD,
      clear and reopen ports in case of connectivity change.
      
      Change-Id: I47acfa9027217f5ba9f6c6c5b99d46abf5908e31
      Tuleap: #805
      Tuleap: #841
      65f7fffb
  11. 25 Jul, 2016 3 commits
  12. 22 Jul, 2016 1 commit
    • 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
  13. 21 Jul, 2016 1 commit
    • Simon Zeni's avatar
      fix pinCertificate infinite loop · eb67d2fc
      Simon Zeni authored
      This fix the infinite loop at the call of the function
      pinCertificate using a vector<uint8_t> as an argment
      
      Change-Id: Ifc30c925e85d745dea3d76066dd547065cd0760d
      Tuleap: #861
      eb67d2fc
  14. 20 Jul, 2016 3 commits
    • atraczyk's avatar
      daemon: replace remaining usleep with sleep_for · 88405c00
      atraczyk 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
      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
  15. 19 Jul, 2016 2 commits
    • 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
  16. 18 Jul, 2016 1 commit
    • 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
  17. 13 Jul, 2016 1 commit
    • 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
  18. 11 Jul, 2016 1 commit
    • 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
  19. 10 Jul, 2016 1 commit
  20. 08 Jul, 2016 1 commit
    • 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
  21. 07 Jul, 2016 7 commits