aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2012-03-05samsung: remove unused variablesAleksander Morgado
2012-03-01gsm: retry sending SMS in PDU mode if text fails and PDU is supportedDan Williams
In the future we'll just default to PDU mode.
2012-02-29modem-helpers: plug memleakAleksander Morgado
g_match_info_fetch() returns always a heap-allocated string which should be freed by the caller.
2012-02-28iridium: convert to new port grabbing schemeDan Williams
2012-02-28core: rework port grabbing and organizationDan Williams
Make port roles more flexible. We have modems that do PPP on interfaces other than the primary interface, and that wasn't possible with the old code. So clean up all that logic and move the port organization code into the core so we can reduce code in the plugins. In the new world order, the plugins say whether the port is a QCDM port, an AT port, or ignored. If it's an AT port the plugins get to tag it as primary, secondary, or PPP, or any combination of the 3. This allows for modems where PPP should really be done on the secondary port (Huawei E220, Sierra devices) so that the primary port stays open for command and status. Modem subclasses no longer get asked to handle port grabbing themselves. Instead, that's now done by the generic classes (MMGenericCdma and MMGenericGsm) and the plugins are notified when a port is grabbed so they can add unsolicited response handlers for it. After all ports are grabbed by the generic classes, they get "organized", which assigns various ports to the roles of PRIMARY, SECONDARY, DATA, and QCDM based on specific rules and hints that the plugin provided (which are expressed as MMAtPortFlags). The plugins then have a chance to perform fixups on the primary port if they choose. The plugin code is responsible for determining the port hints (ie MMAtPortFlags) at probe time, instead of having a combination of the plugin and the modem class do the job. This simplifies things greatly for the plugins at the expense of more complicated logic in the core.
2012-02-26build: include proper build dependencies for the polkit conf fileAleksander Morgado
So that the final conf file is updated if the original one gets modified.
2012-02-25cdma: fix crash on NULL error (bgo #670145)Tom Goetz