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

865 commits

Author SHA1 Message Date
Bob Ham
eaba235e0b Merge branch 'ui-updates' into 'master'
UI updates

Closes #35 and #55

See merge request Librem5/calls!48
2019-06-28 14:17:34 +00:00
Bob Ham
b0d9918f5a Update UI to better reflect the design
* Make the Answer button look nice and laid out properly.
* Merge the time and status labels, displaying simply the text
  "Calling..." until the call becomes active and then the call time
  afterwards.
* Fix info display bar in both the call and main windows so they use a
  GtkRevealer and work a lot better.
* Add a "new-call-symbolic" icon for the "Add call" button.
* General tweaks and clean-ups

Closes #55
Closes #35
2019-06-28 15:14:45 +01:00
Bob Ham
215877cc60 calls-dummy-provider: Create an inbound call on SIGUSR1
This enables easy testing of inbound calls with just

$ calls -p dummy &
$ killall -USR1 calls
2019-06-28 15:14:45 +01:00
Bob Ham
824395b040 plugins/dummy: Implement inbound property
Also simulating dialing/ringing/active state changes for outbound
calls.
2019-06-28 15:14:41 +01:00
Bob Ham
0dc906c2bb plugins/mm: Implement inbound property 2019-06-28 13:59:51 +01:00
Bob Ham
7ed3f5f16c calls-call: Add inbound property
This property signifies whether a call is to us from someone on the
network (inbound, TRUE) or from us to someone on the network
(outbound, FALSE).
2019-06-28 09:59:29 +01:00
Tobias Bernard
617822d6ce Minor: Change recent calls empty state label 2019-06-26 15:19:52 +00:00
Bob Ham
3160fbee15 Merge branch 'christopherdavis/change-about-label' into 'master'
history-header-bar: Change "About" to "About Calls"

See merge request Librem5/calls!45
2019-06-18 11:35:04 +00:00
Bob Ham
0947d7a1d1 Merge branch 'wip/sadiq/windows' into 'master'
window: hide windows on delete

See merge request Librem5/calls!44
2019-06-18 11:32:32 +00:00
Christopher Davis
e0123e400e history-header-bar: Change "About" to "About Calls"
As a part of GNOME's initiative to move menus, "About" should be "About $APP_NAME" rather than "About".

See https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement#guidelines for reference
2019-02-19 23:08:24 -05:00
Bob Ham
ee126b3660 Merge branch 'wip/sadiq/fixes' into 'master'
new-call-box: Use nul-terminated string to set as buffer text

See merge request Librem5/calls!42
2019-01-31 15:50:08 +00:00
Mohammed Sadiq
d4b6e92fc1 new-call-box: Use null-terminated string to set as buffer text
gtk_entry_buffer_insert_text expects a null-terminated string.

This was found when testing with asan.
2019-01-31 10:32:44 +05:30
Mohammed Sadiq
d62976a9a1 window: hide windows on delete
As calls is supposed to run always in background,
destroying window on close results in unintended issues.
Let's simply hide the window instead.
2019-01-29 11:36:38 +05:30
David Cordero
7481e022f1 sm.puri.Calls.json: Fix libhandy config option type 2019-01-22 14:11:17 +00:00
Bob Ham
c663622307 Merge branch 'first-release' into 'master'
d/changelog: Bump version to 0.0.1

See merge request Librem5/calls!40
2018-12-04 11:51:38 +00:00
Bob Ham
ea733125a5 d/changelog: Bump version to 0.0.1 2018-12-04 11:47:19 +00:00
Bob Ham
c68ae4a148 Merge branch 'first-release' into 'master'
First release

See merge request Librem5/calls!39
2018-12-04 10:54:00 +00:00
Bob Ham
e52be57617 meson.build: Bump version to 0.0.1 2018-12-04 10:45:18 +00:00
Bob Ham
5a6dfb7469 README.md: Update dependencies and instructions to build/run Calls 2018-12-04 10:43:03 +00:00
Bob Ham
458a4c1df3 Merge branch 'remove-mutual-reference' into 'master'
src: Remove mutual reference between call -holder and -selector-item

See merge request Librem5/calls!38
2018-11-30 16:51:35 +00:00
Bob Ham
400c2fc041 src: Remove mutual reference between call -holder and -selector-item 2018-11-30 16:48:25 +00:00
Bob Ham
6eda18c4b3 Merge branch 'flatpak-gsound-libpeas' into 'master'
sm.puri.Calls.json: Add gsound and libpeas modules as dependencies

See merge request Librem5/calls!37
2018-11-30 16:44:53 +00:00
Bob Ham
204aae7050 sm.puri.Calls.json: Add gsound and libpeas modules as dependencies 2018-11-30 16:41:44 +00:00
Bob Ham
c5b90d5b0c Merge branch 'libhandy-glade' into 'master'
flatpak: Don't build the libhandy Glade catalog

See merge request Librem5/calls!33
2018-11-30 16:39:20 +00:00
Bob Ham
758573f142 Merge branch 'flatpak' into 'master'
flatpak: Bump the SDK to master

See merge request Librem5/calls!27
2018-11-30 16:39:11 +00:00
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