Commit Graph
56 Commits
Author SHA1 Message Date
Bob Ham 224ab410d0 call-holder,call-selector-item: Dispose mutual references properly 2018-10-10 08:56:00 +00:00
Bob Ham e88156380e call-holder: Fix widget references
The display and selector item have floating references when created,
not normal references.  Therefore we need to sink both floating
references.
2018-10-10 08:56:00 +00:00
Bob Ham 903782d90d call-window: Fix leak of initial CallHolder reference
Closes #20
2018-10-10 08:56:00 +00:00
Bob Ham 88e11d62b5 call-window: Don't maintain unneeded focus pointer
Closes #19
2018-10-10 08:56:00 +00:00
Bob Ham f60187c547 call-window: Fix leak of references returned by g_list_model_get_item()
Closes #18
2018-10-10 08:56:00 +00:00
Bob Ham 8d3ec069eb call-window: Don't update visibility unnecessarily
We only need to update visibility when the number of calls changes.
2018-10-09 14:44:04 +00:00
Bob Ham a1cef13a26 Merge branch 'post-ui-change-cleanups' into 'master'
Post ui change cleanups

See merge request Librem5/calls!28
2018-10-08 10:51:51 +00:00
Bob Ham a33dbd139e main-window: Set up Provider in constructed callback 2018-10-08 10:46:00 +00:00
Bob Ham 9aa34cceff src: Give the Provider to the CallWindow on construction
This allows us to get rid of the signals on the MainWindow and
simplifies things dramatically.
2018-10-08 10:40:02 +00:00
Bob Ham 1843d72ad1 main-window: No need to store calls so remove holders here 2018-10-08 10:34:28 +00:00
Bob Ham f4eae98458 main-window,new-call-box: Move origin store from MainWindow to NewCallBox
The main window has no need to store origins now so this simplifies
things dramatically.
2018-10-08 10:16:04 +00:00
Bob Ham 21d45ec9d7 Merge branch 'wip/sadiq/app-fix' into 'master'
Add calls-application class

See merge request Librem5/calls!21
2018-10-04 13:41:38 +00:00
Bob Ham e04fa0aeb6 Merge branch 'unit-tests' into 'master'
tests: Add tests for Origin and Calls

See merge request Librem5/calls!4
2018-10-03 15:23:13 +00:00
Bob Ham b727916bc8 tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
Bob Ham 58c3820f29 Merge branch 'i18n' into 'master'
Add i18n support

Closes #3

See merge request Librem5/calls!19
2018-10-03 10:26:10 +00:00
Bob Ham 8a96c79eff Merge branch 'wip/sadiq/history' into 'master'
history-box: Add empty view

See merge request Librem5/calls!23
2018-10-03 10:10:10 +00:00
Bob Ham d25101db4a Merge branch 'display-dialer-by-default' into 'master'
main-window: Display the dialer on startup rather than empty history

See merge request Librem5/calls!26
2018-10-03 09:54:32 +00:00
Bob Ham 0fcb4e59e9 Merge branch 'modem-warning' into 'master'
mm-provider: Clarify warning a bit

See merge request Librem5/calls!25
2018-10-03 09:31:31 +00:00
Bob Ham 8c3b1b3b5b Merge branch 'partial-ui-overhaul' into 'master'
Add a call window and header bars

See merge request Librem5/calls!18
2018-10-03 09:26:47 +00:00
Bob Ham b8b10ad961 Merge branch 'wip/sadiq/fixes' into 'master'
new-call: Set input hints and purpose of SearchEntry

See merge request Librem5/calls!20
2018-09-28 15:00:05 +00:00
Bob Ham 3c6d2a5f8f Merge branch 'flatpak-dconf' into 'master'
flatpak: Enable access to dconf config

See merge request Librem5/calls!5
2018-09-28 14:51:08 +00:00
Bob Ham 830475c0bc Merge branch 'answering-calls-fixes' into 'master'
Answering calls fixes

See merge request Librem5/calls!24
2018-09-27 08:53:45 +00:00
Bob Ham 340aa85b60 Merge branch 'debian-modemmanager-fix' into 'master'
d/control: Depend on modemmanager, not ofono

See merge request Librem5/calls!22
2018-09-17 15:40:37 +00:00
Bob Ham 795bc73dfa d/control: Depend on modemmanager, not ofono 2018-09-17 15:36:31 +00:00
Bob Ham 13a1944a69 Merge branch 'partial-ui-overhaul' into 'master'
Partial UI Overhaul

See merge request Librem5/calls!11
2018-08-29 16:44:50 +00:00
Bob Ham 2f1db6aac2 Merge branch 'set-app-id' into 'master'
Make sure we use the correct app_id

Closes #8

See merge request Librem5/calls!16
2018-08-29 14:14:04 +00:00
Bob Ham 38cb6a8eb3 Merge branch 'bug-template' into 'master'
Add issue template

See merge request Librem5/calls!15
2018-08-10 14:42:33 +00:00
Bob Ham 56b8390c1f Merge branch 'mm-gitlab-ci-and-debian-fixes' into 'master'
Fix GitLab CI and Debian packaging for ModemManager dependencies

