aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-manager.c
AgeCommit message (Collapse)Author
2013-02-06libmm-glib,manager: add missing logic to ensure the proxy is createdAleksander Morgado
2013-02-06libmm-glib,manager: don't fail creation if the ModemManager process is not foundAleksander Morgado
A 'GDBusObjectManagerClient' for a service for which there is no current name-owner is a perfectly valid and useful object. For example, we could then connect to the 'notify::name-owner' property to follow the life cycle of the ModemManager process. So, don't tie the successful creation of a 'MMManager' to the successful creation of the internal GDBusProxy for the 'Manager1' interface. If there is no current name owner, the GDBusProxy wouldn't be created, and instead we would completely fail the 'MMManager' creation.
2013-02-06libmm-glib: fix error reporting when 'MMManager' is createdAleksander Morgado
2012-11-27libmm-glib,manager: client creation may fail, avoid explicit MM_MANAGER() castAleksander Morgado
2012-11-15libmm-glib,manager: register DBus error associations in advanceAleksander Morgado
In order to have a proper conversion between DBus error names and GErrors for our known domains, the associations need to be registered before any DBus call attempt. Given that the high-level API of libmm-glib has its entry point always in the MMManager, just register them as soon as the first such object is created.
2012-11-07libmm-glib,manager: avoid unref of unset cancellablesAleksander Morgado
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
2012-10-04libmm-glib,manager: minor indentation fixesAleksander Morgado
2012-10-04libmm-glib,firmware: new `MMModemFirmware' type to handle the Firmware interfaceAleksander Morgado
2012-10-02libmm-glib,time: `MMModemTime' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemTime'.
2012-10-02libmm-glib,simple: `MMModemSimple' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemSimple'.
2012-10-02libmm-glib,messaging: `MMModemMessaging' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemMessaging'.
2012-10-02libmm-glib,location: `MMModemLocation' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemLocation'.
2012-10-02libmm-glib,cdma: `MMModemCdma' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemCdma'.
2012-10-02libmm-glib,3gpp-ussd: `MMModem3gppUssd' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem3gppUssd'.
2012-10-02libmm-glib,3gpp: `MMModem3gpp' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem3gpp'.
2012-10-01libmm-glib,modem: `MMModem' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem'.
2012-10-01libmm-glib,object: `MMObject' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusObject'.
2012-10-01libmm-glib,manager: cleanup object implementationAleksander Morgado
2012-10-01libmm-glib,manager: allow specifying the generated proxy types ourselvesAleksander Morgado
2012-07-31cli,libmm-glib: provide mm_manager_(peek|get)_proxy()Aleksander Morgado
peek() doesn't increase the reference count of the proxy object, while get() does it.
2012-07-31cli,libmm-glib: set default timeout on manager DBus proxyBen Chan
This patch fixes mmcli to set the default timeout on the manager proxy interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager itself. The later is not a GDBusProxy object.
2012-03-15libmm-glib: setup build of the libmm-glib libraryAleksander Morgado
The library will contain a small layer of code on top of the proxies and object manager client generated by gdbus-codegen. Therefore, the headers auto-generated from the DBus introspection XMLs need to be distributed along with the libmm-glib specific headers.