Skip to content
Snippets Groups Projects
  1. Aug 03, 2022
  2. Jul 30, 2022
  3. Jul 29, 2022
  4. Jun 23, 2022
  5. 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
  6. May 19, 2022
  7. May 05, 2022
  8. May 03, 2022
  9. Apr 26, 2022
  10. Apr 05, 2022
  11. Apr 04, 2022
  12. Mar 24, 2022
  13. Mar 17, 2022
  14. Mar 08, 2022
    • Andreas Traczyk's avatar
      video: use QVideoSink/VideoOutput and QVideoFrame instead of QImage · e7cc0497
      Andreas Traczyk authored and Adrien Béraud's avatar Adrien Béraud committed
      Removes the rendermanager and framewrapper objects along with any
      QQuickPaintedItem-based QML render widget classes. This simplifies
      the video widget stack implementation.
      
      The new mechanism uses the VideoOutput component of QtMultimedia.
      By accessing the VideoOutput's QVideoSink object, we update the
      mapped buffer data of a sink's QVideoFrame when new frames are
      published. Updates to frames and component sink subscriptions are
      managed by a new class called VideoProvider.
      
      Gitlab: #500
      Also #536
      
      Change-Id: I2391a32294922ea435ab80ac1f876c004ff6c21e
      e7cc0497
  15. Feb 09, 2022
  16. Feb 03, 2022
    • Kateryna Kostiuk's avatar
      build: make deploy optional on macOS · 54a29473
      Kateryna Kostiuk authored and Andreas Traczyk's avatar Andreas Traczyk committed
      Sometimes deploy failed with qmlimportscanner error. For better
      control macdeployqt will be called manually for release
      builds.
      
      Gitlab: #578
      Change-Id: Ic3a781cb4680499bbb7e479e31764f3f35e29800
      54a29473
    • Kateryna Kostiuk's avatar
      updater: add sparkle · 29849316
      Kateryna Kostiuk authored and Andreas Traczyk's avatar Andreas Traczyk committed
      - add sparkle submodule
      - add an option to enable sparkle
      - modify entitlements
      - cleanup Info.plist
      
      Gitlab: #578
      Change-Id: I7f562112a72a33e008ab316479fbaa68dc0e07f1
      29849316
    • Andreas Traczyk's avatar
      main: use IPC to terminate secondary client during re-install(win) · 5613a81a
      Andreas Traczyk authored
      To coordinate the MSI installer with Jami's close-to-tray feature,
      a custom action was used to kill QtWebEngineProcess and Jami, prior
      to the file installation step. The close-to-tray feature makes it
      so the only way to terminate the app is via the systray context
      menu.
      
      This patch harnesses the IPC mechanism used by the run-guard, and
      adds a command-line option('--term') used to signal the secondary
      process and provoke graceful termination.
      
      The benefits are:
      - the app can save data before closing
      - system tray icons aren't left dangling after updates
      - QtWebEngineProcess is guaranteed to be terminated during install
      
      Gitlab: #654
      Gitlab: #543
      Change-Id: I79421eeab49c9ec0826010af99a364471bb81d1a
      5613a81a
  17. Dec 22, 2021
  18. Dec 21, 2021
  19. Oct 07, 2021
  20. Oct 06, 2021
    • Trevor Tabah's avatar
      chatview: replace web chat view with qml listview · 2e67dc1b
      Trevor Tabah authored and Ming Rui Zhang's avatar Ming Rui Zhang committed
      Introduces a primitive QML ListView based chat view lacking
      features present in the previous web chat view, that will be added
      in subsequent commits(styling, preview/media/link/file-transfer
      message type support, etc.).
      
      Gitlab: #467
      Change-Id: Iedc40f6172a6cdacc48cda6f4187053fbf226713
      2e67dc1b
  21. Oct 01, 2021
  22. Sep 14, 2021
    • Ming Rui Zhang's avatar
      settings: refactor for SettingsView - stage two · e0737f4b
      Ming Rui Zhang authored
      1. Remove redundant functions in AvAdapter
      2. Add CurrentDevice for video device treatment
         Audio device treatment should be improved in the next
         stage
      3. Add QSortFilterProxyModel to all video list models and
         manage them together to avoid redundant function calls
      4. Video device call action should be responsive to device
         change as well
      
      Gitlab: #508
      
      Change-Id: I3df949a08bc19042b73f033139cd6ab06925c0b6
      e0737f4b
    • Ming Rui Zhang's avatar
      settings: refactor for SettingsView - stage one · a196513d
      Ming Rui Zhang authored
      1. Add account config QML properties and use them
         in settings directly to avoid manual update
      2. Rough clean up for video/audio settings
      3. Remove settingsAdapter entirely and split the
         responsibility
      
      Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
      a196513d
  23. Aug 30, 2021
    • FuchtelJockel's avatar
      build: fix includes, add glib and gio to CMakeLists.txt · 8871db49
      FuchtelJockel authored and Sébastien Blin's avatar Sébastien Blin committed
      First I added glib to cmake this fixed the glib.h not found error.
      Then I got build errors from the missing GIO include as seen in the linked issue.
      After adding the #include <gio/gio.h> the linker failed to find the gio library.
      After adding the gio check to cmake all build issues were solved.
      
      GitLab: #504
      Change-Id: Iac537e10261f2e9dfa61029c4591e000851a378c
      8871db49
  24. Aug 17, 2021
  25. Aug 06, 2021
    • Andreas Traczyk's avatar
      misc: add a qml adapter class to represent the current conversation · 6b3bf514
      Andreas Traczyk authored
      Provides observable property representations of a conversation info
      structure. Is updated when the selected conversation Id changes.
      
      This object is only exposed in this commit, and will be used in
      subsequent commits to introduce a more declarative approach in the
      UI code.
      
      Change-Id: I25be0f6b82cf9341b67fbf04fdeb04bffbf8ab24
      6b3bf514
  26. Jul 29, 2021
  27. Jul 27, 2021
  28. Jul 21, 2021
    • Andreas Traczyk's avatar
      resources: remove unused images and icons · 1a61af02
      Andreas Traczyk authored
      gen-resources.py should be used to generate resources.qrc and
      JamiResources.qml. Steps to add an image resource:
      - add the resource file to the appropriate path under resources/
      - run gen-resources.py
      - use the newly available resource
      
      Note: only icons and images will be represented by Qml properties.
      
      The resource file generation may be made to run during CMake
      configuration in a subsequent commit.
      
      Some unused components were also removed during the refactor.
      
      Gitlab: #477
      Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
      1a61af02
  29. Jul 12, 2021
    • Andreas Traczyk's avatar
      swarm: simplify and update avatar update mechanism · 4bda3306
      Andreas Traczyk authored
      Implements a leaner avatar caching system. The avatar component
      listens for uid filtering its id, which may be:
      - conversation id
      - account id
      - contact uri
      
      In response to the uid change, a the image source is updated with
      a new image url invoking a fresh QQuickImageProvider query. With
      this design, only the avatarregistry's uid mapping needs to be
      updated when profiles are changed, and no longer should specific
      avatar components receive manual source updates.
      
      Gitlab: #466
      Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
      4bda3306
  30. Jul 09, 2021
  31. Jun 29, 2021
    • Maxim Cournoyer's avatar
      Rename dring to jamid, ring to jami. · a7e7105c
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      Automated via the following command:
      
        $ git grep -l dring | grep -v '.ts$' | xargs sed -i
        's/dring/jamid/g'
        $ git ls-files | xargs sed -i 's,bin/jamid.lib,bin/jami.lib,g'
        $ git ls-files | xargs sed -i 's,src/jamid,src/jami,g'
        $ git ls-files | xargs sed -i 's,-mutejamid,-mutejami,g'
        $ git checkout docker
      
      Change-Id: I030209b60817372f866055daadb4d0a1c1e2e9df
      a7e7105c
Loading