OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agogdbus: Hold client reference during get name owner reply
Marcel Holtmann [Wed, 2 Jan 2013 15:35:53 +0000 (07:35 -0800)]
gdbus: Hold client reference during get name owner reply

11 years agoobexd: Fix crash while removing session
Marcin Zawiejski [Mon, 31 Dec 2012 14:00:54 +0000 (15:00 +0100)]
obexd: Fix crash while removing session

Crash occurs when removing a session with RemoveSession while another
session has been created but not yet registered.

Backtrace:
0  __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:233
1  0xb758e7c3 in g_str_equal () from /lib/i386-linux-gnu/libglib-2.0.so.0
2  0x08073e56 in find_session (path=0x85c8504 "/org/bluez/obex/session0") at obexd/client/manager.c:146
3  remove_session (connection=0x85bc5e0, message=0x85bca98, user_data=0x0) at obexd/client/manager.c:216
4  0x08055f6f in process_message (connection=0x85bc5e0, message=<optimized out>, iface_user_data=0x0,
    method=<optimized out>, method=<optimized out>) at gdbus/object.c:285
5  0xb7672666 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
6  0xb76624d7 in dbus_connection_dispatch () from /lib/i386-linux-gnu/libdbus-1.so.3
7  0x080532f8 in message_dispatch (data=0x85bc5e0) at gdbus/mainloop.c:76
8  0xb759f6bf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
9  0xb759e9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
10 0xb759ed80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
11 0xb759f1db in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
12 0x08052d74 in main (argc=1, argv=0xbfb344e4) at obexd/src/main.c:323

11 years agocore: Add a few more debug statements to adapter handling
Marcel Holtmann [Wed, 2 Jan 2013 01:36:48 +0000 (17:36 -0800)]
core: Add a few more debug statements to adapter handling

11 years agoshared: Add missing include for standard integers
Marcel Holtmann [Wed, 2 Jan 2013 01:12:43 +0000 (17:12 -0800)]
shared: Add missing include for standard integers

11 years agotools: Add first GAP test for adapter setup
Marcel Holtmann [Wed, 2 Jan 2013 01:11:48 +0000 (17:11 -0800)]
tools: Add first GAP test for adapter setup

11 years agotools: Move HCI emulation to shared source area
Marcel Holtmann [Tue, 1 Jan 2013 20:35:09 +0000 (12:35 -0800)]
tools: Move HCI emulation to shared source area

11 years agotools: Add initial set of basic management interface tests
Marcel Holtmann [Tue, 1 Jan 2013 20:28:42 +0000 (12:28 -0800)]
tools: Add initial set of basic management interface tests

11 years agotools: Add post command hook support to HCI emulation
Marcel Holtmann [Tue, 1 Jan 2013 20:20:38 +0000 (12:20 -0800)]
tools: Add post command hook support to HCI emulation

11 years agoshared: Add user data support to tester framework
Marcel Holtmann [Tue, 1 Jan 2013 20:14:25 +0000 (12:14 -0800)]
shared: Add user data support to tester framework

11 years agoshared: Measure execution time for tester framework
Marcel Holtmann [Tue, 1 Jan 2013 16:21:34 +0000 (08:21 -0800)]
shared: Measure execution time for tester framework

11 years agotools: Add skeleton for management interface tester
Marcel Holtmann [Tue, 1 Jan 2013 10:24:21 +0000 (02:24 -0800)]
tools: Add skeleton for management interface tester

11 years agoshared: Add support for tester framework
Marcel Holtmann [Tue, 1 Jan 2013 10:20:29 +0000 (02:20 -0800)]
shared: Add support for tester framework

11 years agoemulator: Add stubs for command complete and command status events
Marcel Holtmann [Tue, 1 Jan 2013 10:19:00 +0000 (02:19 -0800)]
emulator: Add stubs for command complete and command status events

11 years agoshared: Handle reentrant mangement interface cleanup from notifications
Marcel Holtmann [Tue, 1 Jan 2013 07:49:01 +0000 (23:49 -0800)]
shared: Handle reentrant mangement interface cleanup from notifications

11 years agoshared: Fix file descriptor handling for management interface
Marcel Holtmann [Tue, 1 Jan 2013 07:12:17 +0000 (23:12 -0800)]
shared: Fix file descriptor handling for management interface

11 years agoiap: Replace whitespaces with a single tab
Marcel Holtmann [Tue, 1 Jan 2013 03:37:45 +0000 (19:37 -0800)]
iap: Replace whitespaces with a single tab

