Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-11-26 | gdbus: Add support for invalidated properties | Johan Hedberg | 1 | -1/+14 | |
If there's a pending property but its exists() callback returns false the property should be considered invalidated and included in the relevant list of the PropertiesChanged signal. | |||||
2012-11-26 | gdbus: Fix processing pending properties in remove_interface() | Johan Hedberg | 1 | -0/+2 | |
2012-11-26 | gdbus: Fix up Properties.Set() code path | Lucas De Marchi | 1 | -3/+7 | |
Minor fixes to make setter actually work: - Add propdata in pending_property_set - Break loop when we are removing propdata from list and we found it - in_args and out_args were swapped - interface and method name arguments were swapped | |||||
2012-11-26 | gdbus: Fix invalid memory access while unregistering | Lucas De Marchi | 1 | -0/+11 | |
If an interface is added and removed on the same mailoop iteration, ObjectManager would try to send InterfacesAdded signal while running the idler because the interface was added to data->added list. This is easily reproduced by forcing an error path in a plugin registration, like on sap_server_register(), resulting in the following error: ==11795== Invalid read of size 4 ==11795== at 0x496F592: dbus_message_iter_append_basic (dbus-message.c:2598) ==11795== by 0x117B39: append_interface (object.c:554) ==11795== by 0x48955E7: g_slist_foreach (gslist.c:840) ==11795== by 0x11923B: process_changes (object.c:592) ==11795== by 0x11956D: generic_unregister (object.c:980) ==11795== by 0x4973BAC: _dbus_object_tree_unregister_and_unlock (dbus-object-tree.c:516) ==11795== by 0x4965240: dbus_connection_unregister_object_path (dbus-connection.c:5776) ==11795== by 0x1178A5: object_path_unref (object.c:1219) ==11795== by 0x118517: g_dbus_unregister_interface (object.c:1344) ==11795== by 0x19AF5B: sap_exit (sap.c:385) ==11795== by 0x13E9E2: sap_server_register (server.c:1428) ==11795== by 0x13C092: sap_server_probe (manager.c:44) With this patch we don't send the InterfacesAdded signal, removing it from data->added while unregistering. | |||||
2012-11-26 | gdbus: Implement PropertiesChanged signal | Lucas De Marchi | 2 | -2/+109 | |
2012-11-26 | gdbus: Simplify code for appending properties | Luiz Augusto von Dentz | 1 | -32/+2 | |
This reuse append_properties for GetAll and GetManagedObjects | |||||
2012-11-26 | gdbus: Integrates ObjectManager with Properties interface | Luiz Augusto von Dentz | 1 | -1/+27 | |
This appends the properties and its values when using ObjectManager. | |||||
2012-11-26 | gdbus: Only export ObjectManager interface on root path | Luiz Augusto von Dentz | 1 | -2/+15 | |
ObjectManager should be exported only in the root path and list all the children paths. | |||||
2012-11-26 | gdbus: Group interface changes to reduce the amount of signals emitted | Luiz Augusto von Dentz | 1 | -154/+208 | |
InterfacesAdded and InterfacesRemoved can group all the interfaces changes together in one message. | |||||
2012-11-26 | gdbus: Add support for org.freedesktop.DBus.ObjectManager interface | Luiz Augusto von Dentz | 1 | -10/+237 | |
This implements initial support for ObjectManager, it automatically adds objects to its parents so no action is needed by daemons to get their objects managed by this interface. ObjectManager is part of D-Bus spec since revision 0.17: http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager | |||||
2012-11-26 | gdbus: Add properties into Introspectable interface | Lucas De Marchi | 1 | -0/+19 | |
2012-11-26 | gdbus: Implement DBus.Properties.Set method | Lucas De Marchi | 2 | -1/+157 | |
Contrary to Get() and GetAll(), Set() is asynchronous so we pass an id to the setter so later it can declare the Set() as successful or otherwise. | |||||
2012-11-26 | gdbus: Implement DBus.Properties.GetAll method | Lucas De Marchi | 1 | -1/+55 | |
2012-11-26 | gdbus: Implement DBus.Properties.Get method | Lucas De Marchi | 2 | -1/+69 | |
2012-11-26 | gdbus: Add skeleton of DBus.Properties interface | Lucas De Marchi | 1 | -0/+46 | |
This interface is responsible for handling properties of all objects in a given path. Right now it only registers itself, doing nothing useful. A conversion to this new layout will be done by subsequent patches. org.freedesktop.org.DBus.Properties spec can be found at http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties | |||||
2012-11-26 | gdbus: Use macros to add annotations | Lucas De Marchi | 1 | -12/+28 | |
Besides being more readable this way it avoids going over 80 chars. | |||||
2012-11-26 | gdbus: Move typedefs up | Lucas De Marchi | 1 | -18/+29 | |
Move the typedefs up so they can be used by functions and callbacks. | |||||
2012-11-25 | unit: Fix SMS unit tests | Marcel Holtmann | 2 | -1/+31 | |
2012-11-23 | atmodem: Always quote data in CRSM write operations | Denis Kenzior | 1 | -19/+4 | |
2012-11-23 | atmodem: Support CRSM with paths | Denis Kenzior | 1 | -5/+35 | |
For GET STATUS and READ BINARY variations, support appending of the optional path in the CRSM command | |||||
2012-11-23 | sim: Read icons with a full SIM/USIM path | Denis Kenzior | 1 | -4/+18 | |
2012-11-23 | simfs: Handle optional EF paths | Denis Kenzior | 2 | -2/+11 | |
2012-11-23 | include: Tweak ofono_sim_read_bytes API | Denis Kenzior | 1 | -0/+1 | |
Reading of icons requires us to specify the path | |||||
2012-11-25 | qmimodem: Add support for UIM service handling | Marcel Holtmann | 5 | -0/+630 | |
2012-11-25 | udev: Let Huawei detection also check for cdc_wdm drivers | Marcel Holtmann | 1 | -0/+1 | |
2012-11-25 | udev: Use Qualcomm Gobi driver if QMI based modem | Marcel Holtmann | 1 | -0/+6 | |
2012-11-25 | udev: Handle USB descriptors from Vodafone K5005 modem | Marcel Holtmann | 1 | -4/+11 | |
2012-11-25 | gobi: Use UIM service is available | Marcel Holtmann | 1 | -0/+3 | |
2012-11-25 | sim: Assume CPHS files are in ADFusim | Marcel Holtmann | 1 | -8/+8 | |
2012-11-25 | test: Fix modem path handling for icon testing | Marcel Holtmann | 1 | -2/+2 | |
2012-11-25 | test: Allow STK testing without voice call manager | Marcel Holtmann | 1 | -2/+8 | |
2012-11-25 | qmimodem: Print error string instead of code if available | Marcel Holtmann | 1 | -3/+10 | |
2012-11-25 | qmimodem: Pretty print service name in debug logs | Marcel Holtmann | 1 | -1/+5 | |
2012-11-25 | qmimodem: Fix debug printing of messages | Marcel Holtmann | 1 | -3/+8 | |
2012-11-25 | qmimodem: Add helper for error message strings | Marcel Holtmann | 2 | -0/+109 | |
2012-11-22 | unit: Add 2G and 3G path lookup tests | Denis Kenzior | 1 | -0/+24 | |
2012-11-22 | unit: Fix Style | Denis Kenzior | 1 | -1/+2 | |
2012-11-22 | unit: Remove failing test | Denis Kenzior | 1 | -3/+0 | |
We removed the needed file id from the sim database. It was not being used. | |||||
2012-11-22 | simutil: Add 2G and 3G path lookup utilities | Denis Kenzior | 2 | -0/+68 | |
2012-11-22 | simfs: Update to the new SIM api | Denis Kenzior | 1 | -4/+8 | |
2012-11-22 | sim: Update to the new sim reading API | Denis Kenzior | 1 | -1/+1 | |
2012-11-22 | atmodem: Update sim driver to the new api | Denis Kenzior | 1 | -9/+23 | |
2012-11-22 | qmi: Update sim-legacy driver to the new API | Denis Kenzior | 1 | -2/+6 | |
2012-11-22 | isi: Update UICC driver to the new API | Denis Kenzior | 1 | -3/+18 | |
2012-11-22 | isimodem: Update sim driver to the new API | Denis Kenzior | 1 | -0/+14 | |
2012-11-22 | include: Add path and path_len arguments | Denis Kenzior | 1 | -0/+7 | |
The CRSM command has an additional parameter called pathlen which can be used to specify the path of the elementary file outside the well-known path range. | |||||
2012-11-22 | simutil: Introduce 2G and 3G parent paths | Denis Kenzior | 2 | -60/+41 | |
2012-11-24 | test: Allow DisplayText to be interrupted by incoming calls | Marcel Holtmann | 1 | -6/+26 | |
2012-11-22 | voicecall: Handle RESETTING sim state | Denis Kenzior | 1 | -0/+1 | |
2012-11-22 | modem: Handle RESETTING sim state | Denis Kenzior | 1 | -0/+1 | |