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

25 commits

Author SHA1 Message Date
Guido Günther
4bdb6945bd Add emergency-call manager to interface with DBus 2023-02-12 08:00:56 +00:00
Guido Günther
213b27bf20 dbus: Add initial interface for emergency calls 2023-02-12 08:00:56 +00:00
Evangelos Ribeiro Tzaras
bb6b76107c build: Rename util.{c,h} to calls-util.{c,h}
"util" is a very generic name. This guards against accidentally
including similarly named headers from elsewhere.
2023-01-22 07:33:02 +00:00
Evangelos Ribeiro Tzaras
86a8f3ae22 Move provider plugins into a dedicated directory
Since we will introduce another type of plugin for the policy engine
we want to have each plugin type in separate directories.

We also have to adjust:

- plugin search directories
- po file location
- update paths for calls-doc target
2022-08-19 08:43:57 +00:00
Evangelos Ribeiro Tzaras
e5e19fcd5f doc: Add call state diagram
Having this makes it easier to reason about the call states.
2022-06-20 15:59:17 +00:00
Evangelos Ribeiro Tzaras
6738962073 meson: Build manpage with rst2man
Closes #457
2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
0d6ceca324 doc: Add manpage as reStructuredText 2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
20271fc2bd doc: Include API reference for all core sources
While not every class or interface is properly documented and annotated yet,
adding them to the docs should still be valuable.

Additionally it is a good reminder for ourselves to add some proper description
because things like missing a annotated class description really stand out
currently.
2022-02-06 02:34:37 +01:00
Evangelos Ribeiro Tzaras
3f2481bda9 doc: meson: Get rid of redundant if block
We already check at the very top if the 'gtk_doc' option is used, so let's drop
it here.
2022-02-06 02:34:37 +01:00
Evangelos Ribeiro Tzaras
8f85c42ba3 meson: Don't use deprecated meson.source_root()
This function is deprecated since 0.56.0:

WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated since
'0.56.0': meson.source_root. use meson.project_source_root() or
meson.global_source_root() instead.
2021-12-29 11:10:21 +01:00
Evangelos Ribeiro Tzaras
de834bcfe9 meson: Don't use deprecated meson.build_root()
This function is deprecated since 0.56.0:

WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated since
'0.56.0': meson.build_root. use meson.project_build_root() or
meson.global_build_root() instead.
2021-12-29 11:10:21 +01:00
Evangelos Ribeiro Tzaras
112098405b meson: Don't use deprecated Dependency.get_pkgconfig_variable()
This function is deprecated since 0.56.0:

WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated since
'0.56.0': Dependency.get_pkgconfig_variable.
use Dependency.get_variable(pkgconfig : ...) instead
2021-12-29 11:10:03 +01:00
Evangelos Ribeiro Tzaras
69b919d7ab DBus: Use org.gnome prefix and adapt to changes
In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.
2021-07-12 13:35:57 +00:00
Evangelos Ribeiro Tzaras
bd9dd8475f docs: Change homepage to GNOMEs gitlab 2021-07-12 13:35:57 +00:00
Guido Günther
6f93b48ef4 Expose call objects on DBus
This exports call objects on the session bus:

 $ gdbus monitor --session -d sm.puri.Calls
 …
 /sm/puri/Calls: org.freedesktop.DBus.ObjectManager.InterfacesAdded (objectpath '/sm/puri/Calls/Call/1', {'sm.puri.Calls.Call': {'Inbound': <false>, 'State': <uint32 0>, 'Id': <''>, 'Party': <''>}})
 /sm/puri/Calls/Call/1: org.freedesktop.DBus.Properties.PropertiesChanged ('sm.puri.Calls.Call', {'Id': <'0987654321'>, 'Inbound': <true>, 'State': <uint32 5>}, @as [])
 /sm/puri/Calls: org.freedesktop.DBus.ObjectManager.InterfacesRemoved (objectpath '/sm/puri/Calls/Call/1', ['sm.puri.Calls.Call'])
 $ gdbus call --session --dest sm.puri.Calls --object-path /sm/puri/Calls/Call/1 --method sm.puri.Calls.Call.Hangup

Currenty hangup and accept methods are implemented as well as exposing
the current call state.
2021-06-03 14:29:36 +00:00
Evangelos Ribeiro Tzaras
8d937bedf6 Initial DBus API 2021-06-03 14:29:36 +00:00
Evangelos Ribeiro Tzaras
436be15f5a build: doc: deduplicate sources
This is a follow up to 443d23dd56
2021-04-13 10:53:48 +02:00
Guido Günther
443d23dd56 build: deduplicate sources
Shorten the needed sources from

 calls_sources, calls_enum_sources, calls_resources,
 wl_proto_sources, wayland_sources,

to

  calls_sources

so adding new things such as generated dbus sources doesn't have to
happen in four locations but just one.
2021-04-06 14:18:06 +02:00
Evangelos Ribeiro Tzaras
3050e30672 project: rename back to calls
The project files should not have been renamed in c732c74
as these changes might infringe on GNOME trademarks
2021-02-11 08:31:27 +00:00
Evangelos Ribeiro Tzaras
c732c74703 project: rename to gnome-calls 2021-02-04 01:19:26 +00:00
Evangelos Ribeiro Tzaras
5f090e9165 doc: meson: Use shared library for gtk-doc 2020-12-05 15:39:43 +01:00
Evangelos Ribeiro Tzaras
a5b0c11145 doc: meson: fix ofono path 2020-12-01 17:56:06 +01:00
Evangelos Ribeiro Tzaras
9d2a77d3b3 docs: update URLs to source.puri.sm 2020-10-23 15:43:40 +02: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
07eb23da0f Initial import of cleaned Calls working tree 2018-05-17 14:16:51 +01:00