1. 26 Aug, 2016 2 commits
    • Stepan Salenikovich's avatar
      delete build-system dir · c3f08cb9
      Stepan Salenikovich authored
      The files in this directory are outdated (for sflphone) and no longer
      used.
      
      Change-Id: Ic8aa820c842b31414656c7dae0be433932941bca
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      c3f08cb9
    • Guillaume Roguez's avatar
      add a restcpp API backend · 09d7b43f
      Guillaume Roguez authored
      This commit offers an alternative to the dbus client to communicate with
      a headless daemon. It uses restbed, a cpp framework for RESTful services.
      
      This commits wraps up:
      - The source of the restbed implementation (in bin/restcpp)
      - The integration of the target to the configure.ac
      - documentation
      - Add external restbed library to contrib:
        - rules.mak file, to download the version 4.0, and compile it
        - Patch for ASIO, a dependency of restbed
        - Patch for the CMakeLists.txt file, to correct the installation path
      
      [guillaume.roguez@savoirfairelinux.com: merged with Simon Zeni patch to support restbed into contrib]
      [guillaume.roguez@savoirfairelinux.com: add tuleap ticket number]
      [guillaume.roguez@savoirfairelinux.com: fixed configure.ac --without-restbed behavior]
      
      Change-Id: Id49a1a04b05aac1e803981833abe5564785fb801
      Tuleap: #498
      Reviewed-by: default avatarAlexandre Lision <alexandre.lision@savoirfairelinux.com>
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      09d7b43f
  2. 24 Aug, 2016 2 commits
    • Guillaume Roguez's avatar
      media: fix wrong framerate emulation timing · 15f6d173
      Guillaume Roguez authored
      A regression introduced by commit 88405c00 causes
      framerate emulation not using the correct timing.
      milliseconds was wrongly used in place of microseconds.
      This patch changes this fact.
      
      Change-Id: I29453582ce4f0a8f34838caea4a2ee9be5592dbe
      Tuleap: #914
      15f6d173
    • Guillaume Roguez's avatar
      remove dead code about ZRTP · ed58b69e
      Guillaume Roguez authored
      ZRTP is not longer supported since long now.
      Many code and API are deprecated and public API is stubbed.
      This patch removes all this dead code.
      
      Change-Id: Id86315ecf461deee7c81b303e19a5d4d9b5c3cc1
      Tuleap: #889
      ed58b69e
  3. 19 Aug, 2016 3 commits
  4. 18 Aug, 2016 4 commits
  5. 17 Aug, 2016 9 commits
    • Guillaume Roguez's avatar
      configure.ac: remove a non-valid character · e1081be4
      Guillaume Roguez authored
      This patch removes a non-valid character inside HAVE_COREAUDIO.
      This char is difficult to see if you editor is not able
      to show non-valid char.
      
      But carefully checking configure log show this text without the patch:
      
      ./configure: line 6831: $'\302\240test': command not found
      
      You can also see it using Emacs that detects such bad char.
      
      Change-Id: I1e1e62fb6e03c42ac9d9758bc44db33fad088482
      Tuleap: #909
      e1081be4
    • Guillaume Roguez's avatar
      media decoder: missing a break · f6290ea1
      Guillaume Roguez authored
      A break missing into a switch in MediaDecoder::correctPixFmt
      causing invalid handling of AV_PIX_FMT_YUVJ440P input value.
      
      Change-Id: I216797df58938212e83195dfc9dbfe4d0aba5a8f
      Tuleap: #909
      f6290ea1
    • Guillaume Roguez's avatar
      ringdht: add missing return statement · d9c847c0
      Guillaume Roguez authored
      Add a return to an error handling of unwaited rx IM msg.
      
      Coverity CI # 1296815
      
      Change-Id: Ib4503f639e80f7a24e039043f70f8597b6f141d4
      Tuleap: #909
      d9c847c0
    • Guillaume Roguez's avatar
      security: fix resource leaks in TlsVAlidator · f0449b12
      Guillaume Roguez authored
      This patch fix two calls to strdup() without any free().
      
      Change-Id: I8619794e71d4165c154ba6ddd89bf6237e444a67
      Tuleap: #906
      f0449b12
    • Guillaume Roguez's avatar
      RingAccount: fix uninitialized class members · 99cd560e
      Guillaume Roguez authored
      Set true as default value to members:
      allowPeersFromHistory_
      allowPeersFromContact_
      allowPeersFromTrusted_
      
      Coverity CID # 1369576
      
      Change-Id: I38499608ee35692e96c511f08d261eea8ad9b72b
      Tuleap: #909
      99cd560e
    • Guillaume Roguez's avatar
      sip presence: fix uninitialized class member · 1403a9bb
      Guillaume Roguez authored
      Set default value of mutex_nesting_level_ to 0.
      
      Coverity CID # 1291689
      
      Change-Id: Ib794fe5a90679669c837e2ad8064998caae01f42
      Tuleap: #909
      1403a9bb
    • aviau's avatar
      fix check for zlib · a77d6be3
      aviau authored
      AC_CHECK_LIB was not correctly checking for the presence of zlib.
      We use PKG_CHECK_MODULES instead to add -lz to libring_la_LDFLAGS.
      
      Change-Id: Icfffb898030f886aae8c2c82dc5327f923f0f78e
      Tuleap: #746
      [stepan.salenikovich@savoirfairelinux.com: modified to use PKG_CHECK_MODULES and ZLIB_LIBS variable instead of -lz]
      Signed-off: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
      a77d6be3
    • Guillaume Roguez's avatar
      TlsValidator: fix uninitialized member · 2f9f6b0d
      Guillaume Roguez authored
      Init default value of caValidationOutput_ member of TlsValidator class.
      This prevents warns from static coverage tests.
      
      (issue detected by coverity.com analysis)
      
      Change-Id: Ib9a930bb233208cd99b7003d1a72b6d8003e3e9d
      Tuleap: #909
      2f9f6b0d
    • Guillaume Roguez's avatar
      fileutils: fix bad numeric comparison in loadFile · b4923aaa
      Guillaume Roguez authored
      The file size was wrongly checked in loadFile,
      giving a always true comparaison.
      
      (issue detected by coverity.com analysis)
      
      Change-Id: I2aa4f5c737df3a3b815caebc97bdc3820df8b534
      Tuleap: #909
      b4923aaa
  6. 16 Aug, 2016 1 commit
  7. 15 Aug, 2016 1 commit
    • Adrien Béraud's avatar
      sip: set transport secure state · b3b3a6ce
      Adrien Béraud authored
      When receiving an incoming SIPS or Ring call, enforces the
      secure state of the media as it should be per the SIP
      standard.
      
      Also prevents to accidentally configure an insecure
      transport on a secure call.
      
      Change-Id: I28836c76f79218a026b07d7c182adbaaf50aedbb
      Tuleap: #901
      b3b3a6ce
  8. 14 Aug, 2016 1 commit
  9. 12 Aug, 2016 1 commit
  10. 11 Aug, 2016 2 commits
  11. 10 Aug, 2016 4 commits
  12. 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
  13. 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
  14. 04 Aug, 2016 2 commits
  15. 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
  16. 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
  17. 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
  18. 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