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
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
Mohammed Sadiq
08f19de326
Add calls-application class
2018-10-04 18:33:47 +05:30
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
Claude Paroz
f45e4d613f
Add i18n basic structure
...
Closes #3 .
2018-10-03 12:21:41 +02: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
purism
3e6ee6d293
main-window: Display the dialer on startup rather than empty history
...
When call history is implemented, this should be modified to only
display the dialer if the history is empty.
2018-10-02 17:19:10 +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
Guido Günther
5752101582
mm-provider: Clarify warning a bit
...
We're only looking for modems with voice capabilities. Warning that
there are no modems available at all might be confusing to the person
trying to track down a problem.
2018-10-01 12:05:39 +02:00
Adrien Plazas
7682aa1029
main-window: Move calls history before the new call box
...
This makes the calls history the page visible by default, matching the
final design.
2018-10-01 08:41:55 +02:00
Adrien Plazas
e0a1329218
main-window: Replace the stack switcher by a header bar
...
Drop the in-window content stack witcher and replace it by a header bar
containing both a CallsHistoryHeaderBar and a CallsNewCallHeaderBar.
2018-10-01 08:41:55 +02:00
Adrien Plazas
68cc256018
main-window: Add the 'new-call' and 'back' actions
...
These will be used by the header bar to switch between the call history
page and the new call page.
2018-10-01 08:41:55 +02:00
Adrien Plazas
b9d353dd58
Add CallsNewCallHeaderBar
2018-10-01 08:41:55 +02:00
Adrien Plazas
1a16271bcb
Add CallsHistoryHeaderBar
2018-10-01 08:41:55 +02:00
Adrien Plazas
e58ce3f08d
main-window: Add the 'about' action
...
This will be needed by the next commit to display an "About" dialog via
the corresponding entry in the app menu that will be added.
This also adds the PACKAGE_URL, PACKAGE_VERSION and VCS_TAG
configuration data.
2018-10-01 08:41:42 +02:00
Adrien Plazas
65d7943e88
main-window: Don't display calls
2018-10-01 08:18:28 +02:00
Adrien Plazas
09670ea9c8
Display calls in the call window.
2018-10-01 08:18:28 +02:00
Adrien Plazas
b547c344e5
Add CallsCallWindow
2018-10-01 08:18:28 +02:00
Adrien Plazas
7e2a1f376a
main-window: Add the 'call-added' and 'call-removed' signals
...
These will be used in the next commit to notify of added and removed,
which will be needed to display the calls in a secondary window.
2018-10-01 08:18:28 +02:00
Adrien Plazas
bc6295f5fe
main: Use APP_ID from config.h
2018-10-01 08:18:28 +02:00
Adrien Plazas
6a1ce14da1
meson: Add config.h
...
This will be used to factorize project-related information like APP_ID.
2018-10-01 08:18:28 +02: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
purism
9951fbf812
mm-call: Set call state on construction
2018-09-27 08:46:47 +00:00
purism
1c37b39398
mm-call,call-display: Add more debugging output for state changes
2018-09-27 08:44:24 +00:00
purism
635b3f74b8
mm-origin: Delete remnant disconnected calls on startup
2018-09-27 08:42:24 +00:00
purism
0d7e73ca63
mm-call: Fix mapping of alerting/incoming call states
2018-09-27 08:42:13 +00:00
Mohammed Sadiq
6bcb4db25d
history-box: Add empty view
2018-09-24 07:38:06 +05:30
Mohammed Sadiq
cbd15260b9
new-call: Set input hints and purpose of SearchEntry
2018-09-15 06:22:34 +05:30
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
Guido Günther
7bc5f0ed90
main: Set program name to APP_ID
...
This makes sure we end up with the correct xdg app_id in Wayland:
before:
[943832,359] -> xdg_toplevel@27.set_app_id("calls")
after:
[1180814,499] -> xdg_toplevel@27.set_app_id("sm.puri.Calls")
Closes #8
2018-08-29 13:32:09 +02:00
Guido Günther
e0ef7f6f59
main: Factor out the appliction ID
2018-08-29 13:30:51 +02:00
Adrien Plazas
6d921bd667
main-window: Fix the title
2018-08-29 09:05:57 +02:00
Adrien Plazas
b05c6e34e2
main-window: Use a new call box
...
Replace the custom inplementation of a call box by a CallsNewCallBox
which is used to dial new calls and not to send DTMF tones as the call
display can now handle that.
2018-08-29 09:05:57 +02:00
Adrien Plazas
22d79bfbbf
Add CallsNewCallBox
2018-08-29 09:05:57 +02:00
Adrien Plazas
a07b0b8382
main-window: Drop the new call expander
...
It is not needed anymore as the call display can send DTMF tones itself,
so instead let the dial pad always be available to send new calls.
2018-08-29 09:05:57 +02:00
Adrien Plazas
6182961f07
call-display: Add a dial pad overlay
...
Put the call display in an GtkOverlay and add a dial pad sending DTMF
tones as an overlay. Also make the dial pad overlay be triggered by the
dial pad button.
2018-08-29 09:05:57 +02:00
Adrien Plazas
0d98e17b05
main-window: Use CallsHistoryBox
...
This helps the window to be only a glue in between the actual UI
elements instead of handling a lot of the UI.
2018-08-29 09:05:57 +02:00
Adrien Plazas
70bafc2091
Add CallsHistoryBox
2018-08-29 09:05:57 +02:00
Bob Ham
0e293fc128
Add ModemManager provider
2018-08-03 14:22:12 +00:00
Adrien Plazas
90f3933e95
Drop the CALLS_SET_OBJECT_PROPERTY() macro
...
Replace it by g_set_object() as it does the same thing.
2018-08-03 11:30:18 +02:00
Adrien Plazas
3ebf58548c
Drop the CALLS_FREE_PTR_PROPERTY() macro
...
Replace it by g_free() as it does the same thing.
2018-08-03 11:30:09 +02:00
Adrien Plazas
52f7f2da6f
Drop the CALLS_DISPOSE_OBJECT() macro
...
Replace it by g_clear_object() as it does the same thing.
2018-08-03 11:29:56 +02:00
Adrien Plazas
e707894923
party: Replace the default party avatar
...
Replace the 'face-smile' icon by the better fitting
'avatar-default-symbolic' icon.
2018-07-31 10:20:38 +02:00
Adrien Plazas
c68b76fa63
call-display: Add an encryption indicator
...
This matches the final design.
2018-07-31 10:14:49 +02:00
Adrien Plazas
4616d6cafa
Initialize CallsEncryptionIndicator
...
This is needed for that type to be used in the next commit.
2018-07-31 10:14:49 +02:00