1. 23 Jun, 2020 1 commit
    • Evangelos Ribeiro Tzaras's avatar
      Make CallsContacts a singleton · 0f0d10e3
      Evangelos Ribeiro Tzaras authored
      Since passing a CallsContacts pointer down to every class it needs, started to
      become laborous - especially since the intermediates classes don't need
      the reference themselves - it was made a singleton
      * src/calls-contacts.c: Added calls_contacts_get_default () function and
        removed calls_contacts_new ()
      * src/calls-contacts.h: Added _get_default () prototype and removed the
        _new () prototype
      * src/calls-application.c: Use calls_contacts_get_default () now
      * src/calls-history-box.c: Removed self->contacts completely
      * src/calls-history-box.h: Got rid of CallsContacts argument in _new()
      * src/calls-main-window.c: Removed self->contacts completely
      * src/calls-main-window.h: Got rid of CallsContacts argument in _new()
      * src/calls-call-record-row.c: Use calls_contacts_get_default () now
      * src/calls-call-record-row.h: Got rid of CallsContacts argument in
      * src/calls-call-holder.c: Use calls_contacts_get_default () now
      * src/calls-call-holder.h: Got rid of CallsContacts argument in _new()
      * src/calls-call-window.c: Removed self->contacts completely
      * src/calls-call-window.h: Got rid of CallsContacts argument in _new()
      * src/calls-notifier.c: Use calls_contacts_get_default () now
      * src/calls-notifier.h: Got rid of CallsContacts argument in _new()
  2. 09 Jun, 2020 1 commit
  3. 27 Mar, 2020 5 commits
    • Julian Sparber's avatar
      RecordStore: Use Manager · 1a2c2f30
      Julian Sparber authored
    • Julian Sparber's avatar
      Ringer: Use Manager · 3d4b547d
      Julian Sparber authored
    • Julian Sparber's avatar
      CallWindow: use Manager · 5828fad6
      Julian Sparber authored
      As a side effect this removes also the disconnect message when a call
      Fixes: #119
    • Julian Sparber's avatar
      Use CallsManager in MainWindow and NewCallBox · ffa3e724
      Julian Sparber authored
      This removes the status message at the end of the NewCallBox, since it
      will be replaced by a permanent InfoBar.
      As a side effect this removes also the disconnect message when a call
      Fixes: #119
    • Julian Sparber's avatar
      Add a CallsManager and move Provider handling to it · 9055724f
      Julian Sparber authored
      The manager is a central place for handling data e.g. calls history and
      provider managment.
      This introduces only the base for feature work. Therefore it manages
      only the provider for now, but the manager isn't yet used anywhere.
      The propagets events from the provider and origins. It also adds a new
      signal called `error`. The `error` signal should be emited only when
      something went wrong and we need to inform the user about it, containing
      the message to be displayed to the user. Windows should connect to the
      event and display a in-app-notification on error. This event isn't
      emitted, because the plugins don't give us a usable error.
  4. 26 Feb, 2020 1 commit
    • Bob Ham's avatar
      application: Add "--dial" command-line option · e7ef61e1
      Bob Ham authored
      This option allows the specification of a much broader set of numbers
      that tel: URIs, which are limited to global phone numbers in
      international form and prohibit local numbers and other useful strings
      like "*100#".
      This functionality is implemented as a command-line option rather than
      a "dial:" or "callto:" URI scheme for the same reason given in RFC
      3966, section 7.3:
        '"Callto" was discarded because URI schemes locate a resource and do
        not specify an action to be taken.'
  5. 19 Feb, 2020 1 commit
  6. 28 Jan, 2020 1 commit
    • Julian Sparber's avatar
      NewCallBox+CallDisplay: UI facelift · 06481155
      Julian Sparber authored
      This adds a style.css file to allow the use of custom css
      Fixes #115:
      - Making the phone number larger
      - Moving the delete button to the bottom
      - Rounding all buttons, and making the grid buttons circular
      - Making the call button a bit less wide
  7. 29 Oct, 2019 1 commit
  8. 02 Sep, 2019 1 commit
  9. 13 Aug, 2019 1 commit
  10. 08 Aug, 2019 1 commit
  11. 06 Aug, 2019 1 commit
  12. 01 Aug, 2019 1 commit
  13. 22 Jul, 2019 1 commit
  14. 03 Jul, 2019 1 commit
  15. 23 Nov, 2018 1 commit
    • Bob Ham's avatar
      Turn providers into plugins courtesy of libpeas · 460c0c6c
      Bob Ham authored
      This is an initial, static implementation of plugins.  The
      CallsApplication has a plugin name which can be changed with a new
      --provider command line option.  This plugin name is used to
      instantiate the appropriate plugin when the application is activated.
      From then on, the plugin cannot change.
      In future, we can expand this support to include loading multiple
      plugins at once, configurable through some UI.  This will have
      far-reaching implications though, and complicate things like
      enumerating the provider hierarchy.  There is also no practical
      benefit right now; the mm and ofono plugins can't be used at the same
      time because ModemManager and oFono don't play nice together, and the
      whole raison d'être of the dummy plugin is undermined if you can make
      use of one of the others.  So for now, we just implement one static
  16. 09 Nov, 2018 1 commit
  17. 19 Oct, 2018 1 commit
    • Bob Ham's avatar
      Fix modem addition/removal and deal with ModemManager appearing/vanishing · c203f470
      Bob Ham authored
      Modems being added or removed were not working.  To fix this, we pay
      attention to the "object-removed" event and not just
      Also, to deal with ModemManager appearing and vanishing, we add a
      GDBus watch on ModemManager's D-Bus object.
      Finally, we provide appropriate UI feedback when it's not possible to
      make a call.
      Closes #15
      Closes #16
  18. 08 Oct, 2018 1 commit
  19. 04 Oct, 2018 1 commit