See merge request Librem5/calls!13
2018-08-03 14:45:29 +00:00
Bob Ham 46c94e6e2a Fix GitLab CI and Debian packaging for ModemManager dependencies 2018-08-03 14:37:20 +00:00
Bob Ham 0e293fc128 Add ModemManager provider 2018-08-03 14:22:12 +00:00
Bob Ham b0d35499b3 Merge branch 'meson-version' into 'master'
meson: Bump required version

See merge request Librem5/calls!10
2018-08-03 10:33:15 +00:00
Bob Ham bd5858006c Merge branch 'dispose' into 'master'
Drop macros already in GLib

See merge request Librem5/calls!12
2018-08-03 09:50:34 +00:00
Bob Ham 700966ccfe Merge branch 'call-display-overhaul' into 'master'
Call display overhaul

See merge request Librem5/calls!9
2018-08-01 13:38:41 +00:00
Bob Ham 1538848141 Merge branch 'call-display-cleanup' into 'master'
Call display cleanup

See merge request Librem5/calls!7
2018-07-27 09:36:34 +00:00
Bob Ham bc474b431c Merge branch 'gitlab-ci' into 'master'
Test compilation and run unit tests via gitlab-ci

See merge request Librem5/calls!8
2018-07-27 09:36:23 +00:00
Bob Ham e801a01794 README: Clarify how to run Calls 2018-07-26 15:03:47 +01:00
Bob Ham 29bb0ec46f debian/control: Add xvfb and xauth as Build-Depends 2018-06-29 15:47:42 +01:00
Bob Ham 4979f5bb68 Merge branch 'unit-tests' into 'master'
Add initial unit tests for Provider

See merge request Librem5/calls!3
2018-06-11 15:34:48 +00:00
Bob Ham b17ee0c16e Add initial unit tests for Provider
Largely cribbed from libhandy, thanks due to Guido.
2018-06-11 16:29:33 +01:00
Bob Ham 0a7330a7de data: Fix tests for desktop and appstream files 2018-06-11 16:15:44 +01:00
Bob Ham 4d453f4b5b dummy-{provider,origin,calls}: Fix up dummy provider
* Implement CallsMessageSource
* Fix Provider object creation
* Add calls_dummy_provider_add_origin
2018-06-11 12:48:20 +01:00
Bob Ham 4e604b7762 desktop: Don't specify %U for Exec
As Calls doesn't accept URLs at the moment.
2018-06-11 12:34:34 +01:00
Bob Ham 7da2f512f3 dummy-provider: Fix get_origins to return a copy of the origin list 2018-06-11 12:26:59 +01:00
Bob Ham 948ca6ad65 appdata.xml: Fix data to match calls.doap 2018-06-11 12:25:13 +01:00
Bob Ham ee5629fd12 Revert "meson: Add install flag for libgdbofono"
This reverts commit 3ef10bf60a.

The libgdbofono doesn't need to be installed, nor should it be at
least for now.
2018-06-11 12:16:11 +01:00
Bob Ham e498bd3600 Add .desktop file and icon 2018-06-05 11:14:21 +01:00
Bob Ham efbc3e7acd debian: Add copyright file 2018-05-31 14:55:17 +01:00
Bob Ham 2d3e0c0d30 README.md: Fix markdown for link to oFono source code 2018-05-31 14:53:22 +01:00
Bob Ham d74ad13fdf calls.doap: Update homepage location 2018-05-31 14:36:08 +01:00
Bob Ham c2d7f08c42 ofono-origin: Remove commented-out junk 2018-05-31 11:13:41 +00:00
Bob Ham 443613991c ofono-{call,origin}: Send DTMF tones for active calls
The oFono DTMF support doesn't match our model; you can only send
tones to the network and not to a particular call.  The telephony
standards dictate that only a single call can be active at a time so
we just get the call to emit a "tone" signal if the call is in the
active state and get the origin to listen for the signal.
2018-05-31 10:43:10 +00:00
Bob Ham dd815fa86f call: Allow for the inability to stop DTMF tones
Some implementations, like oFono, only allow fixed-length tones to be
sent to the network, not started and stopped at will.  To account for
this, we make the tone_start member function nullable and add a new
function, calls_call_tone_stoppable, to determine whether there is a
stop function.
2018-05-31 10:20:17 +00:00
Bob Ham e81567786c Preliminary documentation of provider interfaces
* Preliminary documentation of CallsCall and CallsMessageSource
* Documentation and cleaning up of CallsCallData
* Add data files and meson rules to create gtk-doc documentation
* Move some macros from util.h to calls-message-source.h
2018-05-23 09:59:28 +01:00
Bob Ham 5abe9cad4e main-window.ui: Make sure message text wraps 2018-05-21 16:47:18 +01:00
Bob Ham 081cd360b8 meson: get rid of topdir_includes variable 2018-05-21 14:19:20 +01:00
Bob Ham 07eb23da0f Initial import of cleaned Calls working tree 2018-05-17 14:16:51 +01:00