summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-11-26gdbus: Add support for invalidated propertiesJohan Hedberg1-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-26gdbus: Fix processing pending properties in remove_interface()Johan Hedberg1-0/+2
2012-11-26gdbus: Fix up Properties.Set() code pathLucas De Marchi1-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-26gdbus: Fix invalid memory access while unregisteringLucas De Marchi1-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-26gdbus: Implement PropertiesChanged signalLucas De Marchi2-2/+109
2012-11-26gdbus: Simplify code for appending propertiesLuiz Augusto von Dentz1-32/+2
This reuse append_properties for GetAll and GetManagedObjects
2012-11-26gdbus: Integrates ObjectManager with Properties interfaceLuiz Augusto von Dentz1-1/+27
This appends the properties and its values when using ObjectManager.
2012-11-26gdbus: Only export ObjectManager interface on root pathLuiz Augusto von Dentz1-2/+15
ObjectManager should be exported only in the root path and list all the children paths.
2012-11-26gdbus: Group interface changes to reduce the amount of signals emittedLuiz Augusto von Dentz1-154/+208
InterfacesAdded and InterfacesRemoved can group all the interfaces changes together in one message.
2012-11-26gdbus: Add support for org.freedesktop.DBus.ObjectManager interfaceLuiz Augusto von Dentz1-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-26gdbus: Add properties into Introspectable interfaceLucas De Marchi1-0/+19
2012-11-26gdbus: Implement DBus.Properties.Set methodLucas De Marchi2-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-26gdbus: Implement DBus.Properties.GetAll methodLucas De Marchi1-1/+55
2012-11-26gdbus: Implement DBus.Properties.Get methodLucas De Marchi2-1/+69
2012-11-26gdbus: Add skeleton of DBus.Properties interfaceLucas De Marchi1-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-26gdbus: Use macros to add annotationsLucas De Marchi1-12/+28
Besides being more readable this way it avoids going over 80 chars.
2012-11-26gdbus: Move typedefs upLucas De Marchi1-18/+29
Move the typedefs up so they can be used by functions and callbacks.
2012-11-25unit: Fix SMS unit testsMarcel Holtmann2-1/+31
2012-11-23atmodem: Always quote data in CRSM write operationsDenis Kenzior1-19/+4
2012-11-23atmodem: Support CRSM with pathsDenis Kenzior1-5/+35
For GET STATUS and READ BINARY variations, support appending of the optional path in the CRSM command
2012-11-23sim: Read icons with a full SIM/USIM pathDenis Kenzior1-4/+18
2012-11-23simfs: Handle optional EF pathsDenis Kenzior2-2/+11
2012-11-23include: Tweak ofono_sim_read_bytes APIDenis Kenzior1-0/+1
Reading of icons requires us to specify the path
2012-11-25qmimodem: Add support for UIM service handlingMarcel Holtmann5-0/+630
2012-11-25udev: Let Huawei detection also check for cdc_wdm driversMarcel Holtmann1-0/+1
2012-11-25udev: Use Qualcomm Gobi driver if QMI based modemMarcel Holtmann1-0/+6
2012-11-25udev: Handle USB descriptors from Vodafone K5005 modemMarcel Holtmann1-4/+11
2012-11-25gobi: Use UIM service is availableMarcel Holtmann1-0/+3
2012-11-25sim: Assume CPHS files are in ADFusimMarcel Holtmann1-8/+8
2012-11-25test: Fix modem path handling for icon testingMarcel Holtmann1-2/+2
2012-11-25test: Allow STK testing without voice call managerMarcel Holtmann1-2/+8
2012-11-25qmimodem: Print error string instead of code if availableMarcel Holtmann1-3/+10
2012-11-25qmimodem: Pretty print service name in debug logsMarcel Holtmann1-1/+5
2012-11-25qmimodem: Fix debug printing of messagesMarcel Holtmann1-3/+8
2012-11-25qmimodem: Add helper for error message stringsMarcel Holtmann2-0/+109
2012-11-22unit: Add 2G and 3G path lookup testsDenis Kenzior1-0/+24
2012-11-22unit: Fix StyleDenis Kenzior1-1/+2
2012-11-22unit: Remove failing testDenis Kenzior1-3/+0
We removed the needed file id from the sim database. It was not being used.
2012-11-22simutil: Add 2G and 3G path lookup utilitiesDenis Kenzior2-0/+68
2012-11-22simfs: Update to the new SIM apiDenis Kenzior1-4/+8
2012-11-22sim: Update to the new sim reading APIDenis Kenzior1-1/+1
2012-11-22atmodem: Update sim driver to the new apiDenis Kenzior1-9/+23
2012-11-22qmi: Update sim-legacy driver to the new APIDenis Kenzior1-2/+6
2012-11-22isi: Update UICC driver to the new APIDenis Kenzior1-3/+18
2012-11-22isimodem: Update sim driver to the new APIDenis Kenzior1-0/+14
2012-11-22include: Add path and path_len argumentsDenis Kenzior1-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-22simutil: Introduce 2G and 3G parent pathsDenis Kenzior2-60/+41
2012-11-24test: Allow DisplayText to be interrupted by incoming callsMarcel Holtmann1-6/+26
2012-11-22voicecall: Handle RESETTING sim stateDenis Kenzior1-0/+1
2012-11-22modem: Handle RESETTING sim stateDenis Kenzior1-0/+1