Skip to content
Snippets Groups Projects
  1. Nov 14, 2022
    • Maxim Cournoyer's avatar
      Move xcb include/link directives from jami to libclient. · e2ce5c4d
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      Relates to <#882>.
      
      This problem was discovered when attempting to build the test suite:
      
         ld: ../src/libclient/liblibjamiclient.a(avmodel.cpp.o): undefined
         reference to symbol 'xcb_get_setup'
      
      * CMakeLists.txt: [!(APPLE or MSVC] Move xcb includes and link directives to...
      * src/libclient/CMakeLists.txt [!(APPLE or MSVC]: ... here.
      
      Change-Id: If9b6653e157081300caad8f13cafe4979a49630b
      e2ce5c4d
  2. Nov 02, 2022
  3. Oct 07, 2022
    • Amin Bandali's avatar
      misc: Clean up repository root. · 2fc8661d
      Amin Bandali authored
      This is the first in a series for cleaning up the top directory (root)
      of the repository and move various files/folders into nicely organized
      directory structures.
      
      GitLab: #749
      Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
      2fc8661d
  4. Oct 04, 2022
    • Amin Bandali's avatar
      build: Fix find_library for contrib avutil on GNU/Linux. · fb94c385
      Amin Bandali authored
      * src/libclient/CMakeLists.txt: Set the right 'hint' path for the call
      to find_library for ffmpeg avutil from daemon's contrib, to match the
      directory name used by daemon's 'contrib/bootstrap' script: the name
      of the directory is the value returned by the C++ compiler (either GNU
      or Clang) when invoked with the '-dumpmachine' option.
      
      Change-Id: I03de150aa941a1e32471e5b4cbe507e5d09787f5
      fb94c385
  5. Sep 30, 2022
  6. Aug 09, 2022
  7. Jul 13, 2022
  8. Jul 12, 2022
  9. Jun 23, 2022
  10. Jun 09, 2022
  11. Jun 08, 2022
    • Amin Bandali's avatar
      misc: vendor libjamiclient into 'src/libclient/' · e0b3b4ad
      Amin Bandali authored
      This is libjamiclient from the jami-libclient.git repository as of
      767c45b8b09806ac05cbada720864df93588c047, with the following changes:
      
      * src/libclient/newaccountmodel.cpp:
      (NewAccountModelPimpl::removeFromAccounts): The lock wait inside
      '#ifdef CHK_FREEABLE_BEFORE_ERASE_ACCOUNT' was not updated when the
      type of 'accounts' was changed over the years from this:
      std::map<std::string, account::Info>
      to this:
      std::map<QString, std::pair<account::Info, std::shared_ptr<Database>>>
      Basically we need to get the 'first' of the pair for 'account::Info'.
      So we now do that.
      
      * src/libclient/avmodel.cpp:
      * src/libclient/callbackshandler.cpp:
      * src/libclient/contactmodel.cpp:
      * src/libclient/conversationmodel.cpp:
      * src/libclient/database.cpp:
      * src/libclient/namedirectory.cpp:
      * src/libclient/newaccountmodel.cpp:
      * src/libclient/newcallmodel.cpp:
      * src/libclient/newdevicemodel.cpp:
      * src/libclient/peerdiscoverymodel.cpp:
      * src/libclient/pluginmodel.cpp:
      * src/libclient/smartinfohub.cpp:
      * src/libclient/vcard.h:
      * src/libclient/authority/storagehelper.cpp:  Replace Qt's 'foreach'
      with 'Q_FOREACH' and its 'emit' with 'Q_EMIT' because in the client-qt
      code base we have '-DQT_NO_KEYWORDS' to avoid conflicts with other
      libraries we use.
      
      * cmake/FindLibJami.cmake: Import cmake/FindRing.cmake from the
      jami-libclient.git repository.  Then, rename RING_BUILD_DIR to
      LIBJAMI_BUILD_DIR (though the old name is still supported for now).
      Also update other references of Ring to Jami.  Further, add additional
      calls to 'find_library' to make sure specified local paths for libjami
      are checked before system-wide ones (in case of older/obsolete libjami
      being available system-wide, which might happen on GNU/Linux systems).
      
      * translations/lrc_*.ts: Import translation files from the libclient
      repository.  The message location paths were corrected by running
      "sed -i 's|../src|&/libclient|g' lrc_*.ts" in 'translations/'.
      
      .tx/config: Add section for the newly-imported libclient translations.
      
      * CMakeLists.txt: Reformat, plus various fixes and cleanups, such as
      changing indentation to 2 spaces and wrapping lines at 70 characters,
      renaming the parent directory of translations from 'ring' to 'jami',
      and using all lowercase function calls.  Also add copyright headers.
      
      * src/app/appsettingsmanager.cpp:
      (AppSettingsManager::loadTranslations):
      * src/app/utilsadapter.cpp (UtilsAdapter::supportedLang): Update to
      adapt to the renaming of the parent directory of translations from
      'ring' to 'jami'.
      
      GitLab: #748
      Change-Id: I86e3b0fb30e554755023e7b858b6a0d132cd59ab
      e0b3b4ad
Loading