11 years agoshared: Add support for management interface handling
Marcel Holtmann [Tue, 1 Jan 2013 02:50:00 +0000 (18:50 -0800)]
shared: Add support for management interface handling

11 years agoshared: Add generic debug string helper
Marcel Holtmann [Tue, 1 Jan 2013 02:46:08 +0000 (18:46 -0800)]
shared: Add generic debug string helper

11 years agoshared: Add generic hexdump helper
Marcel Holtmann [Tue, 1 Jan 2013 02:37:07 +0000 (18:37 -0800)]
shared: Add generic hexdump helper

11 years agolib: Avoid using HCI_MAX_NAME_LENGTH in management header
Marcel Holtmann [Tue, 1 Jan 2013 01:09:52 +0000 (17:09 -0800)]
lib: Avoid using HCI_MAX_NAME_LENGTH in management header

11 years agocore: If system name is not set, use system config name
Marcel Holtmann [Mon, 31 Dec 2012 18:24:53 +0000 (10:24 -0800)]
core: If system name is not set, use system config name

11 years agocore: Don't trigger an alias property change when no name is set
Marcel Holtmann [Mon, 31 Dec 2012 18:22:53 +0000 (10:22 -0800)]
core: Don't trigger an alias property change when no name is set

11 years agocore: Prefer adapter alias over system name on power up
Marcel Holtmann [Mon, 31 Dec 2012 18:16:39 +0000 (10:16 -0800)]
core: Prefer adapter alias over system name on power up

11 years agomonitor: Add decoding for minor class for computer major class
Marcel Holtmann [Mon, 31 Dec 2012 01:27:14 +0000 (17:27 -0800)]
monitor: Add decoding for minor class for computer major class

11 years agomonitor: Remove extra semicolon
Marcel Holtmann [Mon, 31 Dec 2012 01:17:47 +0000 (17:17 -0800)]
monitor: Remove extra semicolon

11 years agomonitor: Add detailed decode for class of device value
Marcel Holtmann [Sun, 30 Dec 2012 19:57:40 +0000 (11:57 -0800)]
monitor: Add detailed decode for class of device value

11 years agomonitor: Print well known inquiry access codes as strings
Marcel Holtmann [Sun, 30 Dec 2012 19:13:22 +0000 (11:13 -0800)]
monitor: Print well known inquiry access codes as strings

11 years agosap: Don't print error if experimental interface fails to register
Marcel Holtmann [Sun, 30 Dec 2012 19:01:24 +0000 (11:01 -0800)]
sap: Don't print error if experimental interface fails to register

11 years agosap: Enable SIM Access test interface as experimental
Marcel Holtmann [Sun, 30 Dec 2012 18:57:11 +0000 (10:57 -0800)]
sap: Enable SIM Access test interface as experimental

11 years agoAVRCP: Fix not checking for media_player_controller_create
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:09 +0000 (14:51 +0200)]
AVRCP: Fix not checking for media_player_controller_create

Now that the MediaPlayer1 interface is experimental the interface
registration may fail which return NULL, in that case there is no
point on register to any notifications.

11 years agoplayer: Enable MediaPlayer1 interface as experimental
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:08 +0000 (14:51 +0200)]
player: Enable MediaPlayer1 interface as experimental

This enable MediaPlayer1 when GDBUS_EXPERIMENTAL=1

11 years agomedia: Enable RegisterPlayer and UnregisterPlayer methods as experimental
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:07 +0000 (14:51 +0200)]
media: Enable RegisterPlayer and UnregisterPlayer methods as experimental

11 years agocore: Add command line switch for enabling experimental interfaces
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:05 +0000 (14:51 +0200)]
core: Add command line switch for enabling experimental interfaces

This enable passing --experimental/-E to enable experimental interfaces

11 years agogdbus: Call check_signals when sending signals with g_dbus_send_message
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:03 +0000 (14:51 +0200)]
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.

11 years agogdbus: Check if the interface being registered is valid
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:02 +0000 (14:51 +0200)]
gdbus: Check if the interface being registered is valid

This prevent registering interfaces that are empty or have all members
marked as experiemental.

11 years agogdbus: Introduce G_DBUS_PROPERTY_FLAG_EXPERIMENTAL
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:01 +0000 (14:51 +0200)]
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.

