1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-26 06:17:35 +00:00
Commit graph

1290 commits

Author SHA1 Message Date
Bob Ham
54fa97d313 Merge branch 'icon' into 'master'
data: Update icon file

See merge request Librem5/calls!36
2018-11-23 16:20:23 +00:00
Bob Ham
5c8bbd5c3a data: Update icon file 2018-11-23 16:17:35 +00:00
Bob Ham
2d4ac90ff4 Merge branch 'plugins' into 'master'
Turn providers into plugins courtesy of libpeas

See merge request Librem5/calls!35
2018-11-23 15:54:36 +00:00
Bob Ham
460c0c6c3d Turn providers into plugins courtesy of libpeas
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
plugin.
2018-11-23 15:51:46 +00:00
Bob Ham
b6cd5a3fe8 Merge branch 'ringtones' into 'master'
Add ringtone support using GSound

See merge request Librem5/calls!34
2018-11-09 16:34:06 +00:00
Bob Ham
7252962139 Add ringtone support using GSound 2018-11-09 16:30:40 +00:00
Bob Ham
5e636edb7d main: Remove needless cast to GtkApplication 2018-11-09 16:20:39 +00:00
Bob Ham
027c49e8bd src: Add old state as argument to CallsCall's state-changed signal 2018-11-09 16:19:23 +00:00
Bob Ham
74c3987ce1 src: Generalise Provider object enumeration with calls_enumerate() 2018-11-01 11:14:49 +00:00
Adrien Plazas
1d93520708 flatpak: Bump the SDK to master
This is needed for libhandy to build as it depends on a more recent
GTK+ 3 version than the one in the 3.28 SDK.
2018-10-26 11:07:17 +02:00
Adrien Plazas
8b6da38825 flatpak: Don't build the libhandy Glade catalog 2018-10-26 11:04:44 +02:00
Bob Ham
07cc15ceae Merge branch 'monitor-modemmanager' into 'master'
Fix modem addition/removal and deal with ModemManager appearing/vanishing

Closes #15 and #16

See merge request Librem5/calls!32
2018-10-19 10:30:43 +00:00
Bob Ham
c203f470fe Fix modem addition/removal and deal with ModemManager appearing/vanishing
Modems being added or removed were not working.  To fix this, we pay
attention to the "object-removed" event and not just
"interface-removed".

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
2018-10-19 10:24:00 +00:00
Bob Ham
39ae9d6d76 Merge branch 'remove-ofono-object' into 'master'
src: Remove errant calls-ofono-object files

See merge request Librem5/calls!30
2018-10-10 13:27:51 +00:00
Bob Ham
5c52bb7e57 src: Remove errant calls-ofono-object files
Not even sure how these crept into the repository.
2018-10-10 13:23:01 +00:00
Bob Ham
cc0c0744ec Merge branch 'sadiq-review-fixes' into 'master'
Sadiq review fixes

Closes #20, #19, and #18

See merge request Librem5/calls!29
2018-10-10 09:19:44 +00:00
Bob Ham
3917edbcdb call-window: Reference selector item widget in creation callback
The return value of this callback, used for the call selector flow
box, should have a reference added to it.  The callback's return value
is annotated as "transfer full".
2018-10-10 09:13:54 +00:00
Bob Ham
ef976cee04 call-window: Remove display and holder in the right order
In the current order, the holder is finalized before we can get the
display, causing an error.  We just have to switch the two around
2018-10-10 09:13:54 +00:00
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
Adrien Plazas
84fe54e2fa flatpak: Bump the SDK to master
This is needed for the latest version of libhandy to work.
2018-10-05 13:41:48 +02: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
Mohammed Sadiq
08f19de326 Add calls-application class 2018-10-04 18:33:47 +05:30
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
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
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
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
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