aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-15plugin-manager: new methods to check for ongoing port support operationsAleksander Morgado
The new mm_plugin_manager_is_finding_port_support() allows to check whether the Plugin Manager is looking for support in a specific port. The new mm_plugin_manager_is_checking_device_support() allows to check whether the Plugin Manager is looking for support in any port of a given device.
2012-03-15plugin-manager: allow suggesting a plugin when launching support checksAleksander Morgado
The newly launched support check will start probing with the suggested plugin right away.
2012-03-15plugin-manager: propagate support check results to tasks in the same deviceAleksander Morgado
As soon as the first support check of a port in a given device finishes with a valid best plugin and level > 0, propagate the result to other support tasks corresponding to ports in the same physical device. Previously, this propagation of support check results was only done once the port was grabbed by a plugin, not just when the plugin reported that it supported it. This change in behaviour isn't probably a big deal, as there should not be any case where a plugin says it supports a port and then cannot grab it.
2012-03-15plugin-manager: keep track of all launched support checksAleksander Morgado
We will keep a reference to each of the support checks currently in progress, grouped by physical device path. The stored SupportsInfo structs as well as the support check operations, are guaranteed to be kept valid as long as the Plugin Manager exists. Or in other words, the Plugin Manager cannot be disposed if there is still an ongoing supports check operation.
2012-03-15plugin-manager: new method to look for best plugin supporting a given portAleksander Morgado
The new `mm_plugin_manager_find_port_support()' method requests the Plugin Manager to iterate over the list of plugins internally handled, launching supports task for the given port in each of them. The method is fully asynchronous, and the result can be retrieved with `mm_plugin_manager_find_port_support_finish()' once the operation is ready.
2012-03-15plugin-manager: ensure we always print paths in UTF-8Aleksander Morgado
There is little chance of having a PLUGINDIR which is not UTF-8, but it may happen, and g_log() won't like it.
2012-03-15plugin-manager: find and load plugins when the manager object is createdAleksander Morgado
Ported the plugin finding and loading code from the MMManager object.
2012-03-15plugin-manager: let it be initableAleksander Morgado
Looking for plugins and loading them will be done during the object creation, so the operation may fail and we need to report it.
2012-03-15plugin-manager: new MMPluginManager objectAleksander Morgado
2012-03-15plugin-base: rename 'cancel_supports_port' to 'supports_port_cancel'Aleksander Morgado
We now have 'supports_port' (async method) and 'supports_port_finish' (to get the result of the async method), so it makes sense to rename the method to 'supports_port_cancel'.
2012-03-15plugin-base: rewrite port supports check as fully asynchronousAleksander Morgado
Before this change, supports check was either synchronous (e.g. in some UNSUPPORTED cases) or asynchronous (when IN_PROGRESS was returned). With this fix, the supports check requested to the plugin will always be completed asynchronously; either directly in an idle before launching any real probing operation, or once the probing operation is finished. Therefore, it is not expected to get a IN_PROGRESS reply in mm_plugin_supports_port_finish(), only UNSUPPORTED|SUPPORTED|DEFERRED.
2012-03-15core: avoid using DBusGMethodInvocation in auth APIAleksander Morgado
While porting to GDBus, use opaque pointers. This allows us to include either a DBusGMethodInvocation or a GDBusMethodInvocation in the 'context' pointer. Once fully ported to GDBus, we can safely change it back to make the context be a GDBusMethodInvocation.
2012-03-15build: install DBus service and data files for the new APIAleksander Morgado
2012-03-15build: setup all data (polkit, icon, dbus...) in the same `data' directoryAleksander Morgado
Also fixed dist when not using polkit, the icon was no longer included in the tarball.
2012-03-15build: chain up new 0.6 API and link against libmm-commonAleksander Morgado
Also removed the MMSerialError implementation from `src/mm-errors.[h|c]', as it is now included in the new `include/ModemManager-errors.h' header file. All the other enums and errors without clashing names will be ported afterwards to the new base code.
2012-03-15build: disable autogeneration of the 0.5 API header fileAleksander Morgado
But keep it around as a static file, while we do the migration to the new interface.
2012-03-15docs: added new man page for the modem-manager daemonAleksander Morgado
2012-03-15docs: setup generation of gtk-doc based DBus API documentationAleksander Morgado
It includes gdbus-codegen generated API documentation, plus the common Enums, Flags and Errors, which will also be used in libmm-glib.
2012-03-15docs: remove generation of previous DBus API documentationAleksander Morgado
2012-03-15libmm-common: include Errors type informationAleksander Morgado
The code to handle the Errors type information is automatically built with `glib-mkenums' and the new templates kept under `build-aux'.
2012-03-15libmm-common: include Enums and Flags type informationAleksander Morgado
The code to handle the Enums and Flags type information is automatically built with `glib-mkenums' and the new templates kept under `build-aux'. Note: We currently skip the type information of `MMModemBand'. GFlagsValue can hold only 32-bit types, and we're working with a 64-bit flag here. See: https://bugzilla.gnome.org/show_bug.cgi?id=663054
2012-03-15libmm-common: setup new library, with the gdbus-codegen generated codeAleksander Morgado
This library will not (probably) be installable, but will share the GDBus and new Enum/Flag/Error type support between the core daemon and the new libmm-glib library.
2012-03-15build: use common CPPFLAGS and LDFLAGS for all pluginsAleksander Morgado
Also include $(top_srcdir)/generated and $(top_builddir)/generated in the common preprocessor flags.
2012-03-15build: improve project bootstrappingAleksander Morgado
Align autogen.sh with the one in NM: * Just calling autoreconf once * Using autopoint from GNU gettext * Enabling the use of NOCONFIGURE
2012-03-15build: improve configure output reportAleksander Morgado
2012-03-15build: avoid using -Wfloat-equal compilation optionAleksander Morgado
In order to compile code generated by gdbus-codegen.
2012-03-15build: avoid using -Wshadow compilation optionAleksander Morgado
In order to compile code generated by gdbus-codegen.
2012-03-15build: require GLib and GIO >= 2.30Aleksander Morgado
gdbus-codegen is first available in the stable 2.30 release of GLib, see http://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00218.html GIO and GIO-Unix are now required during the build.
2012-03-15api: new `include/ModemManager1.h' as main header of the new APIAleksander Morgado
Filename is temporary as we keep the old `include/ModemManager.h' around during the transition to the new codebase.
2012-03-15build: setup autogeneration of names header for the new APIAleksander Morgado
The `include/ModemManager-names.h' autogenerated header includes the list of Interface, Method, Signal and Property names defined in the DBus API.
2012-03-15build: setup header generator in its own include/MakefileAleksander Morgado
Also move helper files to the new `build-aux' directory.
2012-03-15api,errors: implement all errors from the new APIAleksander Morgado
Errors that will/may be reported via DBus are defined in the public interface header.
2012-03-15api,enums: new enum for the USSD session stateAleksander Morgado
2012-03-15api,enums: new enum for the 3GPP network availabilityAleksander Morgado
2012-03-15api,enums: implement all enums and flags from the new APIAleksander Morgado
2012-03-15api,dbus: rewrite Methods, Properties and Signals for gdbus-codegenAleksander Morgado
2012-03-15api,dbus: Bearer interface not implemented by modemsAleksander Morgado
Keep the Bearer interface out of the 'Modem' subtree in the interface hierarchy, as it will be specific for Bearer objects, not implemented by Modem objects.
2012-03-15api,dbus: SMS interface not implemented by modemsAleksander Morgado
Keep the SMS interface out of the 'Modem' subtree in the interface hierarchy, as it will be specific for SMS objects, not implemented by Modem objects.
2012-03-15api,dbus: fix SignalQuality property signature so that it's a (ub) tupleAleksander Morgado
2012-03-15api,dbus: simplified the Manager API, as we will use the standard ObjectManagerAleksander Morgado
The recent `org.freedesktop.DBus.ObjectManager' standard API defines a common way to handle a list of objects in the interface. It allows getting all objects, interfaces and properties in a single method call. See: http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager
2012-03-15api,dbus: let IMSI, OperatorIdentifier and OperatorName be properties in the ↵Aleksander Morgado
SIM interface
2012-03-15api,dbus: use long property names in the 3GPP DBus interfaceAleksander Morgado
2012-03-15api,dbus: fix signature of the Scan() method in the 3GPP DBus interfaceAleksander Morgado
The Scan() method returns an array of dictionaries, where each dictionary is defined by a string key plus a variant data (not a string data). This is to handle the "status" and "access-tech" entries, which are given as unsigned integers.
2012-03-15api,dbus: use long property names in the CDMA DBus interfaceAleksander Morgado
2012-03-15api,dbus: let UnlockRequired property be an enum instead of a stringAleksander Morgado
We were already working with a fixed set of possible strings, so better to have an enumeration for that.
2012-03-15api,dbus: new `Plugin' property in the Modem interfaceAleksander Morgado
Will hold the name of the plugin managing the modem.
2012-03-15tests: serial port tests don't need errors headerAleksander Morgado
2012-03-14release: bump version to 0.7.0 (devel for 0.8.x stable)Dan Williams
2012-03-13hso: disable echo removalAleksander Morgado
Built-in echo removal conflicts with _OWANCALL unsolicited messages, which are not coming prefixed with <CR><LF>. Fixes LP#953294
2012-03-13at-serial-port: new property to control whether echo removal should be appliedAleksander Morgado