1. 12 Nov, 2019 1 commit
  2. 24 Oct, 2019 2 commits
  3. 10 Oct, 2019 2 commits
  4. 09 Oct, 2019 1 commit
  5. 22 Aug, 2019 1 commit
  6. 29 Apr, 2019 1 commit
    • Hugo Lefeuvre's avatar
      i18n: make chatview translatable · 7e29ea17
      Hugo Lefeuvre authored
      This patch implements i18n support in the chatview using Jed.
      + gettext style API, transparent for translators.
      + extract string using xgettext, translate po as usual.
      + convert po files to JSON using po2json.
        This has to be done once, by the Jenkins automatic i18n bump for
        instance. The build-chatview-locales script can be used to
        automate the .po -> .json convertion process.
      + po2json generated files are shipped as gresource and loaded into the
        chatview by webkitchatcontainer.
      Gitlab: #900
      Change-Id: Iaf925e2fd37174fff0b6139fc0019bda91938ace
      Reviewed-by: Sébastien Blin's avatarSébastien Blin <sebastien.blin@savoirfairelinux.com>
  7. 02 Jan, 2019 1 commit
  8. 26 Dec, 2018 1 commit
  9. 14 Dec, 2018 1 commit
  10. 05 Dec, 2018 2 commits
  11. 20 Sep, 2018 1 commit
    • Hugo Lefeuvre's avatar
      fix chatview menu regression · 2c2ae215
      Hugo Lefeuvre authored
      55d24730 changed the return value of webview_chat_context_menu from
      FALSE to TRUE, breaking the right click menu in the chatview. Revert
      this change.
      Change-Id: I2f4bf36097b59fb5cf30524992d4873bd28160c0
  12. 14 Sep, 2018 1 commit
    • Hugo Lefeuvre's avatar
      fix memory leaks, hazardous frees and misc issues · 55d24730
      Hugo Lefeuvre authored
      + remove useless <iostream> import
      + remove useless <iostream> import
      + add missing <memory> import
      + remove useless <iostream> import
      + add missing <memory> and <string> import
      + use g_debug instead of std::cout (not the standard debug output)
      + fix multiple memory leaks in print_account_and_state(),
        on_clear_all_history_foreach() and changeAccountSelection()
      + fix use of deprecated method gtk_entry_set_icon_from_stock()
      + use G_GNUC_UNUSED to remove unused parameter warnings
      + remove various unused variables
      + remove unused function on_save_accounts_timeout()
      + fix multiple places where char* was passed to printf-style function
        with %i formatter
      + fix multiple memory leaks in ring_welcome_update_view() and
      + return FALSE in case of failure in draw_qrcode()
      + webkit_chat_container_execute_js should take const char*, not char*
      + return true in case of success in webview_chat_context_menu()
      + make "Enter the password of your Ring account" string translatable
      + fix multiple memory leaks in ring_client_open()
      + improve ring_hide_notification() return values
      + fix multiple potential hazardous free() calls
      + fix leak in case of error in video_widget_on_drag_data_received()
      + fix hazardous free() call in switch_video_input_file() (uri might be
        NULL even if the answer of the dialog is GTK_RESPONSE_ACCEPT)
      Change-Id: I7db8b63ba1b8ad272d464d0739b2fe24cc18c0b4
      Gitlab: #917
      Gitlab: #821Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
  13. 17 Jul, 2018 1 commit
  14. 06 Jul, 2018 1 commit
  15. 14 Jun, 2018 1 commit
  16. 06 Jun, 2018 1 commit
  17. 30 May, 2018 1 commit
    • Hugo Lefeuvre's avatar
      chatview: implement navbar · edad8832
      Hugo Lefeuvre authored
      Currently the navbar is implemented in native GTK, and has a pretty
      bad integration with the chatview. In this patch we implement a
      modern navbar *in* the chatview and remove the old GTK bar.
      *Changes summary*
      chatview, HTML/JS/CSS side:
      - Remove useless function setSendIcon from the chatview
      - Simplify setTemporary in the chatview
      - Use only one single showInvitation function instead of two
        showInvitation and hideInvitation functions.
      - Remove pointless/copy&pasted comments
      chatview, GTK side:
      - Simplify chatview update methods: instead of providing several
      separate functions to update the invitation/banned status of the chat
      view, only provide one (update_chatview_frame). This should have a
      good impact on the performances and simplify webkit crash handling.
      Change-Id: I6959240efd357fedb07d3c60d551efc8fca84812
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
  18. 28 May, 2018 1 commit
    • Hugo Lefeuvre's avatar
      chatview js/html: cleanup and optimization work · 65a41d6d
      Hugo Lefeuvre authored
      Major cleanup and optimization work in the chatview (html/js part):
      - use getElementById instead of querySelector when possible. This is
        3x quicker in average!
      - get rid of the useless ring.chatview namespace. This makes the
        chatview code way more readable.
      - get rid of the test code. This has nothing to do in production.
      - store the result of getElementById calls as global variables. These
        calls are very expensive and calling them each time we execute a
        function is pure nonsense.
      - do not call printHistoryPart when buffer is 0
      Change-Id: I76d39a8632f069ecd3d659f4938bffff7a10a71b
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
  19. 07 May, 2018 2 commits
    • Hugo Lefeuvre's avatar
      chatview: clearly display banned contacts as such · 6bbfd876
      Hugo Lefeuvre authored
      Whenever the chat view has to display a banned contact, it should:
      - Make place call, add to contacts and place audio call buttons
      - Hide the send message bar
      - Display the banned contact as such in the smart list results (grey bg,
        bold "Banned contact", etc.)
      This patch implements this behavior in the GNU/Linux GNOME client.
      For the moment the conversation popup is still mentioning invalid
      options such as «block contact» or «place call», but since fixing it
      requires LRC side changes we will address this issue in a separate
      Change-Id: Ibc8da7d755319acae59a807cc248e3a87bd9d6da
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
    • Sébastien Blin's avatar
      datatransfer: support timeout_expired status · a74167e1
      Sébastien Blin authored
      LRC introduced a new status for datatransfer interactions:
      timeout_expired, triggered when a outgoing file transfer got an
      awaiting_peer status for too long and to release the TURN connection
      Change-Id: I9dd4cbad62e0a29f17c84bb1b6fa4a3056c21f33
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
  20. 13 Apr, 2018 1 commit
  21. 01 Mar, 2018 1 commit
  22. 26 Feb, 2018 1 commit
  23. 21 Feb, 2018 1 commit
  24. 31 Jan, 2018 1 commit
  25. 14 Dec, 2017 1 commit
    • Philippe Gorley's avatar
      fix typo · 28af6661
      Philippe Gorley authored
      Change-Id: I344e301e0ff0c97e5a4b542236bb500b3eba8a3d
  26. 02 Nov, 2017 1 commit
  27. 01 Aug, 2017 1 commit
  28. 26 Jul, 2017 1 commit
  29. 19 Jul, 2017 2 commits
  30. 14 Jul, 2017 1 commit
  31. 03 May, 2017 1 commit
    • Stepan Salenikovich's avatar
      re-create WebView when process crashes · 1cf35e54
      Stepan Salenikovich authored
      Occasionally the WebKit2Gtk web process crashes which results in
      the chat not being visible until the user restarts the program.
      Instead, we can detect this and re-create a new WebView when this
      Change-Id: Id84ad9cbbd85082dfff5856828a3e9eeb32abf10
  32. 28 Mar, 2017 1 commit
  33. 04 Jan, 2017 1 commit
  34. 15 Dec, 2016 1 commit
    • Stepan Salenikovich's avatar
      i18n: update translations · 32e636a0
      Stepan Salenikovich authored
      - updated POTFILES.in with new source file
      - updated source (.pot) translation file
      - downloaded new translations
      - removed i18n #include from webkitchatcontainer.cpp since it has
        no translations in it
      Change-Id: I490b97e75f3b734d75389a645c169faa74756399
  35. 30 Nov, 2016 1 commit