1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-15 21:05:36 +00:00
Commit graph

736 commits

Author SHA1 Message Date
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
Adrien Plazas
1dca8d34fb Add CallsEncryptionIndicator
This will be used in the next commit to let a call display indicate
whether the call is encrypted or not.
2018-07-31 10:14:49 +02:00
Adrien Plazas
7c974d38ed call-display: Make the buttons match the new design
Add 'mute' and 'dial pad' buttons, drop the 'hold' button, change the
size of the central buttons, make them use icons and drop the now
useless group size.
2018-07-31 10:14:49 +02:00
Adrien Plazas
b104483d3a call-display: Move hang up button at the bottom
Also make it match the final design.
2018-07-31 10:14:49 +02:00
Adrien Plazas
c5b1a3a923 call-display: Replace name by primary and secondary info
This better matches the final design and displays the most relevant
information available first.
2018-07-31 10:13:32 +02:00
Adrien Plazas
1a3d34bb2b call-display: Make time larger and give it some margin
This matches the final design.
2018-07-27 15:45:24 +02:00
Adrien Plazas
152c89ea79 call-display: Display two digits for minutes
This matches the final design.
2018-07-27 15:45:24 +02:00
Adrien Plazas
509f4227d9 call-display: Center and set the desired size
This will make the call display look closer to the final designs.
2018-07-27 12:56:28 +02:00
Adrien Plazas
76300d7d9d call-display: Drop a useless placeholder 2018-07-27 10:14:45 +02:00
Adrien Plazas
f511c342ca call-display: Drop useless packing information
Drop information that matches the default behavior as it ends up
creating noise when refactoring.
2018-07-27 10:14:45 +02: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
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
7da2f512f3 dummy-provider: Fix get_origins to return a copy of the origin list 2018-06-11 12:26:59 +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
c62fc29b5f meson: install Calls binary and make libgdbofono static 2018-05-29 10:04:17 +01: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