11 years agogdbus: Introduce G_DBUS_SIGNAL_FLAG_EXPERIMENTAL
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:00 +0000 (14:51 +0200)]
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.

11 years agogdbus: Introduce G_DBUS_METHOD_FLAG_EXPERIMENTAL
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:50:59 +0000 (14:50 +0200)]
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.

11 years agocore: Add more debugs for name and class of device updates
Marcel Holtmann [Sun, 30 Dec 2012 09:47:26 +0000 (01:47 -0800)]
core: Add more debugs for name and class of device updates

11 years agocore: Fix class of device value from static configuration
Marcel Holtmann [Sun, 30 Dec 2012 09:44:11 +0000 (01:44 -0800)]
core: Fix class of device value from static configuration

11 years agocore: Remove no longer needed host_name global option
Marcel Holtmann [Sun, 30 Dec 2012 09:42:23 +0000 (01:42 -0800)]
core: Remove no longer needed host_name global option

11 years agocore: Silly workaround for a really stupid kernel bug :(
Marcel Holtmann [Sun, 30 Dec 2012 09:26:25 +0000 (01:26 -0800)]
core: Silly workaround for a really stupid kernel bug :(

11 years agogdbus: Include changed properties only once per signal
Marcel Holtmann [Sun, 30 Dec 2012 08:58:04 +0000 (00:58 -0800)]
gdbus: Include changed properties only once per signal

11 years agocore: Force reset of class of device property on power down
Marcel Holtmann [Sun, 30 Dec 2012 08:51:28 +0000 (00:51 -0800)]
core: Force reset of class of device property on power down

The kernel resets the class of device on power down, but it forgets to
actually tell userspace about. Until this gets fixed force the reset
of the class of device property.

11 years agocore: Fix some of the mgmt debug statements
Marcel Holtmann [Sun, 30 Dec 2012 08:40:09 +0000 (00:40 -0800)]
core: Fix some of the mgmt debug statements

11 years agocore: Remove the pointless handing around of mgmt socket fd
Marcel Holtmann [Sun, 30 Dec 2012 08:22:16 +0000 (00:22 -0800)]
core: Remove the pointless handing around of mgmt socket fd

11 years agocore: Add debugs for adapter name and class change notifications
Marcel Holtmann [Sun, 30 Dec 2012 07:31:23 +0000 (23:31 -0800)]
core: Add debugs for adapter name and class change notifications

11 years agocore: Add debug details for postponed class of device setting
Marcel Holtmann [Sun, 30 Dec 2012 07:27:07 +0000 (23:27 -0800)]
core: Add debug details for postponed class of device setting

11 years agocore: Return actual major and minor class values and not zero
Marcel Holtmann [Sun, 30 Dec 2012 07:22:01 +0000 (23:22 -0800)]
core: Return actual major and minor class values and not zero

11 years agomonitor: Print manufacturer string from database
Marcel Holtmann [Sun, 30 Dec 2012 06:59:24 +0000 (22:59 -0800)]
monitor: Print manufacturer string from database

11 years agotools: Fix issue with bt_compidtostr being const
Marcel Holtmann [Sun, 30 Dec 2012 06:59:07 +0000 (22:59 -0800)]
tools: Fix issue with bt_compidtostr being const

11 years agolib: Make bt_compidtostr return value const
Marcel Holtmann [Sun, 30 Dec 2012 06:58:11 +0000 (22:58 -0800)]
lib: Make bt_compidtostr return value const

11 years agocore: Add version information to default name
Marcel Holtmann [Sun, 30 Dec 2012 06:45:28 +0000 (22:45 -0800)]
core: Add version information to default name

11 years agoclient: Don't bother with individual Device ID properties
Marcel Holtmann [Sun, 30 Dec 2012 06:41:33 +0000 (22:41 -0800)]
client: Don't bother with individual Device ID properties

11 years agocore: UUID list of device might be empty, but it always exists
Marcel Holtmann [Sun, 30 Dec 2012 06:35:18 +0000 (22:35 -0800)]
core: UUID list of device might be empty, but it always exists

11 years agodoc: Fix annotation for optional device properties
Marcel Holtmann [Sun, 30 Dec 2012 06:33:42 +0000 (22:33 -0800)]
doc: Fix annotation for optional device properties

11 years agocore: Remove support for individual Device ID properties
Marcel Holtmann [Sun, 30 Dec 2012 06:32:34 +0000 (22:32 -0800)]
core: Remove support for individual Device ID properties

11 years agodoc: Remove individual Device ID properties
Marcel Holtmann [Sun, 30 Dec 2012 06:32:14 +0000 (22:32 -0800)]
doc: Remove individual Device ID properties

11 years agocore: Add support for device modalias property
Marcel Holtmann [Sun, 30 Dec 2012 06:22:18 +0000 (22:22 -0800)]
core: Add support for device modalias property

11 years agodoc: Add entry for modalias properties
Marcel Holtmann [Sun, 30 Dec 2012 06:21:30 +0000 (22:21 -0800)]
doc: Add entry for modalias properties

11 years agoclient: Print modalias properties if available
Marcel Holtmann [Sun, 30 Dec 2012 06:19:54 +0000 (22:19 -0800)]
client: Print modalias properties if available

11 years agocore: Add support for adapter modalias property
Marcel Holtmann [Sun, 30 Dec 2012 06:04:12 +0000 (22:04 -0800)]
core: Add support for adapter modalias property

11 years agocore: Add helper function for creating modalias
Marcel Holtmann [Sun, 30 Dec 2012 06:03:42 +0000 (22:03 -0800)]
core: Add helper function for creating modalias

11 years agoproximity: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:29:42 +0000 (21:29 -0800)]
proximity: The function g_dbus_pending_property_error has no return value

11 years agothermometer: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:28:42 +0000 (21:28 -0800)]
thermometer: The function g_dbus_pending_property_error has no return value

