Commit Graph

6997 Commits

Author SHA1 Message Date
Lucas De Marchi 7482480294 gdbus: Simplify generated introspection
The generated introspection is not supposed to be read as is by human,
so there's no point in printing the indentation or writing more code to
use auto-close tags.

If it's desired to read the raw xml file, user can always use other
tools to transform the output such as "xmllint --format".

This also fixes a missing </property> when property is deprecated.
2013-01-03 21:34:18 -08:00
Marcel Holtmann 7738e3a92c gdbus: Hold client reference during get name owner reply 2013-01-02 07:37:35 -08:00
Luiz Augusto von Dentz a559a4993b gdbus: Call check_signals when sending signals with g_dbus_send_message
If message passed to g_dbus_send_message is a signal verify if it is a
valid and there really exists an interface with respective signal name.
2012-12-30 10:49:27 -08:00
Luiz Augusto von Dentz 9ed7b17ca3 gdbus: Check if the interface being registered is valid
This prevent registering interfaces that are empty or have all members
marked as experiemental.
2012-12-30 10:49:27 -08:00
Luiz Augusto von Dentz 5f8485bcc1 gdbus: Introduce G_DBUS_PROPERTY_FLAG_EXPERIMENTAL
This flag can be used to mark properties as experimental, marked
properties are disabled by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
2012-12-30 10:49:27 -08:00
Luiz Augusto von Dentz 4b14fcc9a1 gdbus: Introduce G_DBUS_SIGNAL_FLAG_EXPERIMENTAL
This flag can be used to mark signals as experimental, marked
signals are disabled by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
2012-12-30 10:49:27 -08:00
Luiz Augusto von Dentz 4b50c0bd05 gdbus: Introduce G_DBUS_METHOD_FLAG_EXPERIMENTAL
This flag can be used to mark methods as experimental, marked
methods are disable by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
2012-12-30 10:49:27 -08:00
Marcel Holtmann 37a54d0433 gdbus: Include changed properties only once per signal 2012-12-30 00:58:59 -08:00
Marcel Holtmann 2f3da9cdf4 gdbus: Update properties on D-Bus client re-connections 2012-12-29 14:49:38 -08:00
Marcel Holtmann f9f6536b2b gdbus: Add function to manually refresh properties 2012-12-29 14:49:38 -08:00
Marcel Holtmann 816c028a94 gdbus: Add support for proxy property change notifications 2012-12-29 14:49:38 -08:00
Marcel Holtmann d3899c7af6 gdbus: Fix handling of client connect/disconnect signals 2012-12-29 14:49:38 -08:00
Marcel Holtmann cdd1febd4d gdbus: Protect standalone proxy creation with client reference 2012-12-29 14:49:37 -08:00
Marcel Holtmann 9ba681ddcd gdbus: Use object manager only if callback functions are set 2012-12-27 23:59:19 -08:00
Marcel Holtmann 91e3369a38 gdbus: Use client service name and not hardcoded org.bluez 2012-12-27 23:59:19 -08:00
Marcel Holtmann 8bef871cff gdbus: Add support for creating D-Bus proxies without object manager 2012-12-27 23:59:19 -08:00
Marcel Holtmann d1bd840d2e gdbus: Avoid using g_ptr_array_new_full convenience function
The g_ptr_array_new_full function only got introduced with GLib 2.30
and to avoid requiring a newer GLib use g_ptr_array_set_free_func instead.
2012-12-22 12:09:58 -08:00
Marcel Holtmann 649ee6bf67 Release 1.12 2012-12-20 00:10:11 +01:00
Denis Kenzior 8fa878de30 doc: Add USAT certification status document 2012-12-19 14:01:05 -06:00
Marcel Holtmann 5cf66a7d38 build: Compile support for new D-Bus client helpers 2012-12-19 03:51:22 +01:00
Marcel Holtmann fcab2080be gdbus: Increase the method call timeout to 5 minutes 2012-12-19 03:50:43 +01:00
Marcel Holtmann e7ca33f908 gdbus: Add helper for sending async error replies 2012-12-19 03:50:42 +01:00
Marcel Holtmann 5de077a604 gdbus: Fix race condition with creating duplicate client proxies 2012-12-19 03:50:42 +01:00
Marcel Holtmann 4a0cab2f85 gdbus: Fix issue with unref of client while parsing interfaces 2012-12-19 03:50:42 +01:00
Marcel Holtmann c3d3a3a661 gdbus: Fix issue with unref of client in connect handler 2012-12-19 03:50:42 +01:00
Marcel Holtmann 33ff02e3a4 gdbus: Add support for D-Bus client method calls 2012-12-19 03:50:42 +01:00
Marcel Holtmann 90c719f29c gdbus: Add callback support for handling property changes 2012-12-19 03:50:42 +01:00
Marcel Holtmann f40f27cd44 gdbus: Handle property changed signals and update property 2012-12-19 03:50:42 +01:00
Marcel Holtmann 64103f35a1 gdbus: Set property changed filter match rule for each proxy 2012-12-19 03:50:42 +01:00
Marcel Holtmann ec448e4d36 gdbus: Use a GPtrArray for the match rules 2012-12-19 03:50:42 +01:00
Marcel Holtmann 7ba21da7f3 gdbus: Add support for setting D-Bus client basic properties 2012-12-19 03:50:42 +01:00
Marcel Holtmann 37a3708928 gdbus: Deep copy of variants also requires a signature 2012-12-19 03:50:42 +01:00
Marcel Holtmann ada304fb01 gdbus: Add support for complex D-Bus client properties 2012-12-19 03:50:42 +01:00
Marcel Holtmann 8ec0dab7fa gdbus: Add support for D-Bus client properties 2012-12-19 03:50:42 +01:00
Marcel Holtmann b30177d961 gdbus: Add support for D-Bus client proxies 2012-12-19 03:50:42 +01:00
Marcel Holtmann 8d5bb26e43 gdbus: Add helper functions for simple D-Bus clients 2012-12-19 03:50:42 +01:00
Christopher Vogl 157c365ca5 telit: set baud rate to 115200
Telit HE910 needs the baud rate to be set.
2012-12-17 10:17:19 -06:00
Christopher Vogl 404f2e3cb9 sim: return from cpin when sim ready for telit
Especially for Telit HE910 it is not enough to wait for
entering a PIN code.
If we do not wait for #QSS: 3, subsequent commands,
like +CMER will report SIM BUSY and the network registration
atom will be removed as a consequence.
2012-12-17 09:50:22 -06:00
Daniel Wagner 79453f3284 atutil: Remove unused macro
With commit 6ee21a3fc1
the usage DECLARE_FAILURE was removed.
2012-12-17 09:50:22 -06:00
Denis Kenzior 11875b7f79 test: Tweak list-modems to display battchg 2012-12-17 09:50:22 -06:00
Denis Kenzior fb1d1c3426 hfp: use ofono_handsfree_battchg_notify 2012-12-17 09:50:22 -06:00
Denis Kenzior 679e3d708b handsfree: Implement BatteryChargeLevel 2012-12-17 09:50:21 -06:00
Denis Kenzior 1ffe69527c include: Add battery charge level notify API 2012-12-17 09:50:21 -06:00
Denis Kenzior ad13d4ba4d doc: Add BatteryChargeLevel to Handsfree 2012-12-17 09:50:21 -06:00
Marcel Holtmann 62b881fc0d tools: Make two functions of stktest static 2012-12-15 21:53:56 +01:00
Marcel Holtmann acf36054a9 build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P 2012-12-11 17:17:46 +01:00
Marcel Holtmann 660bbf6766 build: Reorder default developer build options 2012-12-10 20:45:24 +01:00
Marcel Holtmann cd93708f3e build: Reorder configure options 2012-12-10 20:09:30 +01:00
Denis Kenzior 51633002d5 AUTHORS: Mention Mingli's contributions 2012-12-04 23:48:50 -06:00
Mingli Wu 911eeb6565 atmodem: remove pending idle callbacks at removal
If device probe and removal happen in short succession, it's possible
that the idle handler registered in the probe function doesn't run before
the device is removed.  In this case, the idle handler needs to be
unregistered so that it does not run and try to access the data that's
destroyed during the removal.
2012-12-04 23:48:14 -06:00