Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-06 | plugins: use default port grabbing on those plugins without special requirements | Aleksander Morgado | |
2012-08-06 | plugin: if no grab_port() method given, use the default one | Aleksander Morgado | |
2012-08-06 | device,plugin: let the `MMPlugin' API know about `MMDevice' | Aleksander Morgado | |
2012-08-06 | plugin-manager: simplify by iterating the list ourselves | Aleksander Morgado | |
2012-08-06 | plugin-manager: use a double-linked list for the plugin list | Aleksander Morgado | |
2012-08-06 | plugin: new method to compare plugins | Aleksander Morgado | |
Instead of providing a method to get if a plugin is requesting to get sorted last, we provide a way to comparing two plugins, compatible with the GCompareFunc required in g_list_sort(). | |||
2012-08-06 | plugin: remove obsolete comment | Aleksander Morgado | |
2012-08-06 | plugin: new `MM_PLUGIN_CUSTOM_INIT' property | Aleksander Morgado | |
We let plugins execute some custom initialization in the ports, specified by a `MMAsyncMethod'. | |||
2012-08-06 | port-probe: fix typo in class definition | Aleksander Morgado | |
2012-08-06 | core: new `MMAsyncMethod' boxed type | Aleksander Morgado | |
Helps to bundle the async method implementation in a property. | |||
2012-08-06 | plugin: new `MM_PLUGIN_FORBIDDEN_DRIVERS' property | Aleksander Morgado | |
It allows plugins to specify whether they cannot support ports handled by specific drivers. | |||
2012-08-06 | plugin: remove no longer used `MM_PLUGIN_SORT_LAST' property | Aleksander Morgado | |
The behaviour previously handled by this property is now automatically handled. | |||
2012-08-06 | plugin: renamed `custom-init' property to `custom-at-probe' | Aleksander Morgado | |
The `custom-at-probe' property is just to modify the way we check for AT port support. | |||
2012-08-06 | port-probe: setup the port object as a property | Aleksander Morgado | |
2012-08-06 | port-probe: no need to keep our internal copies of subsys/name | Aleksander Morgado | |
2012-08-06 | port-probe: no need to keep neither physdev path nor driver | Aleksander Morgado | |
2012-08-06 | port-probe: don't warn if requesting info which wasn't probed | Aleksander Morgado | |
2012-08-06 | plugin: setup a `priv' opaque pointer for the internal data | Aleksander Morgado | |
G_TYPE_INSTANCE_GET_PRIVATE() is really slow, so try to call it as less as possible. | |||
2012-08-06 | plugin: no need to have our own `GUdevClient' | Aleksander Morgado | |
2012-08-06 | plugin: no need to take care of probing tasks ourselves | Aleksander Morgado | |
2012-08-06 | plugin: don't provide an additional method to cancel the probing | Aleksander Morgado | |
We'll do it with a GCancellable. | |||
2012-08-06 | plugin: don't use internal task list to cancel AT probing in other probes | Aleksander Morgado | |
2012-08-06 | port-probe-cache: removed, no longer needed | Aleksander Morgado | |
The `MMDevice' acts as port probe cache for us now, directly storing all port probes of the same device. | |||
2012-08-06 | device: get vendor/product IDs | Aleksander Morgado | |
And don't do it in MMPlugin. | |||
2012-08-06 | plugin: simplify interface by passing around the device and/or port objects | Aleksander Morgado | |
2012-08-06 | port-probe: use dispose() to cleanup internal object references | Aleksander Morgado | |
2012-08-06 | port-probe: new method to check if there is an AT port in a list of probes | Aleksander Morgado | |
2012-08-06 | device: keep a list of port probes instead of just ports | Aleksander Morgado | |
2012-08-06 | port-probe: rename _get_port() to _peek_port() as there is no ownership transfer | Aleksander Morgado | |
2012-08-06 | core: merge `MMPluginBase' and `MMPlugin' | Aleksander Morgado | |
There's no real point in maintaining a separate `MMPlugin' interface, as all the plugins will inherit from `MMPluginBase', so just merge them and simplify everything. | |||
2012-08-06 | plugin-base: method to get device IDs doesn't need to be public | Aleksander Morgado | |
Given the new pre-probing filters, the IDs are no longer retrieved by the plugins. | |||
2012-08-06 | plugin-manager: simplify device/port probing logic | Aleksander Morgado | |
The plugin manager no longer needs to take care of keeping track of which probes are being run and to which physical device they correspond, as the upper layer's `MMDevice' already does this. This simplifies the internal logic quite a lot, as we can now easily suggest plugins to the remaining port probes of the same device directly. | |||
2012-08-06 | plugin-manager: find port support is now only an internal operation | Aleksander Morgado | |
2012-08-06 | plugin-manager: remove unneeded methods | Aleksander Morgado | |
We no longer need to query the plugin manager whether we're checking support for a specific port, as the ports are now grabbed only once in the MMDevice, and therefore we ensure that supports check is launched only once in the PluginManager for that specific port. Also, we no longer need to query the plugin manager whether we're checking support for a given device, as the logic to check when all ports of the device are probed is now maintained internally. | |||
2012-08-06 | plugin-manager: define a minimum probing time of 2s | Aleksander Morgado | |
Effectively, we're now letting the kernel up to 2s to show all the ports of the device, starting from the time where the first port is exposed. | |||
2012-08-06 | manager: use the new method to check support of a given full device | Aleksander Morgado | |
2012-08-06 | plugin-manager: new method to check support for a given device and all its ports | Aleksander Morgado | |
The new `mm_plugin_manager_find_device_support()' will be an async method which waits for ports to be added in the given `MMDevice'. As soon as all added ports are probed, the device support check is considered finished. | |||
2012-08-06 | plugin-base: don't assume a plugin will give as supported all ports of the ↵ | Aleksander Morgado | |
device E.g. the Generic plugin will give as unsupported 'net' ports found in the device, as it doesn't know how to use them. | |||
2012-08-06 | device: signal grabbed/released ports | Aleksander Morgado | |
2012-08-06 | device: load driver being used when first port grabbed | Aleksander Morgado | |
2012-08-06 | device: keep sysfs path around for logging | Aleksander Morgado | |
2012-08-06 | device: split `MMDevice' creation and plugin setting | Aleksander Morgado | |
We want to be able to create the MMDevice way before we have decided which plugin to use. | |||
2012-08-06 | core: compile all ports before creating the modem object | Aleksander Morgado | |
Before this, we only exported the modem to DBus when all ports were organized, in order to make sure that we select as primary port the one we really want and not the first AT port grabbed. Given that to get all the ports organized we also needed to wait to get all the ports grabbed, we can now also defer the creation of the modem object until all the ports get grabbed. This allows us to create different types of objects based on the ports available (e.g. we can now create QMI-supported modem objects if we see a QMI port around). | |||
2012-08-02 | build: remove duplicate `--with-docs' switch | Aleksander Morgado | |
2012-08-02 | iface-modem: don't process signal/act updates if interface is shut down | Aleksander Morgado | |
When the interface is shut down the skeleton object no longer exists. Given that we're allowing this actions from outside the interface, we should be safe and don't assume that the caller knows exactly the state of the interface. | |||
2012-08-02 | iface-modem: fix crashes due to removed context | Ben Chan | |
2012-07-31 | bearer: set state as DISCONNECTING as soon as we cancel the connection sequence | Aleksander Morgado | |
Just when we request to cancel the connection we need to set the bearer as being disconnected, so that we do not end up overwriting connection cancellation requests. Reported by: Thieu Le <thieule@chromium.org> | |||
2012-07-31 | cli,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-31 | cli,libmm-glib: set default timeout on manager DBus proxy | Ben 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-07-26 | iface-modem: SIM-PIN2 lock takes us to disabled state, not locked | Aleksander Morgado | |