11 years agocyclingspeed: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:27:38 +0000 (21:27 -0800)]
cyclingspeed: The function g_dbus_pending_property_error has no return value

11 years agoaudio: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:24:40 +0000 (21:24 -0800)]
audio: The function g_dbus_pending_property_error has no return value

11 years agoobexd: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:24:26 +0000 (21:24 -0800)]
obexd: The function g_dbus_pending_property_error has no return value

11 years agocore: The function g_dbus_pending_property_error has no return value
Marcel Holtmann [Sun, 30 Dec 2012 05:23:39 +0000 (21:23 -0800)]
core: The function g_dbus_pending_property_error has no return value

11 years agodoc: The user provided friendly name is stored as alias
Marcel Holtmann [Sun, 30 Dec 2012 05:14:19 +0000 (21:14 -0800)]
doc: The user provided friendly name is stored as alias

11 years agocore: Remove no longer used adapter_set_allow_name_changes function
Marcel Holtmann [Sun, 30 Dec 2012 05:12:35 +0000 (21:12 -0800)]
core: Remove no longer used adapter_set_allow_name_changes function

11 years agohostname: No need to restrict adapter name changes anymore
Marcel Holtmann [Sun, 30 Dec 2012 05:10:56 +0000 (21:10 -0800)]
hostname: No need to restrict adapter name changes anymore

11 years agocore: Separate adapter name property from alias
Marcel Holtmann [Sun, 30 Dec 2012 05:10:15 +0000 (21:10 -0800)]
core: Separate adapter name property from alias

11 years agoclient: Allow setting and resetting of controller alias
Marcel Holtmann [Sun, 30 Dec 2012 05:09:28 +0000 (21:09 -0800)]
client: Allow setting and resetting of controller alias

11 years agocore: Add support for adatper alias property
Marcel Holtmann [Sun, 30 Dec 2012 03:55:27 +0000 (19:55 -0800)]
core: Add support for adatper alias property

11 years agoclient: Show adapter alias property as well
Marcel Holtmann [Sun, 30 Dec 2012 03:54:30 +0000 (19:54 -0800)]
client: Show adapter alias property as well

11 years agodoc: Rephrase the reset handling of device alias property
Marcel Holtmann [Sun, 30 Dec 2012 03:53:59 +0000 (19:53 -0800)]
doc: Rephrase the reset handling of device alias property

11 years agodoc: Add some extra notes to class of device adapter property
Marcel Holtmann [Sun, 30 Dec 2012 03:52:54 +0000 (19:52 -0800)]
doc: Add some extra notes to class of device adapter property

11 years agodoc: Introduce adapter alias property and make name property read only
Marcel Holtmann [Sun, 30 Dec 2012 03:52:18 +0000 (19:52 -0800)]
doc: Introduce adapter alias property and make name property read only

11 years agodoc: Mention that the adapter powered property is not persistent
Marcel Holtmann [Sun, 30 Dec 2012 00:28:03 +0000 (16:28 -0800)]
doc: Mention that the adapter powered property is not persistent

11 years agodoc: Mention the external control of adapter name property
Marcel Holtmann [Sun, 30 Dec 2012 00:26:20 +0000 (16:26 -0800)]
doc: Mention the external control of adapter name property

11 years agocore: Set default Device ID information record
Marcel Holtmann [Sun, 30 Dec 2012 00:17:32 +0000 (16:17 -0800)]
core: Set default Device ID information record

11 years agocore: Don't try to set hostname as default adapter name
Marcel Holtmann [Sun, 30 Dec 2012 00:08:26 +0000 (16:08 -0800)]
core: Don't try to set hostname as default adapter name

11 years agoplugins: Remove no longer needed formfactor plugin
Marcel Holtmann [Sat, 29 Dec 2012 23:57:21 +0000 (15:57 -0800)]
plugins: Remove no longer needed formfactor plugin

11 years agohostname: Add fallback to DMI information for class of device
Marcel Holtmann [Sat, 29 Dec 2012 23:56:15 +0000 (15:56 -0800)]
hostname: Add fallback to DMI information for class of device

11 years agoplugins: Remove no longer needed adaptername plugin
Marcel Holtmann [Sat, 29 Dec 2012 23:32:55 +0000 (15:32 -0800)]
plugins: Remove no longer needed adaptername plugin

11 years agohostname: Use numbered pretty hostnames for multiple adapters
Marcel Holtmann [Sat, 29 Dec 2012 23:29:20 +0000 (15:29 -0800)]
hostname: Use numbered pretty hostnames for multiple adapters

11 years agocore: Track the stored adapter name independent from the current name
Marcel Holtmann [Sat, 29 Dec 2012 23:25:17 +0000 (15:25 -0800)]
core: Track the stored adapter name independent from the current name

11 years agoplugins: Add support for systemd's hostname daemon
Marcel Holtmann [Sat, 29 Dec 2012 22:46:19 +0000 (14:46 -0800)]
plugins: Add support for systemd's hostname daemon

11 years agogdbus: Update properties on D-Bus client re-connections
Marcel Holtmann [Sat, 29 Dec 2012 21:42:51 +0000 (13:42 -0800)]
gdbus: Update properties on D-Bus client re-connections

11 years agogdbus: Add function to manually refresh properties
Marcel Holtmann [Sat, 29 Dec 2012 21:24:17 +0000 (13:24 -0800)]
gdbus: Add function to manually refresh properties

11 years agogdbus: Add support for proxy property change notifications
Marcel Holtmann [Sat, 29 Dec 2012 20:29:50 +0000 (12:29 -0800)]
gdbus: Add support for proxy property change notifications

11 years agogdbus: Fix handling of client connect/disconnect signals
Marcel Holtmann [Sat, 29 Dec 2012 20:27:33 +0000 (12:27 -0800)]
gdbus: Fix handling of client connect/disconnect signals

11 years agogdbus: Protect standalone proxy creation with client reference
Marcel Holtmann [Sat, 29 Dec 2012 19:57:05 +0000 (11:57 -0800)]
gdbus: Protect standalone proxy creation with client reference

11 years agocore: Don't bother with trying to handle SIGPIPE
Marcel Holtmann [Sat, 29 Dec 2012 19:20:57 +0000 (11:20 -0800)]
core: Don't bother with trying to handle SIGPIPE

11 years agomonitor: Fix handling of unknown L2CAP options
Marcel Holtmann [Fri, 28 Dec 2012 23:35:10 +0000 (15:35 -0800)]
monitor: Fix handling of unknown L2CAP options

11 years agotools: Don't print empty line at the end of hwdb list
Marcel Holtmann [Fri, 28 Dec 2012 22:39:21 +0000 (14:39 -0800)]
tools: Don't print empty line at the end of hwdb list

11 years agotools: Add Nike+ FuelBand product to hwdb utility
Marcel Holtmann [Fri, 28 Dec 2012 09:26:49 +0000 (01:26 -0800)]
tools: Add Nike+ FuelBand product to hwdb utility

11 years agounit: Update D-Bus client helper test handling
Marcel Holtmann [Fri, 28 Dec 2012 08:10:07 +0000 (00:10 -0800)]
unit: Update D-Bus client helper test handling

11 years agotools: Add skeleton for GAP testing utility
Marcel Holtmann [Fri, 28 Dec 2012 08:08:34 +0000 (00:08 -0800)]
tools: Add skeleton for GAP testing utility