OSDN Git Service
Marcel Holtmann [Sun, 30 Dec 2012 05:09:28 +0000 (21:09 -0800)]
client: Allow setting and resetting of controller alias
Marcel Holtmann [Sun, 30 Dec 2012 03:55:27 +0000 (19:55 -0800)]
core: Add support for adatper alias property
Marcel Holtmann [Sun, 30 Dec 2012 03:54:30 +0000 (19:54 -0800)]
client: Show adapter alias property as well
Marcel Holtmann [Sun, 30 Dec 2012 03:53:59 +0000 (19:53 -0800)]
doc: Rephrase the reset handling of device alias 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
Marcel Holtmann [Sun, 30 Dec 2012 03:52:18 +0000 (19:52 -0800)]
doc: Introduce adapter alias property and make name property read only
Marcel Holtmann [Sun, 30 Dec 2012 00:28:03 +0000 (16:28 -0800)]
doc: Mention that the adapter powered property is not persistent
Marcel Holtmann [Sun, 30 Dec 2012 00:26:20 +0000 (16:26 -0800)]
doc: Mention the external control of adapter name property
Marcel Holtmann [Sun, 30 Dec 2012 00:17:32 +0000 (16:17 -0800)]
core: Set default Device ID information record
Marcel Holtmann [Sun, 30 Dec 2012 00:08:26 +0000 (16:08 -0800)]
core: Don't try to set hostname as default adapter name
Marcel Holtmann [Sat, 29 Dec 2012 23:57:21 +0000 (15:57 -0800)]
plugins: Remove no longer needed formfactor plugin
Marcel Holtmann [Sat, 29 Dec 2012 23:56:15 +0000 (15:56 -0800)]
hostname: Add fallback to DMI information for class of device
Marcel Holtmann [Sat, 29 Dec 2012 23:32:55 +0000 (15:32 -0800)]
plugins: Remove no longer needed adaptername plugin
Marcel Holtmann [Sat, 29 Dec 2012 23:29:20 +0000 (15:29 -0800)]
hostname: Use numbered pretty hostnames for multiple adapters
Marcel Holtmann [Sat, 29 Dec 2012 23:25:17 +0000 (15:25 -0800)]
core: Track the stored adapter name independent from the current name
Marcel Holtmann [Sat, 29 Dec 2012 22:46:19 +0000 (14:46 -0800)]
plugins: Add support for systemd's hostname daemon
Marcel Holtmann [Sat, 29 Dec 2012 21:42:51 +0000 (13:42 -0800)]
gdbus: Update properties on D-Bus client re-connections
Marcel Holtmann [Sat, 29 Dec 2012 21:24:17 +0000 (13:24 -0800)]
gdbus: Add function to manually refresh properties
Marcel Holtmann [Sat, 29 Dec 2012 20:29:50 +0000 (12:29 -0800)]
gdbus: Add support for proxy property change notifications
Marcel Holtmann [Sat, 29 Dec 2012 20:27:33 +0000 (12:27 -0800)]
gdbus: Fix handling of client connect/disconnect signals
Marcel Holtmann [Sat, 29 Dec 2012 19:57:05 +0000 (11:57 -0800)]
gdbus: Protect standalone proxy creation with client reference
Marcel Holtmann [Sat, 29 Dec 2012 19:20:57 +0000 (11:20 -0800)]
core: Don't bother with trying to handle SIGPIPE
Marcel Holtmann [Fri, 28 Dec 2012 23:35:10 +0000 (15:35 -0800)]
monitor: Fix handling of unknown L2CAP options
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
Marcel Holtmann [Fri, 28 Dec 2012 09:26:49 +0000 (01:26 -0800)]
tools: Add Nike+ FuelBand product to hwdb utility
Marcel Holtmann [Fri, 28 Dec 2012 08:10:07 +0000 (00:10 -0800)]
unit: Update D-Bus client helper test handling
Marcel Holtmann [Fri, 28 Dec 2012 08:08:34 +0000 (00:08 -0800)]
tools: Add skeleton for GAP testing utility
Marcel Holtmann [Fri, 28 Dec 2012 08:04:56 +0000 (00:04 -0800)]
tools: Add framework for HCI emulation
Marcel Holtmann [Fri, 28 Dec 2012 07:57:44 +0000 (23:57 -0800)]
tools: Add Apple's Wireless iAP UUID entry
Marcel Holtmann [Fri, 28 Dec 2012 07:57:04 +0000 (23:57 -0800)]
profiles: Add experimental daemon for Apple's Wireless iAP
Marcel Holtmann [Fri, 28 Dec 2012 07:42:42 +0000 (23:42 -0800)]
tools: Add utility for creating hwdb from company identifiers
Marcel Holtmann [Fri, 28 Dec 2012 07:40:05 +0000 (23:40 -0800)]
lib: Update company names to match latest release
Marcel Holtmann [Fri, 28 Dec 2012 05:30:06 +0000 (21:30 -0800)]
gdbus: Use object manager only if callback functions are set
Marcel Holtmann [Fri, 28 Dec 2012 05:21:16 +0000 (21:21 -0800)]
gdbus: Use client service name and not hardcoded org.bluez
Marcel Holtmann [Fri, 28 Dec 2012 05:19:31 +0000 (21:19 -0800)]
gdbus: Add support for creating D-Bus proxies without object manager
Marcel Holtmann [Mon, 24 Dec 2012 17:35:38 +0000 (09:35 -0800)]
Release 5.0
Cristian Rodríguez [Mon, 24 Dec 2012 16:44:47 +0000 (13:44 -0300)]
lib: Use SOCK_CLOEXEC where needed
Calling programs might fork().. execve() and we will end
up leaking fds.
Cristian Rodríguez [Mon, 24 Dec 2012 15:25:30 +0000 (12:25 -0300)]
lib: use %m instead of strerror
Unlike strerror, %m is thread safe and we do not know
to what kind of program libbluetooth is being linked too.
Johan Hedberg [Mon, 24 Dec 2012 16:48:13 +0000 (18:48 +0200)]
core: Fix storing adapter info when connectable changes
Since we don't store the Connectable info persistently it doesn't make
any sense to call store_adapter_info() when the connectable state
changes.
Marcel Holtmann [Mon, 24 Dec 2012 03:05:07 +0000 (19:05 -0800)]
README: Fix minor typo
Marcel Holtmann [Mon, 24 Dec 2012 03:02:18 +0000 (19:02 -0800)]
AUTHORS: Mention Cristian's contributions
Cristian Rodríguez [Mon, 24 Dec 2012 02:59:48 +0000 (18:59 -0800)]
attrib: Fix missing config.h includes
Cristian Rodríguez [Mon, 24 Dec 2012 02:59:41 +0000 (18:59 -0800)]
btio: Fix missing config.h includes
Cristian Rodríguez [Mon, 24 Dec 2012 02:59:25 +0000 (18:59 -0800)]
obexd: Fix missing config.h includes
Cristian Rodríguez [Mon, 24 Dec 2012 02:59:12 +0000 (18:59 -0800)]
profiles: Fix missing config.h includes
Cristian Rodríguez [Mon, 24 Dec 2012 02:58:48 +0000 (18:58 -0800)]
tools: Fix missing config.h includes
Cristian Rodríguez [Mon, 24 Dec 2012 02:58:11 +0000 (18:58 -0800)]
unit: Fix missing config.h includes
Marcel Holtmann [Sun, 23 Dec 2012 22:37:56 +0000 (14:37 -0800)]
build: Update library version
Johan Hedberg [Sun, 23 Dec 2012 22:33:20 +0000 (00:33 +0200)]
core: Report Device1.Connect() failure only if no profiles were connected
Marcel Holtmann [Sun, 23 Dec 2012 22:01:44 +0000 (14:01 -0800)]
hcidump: Remove no longer supported options from manual page
Johan Hedberg [Sun, 23 Dec 2012 20:48:44 +0000 (22:48 +0200)]
core: Fix leak of browse_list in adapter_service_insert
This patch fixes the following leak:
20 bytes in 1 blocks are definitely lost in loss record 50 of 208
at 0x4A0883C: malloc (vg_replace_malloc.c:270)
by 0x46F7E4: sdp_get_uuidseq_attr (sdp.c:1924)
by 0x4586CA: adapter_service_insert (sdp_lib.h:523)
by 0x44BF71: add_record_to_server (sdpd-service.c:250)
by 0x44D1AB: attrib_create_sdp_new (attrib-server.c:330)
by 0x44D36F: register_core_services (attrib-server.c:1276)
by 0x44D8BF: btd_adapter_gatt_server_start (attrib-server.c:1327)
by 0x45A141: adapter_init (adapter.c:2684)
by 0x4547F1: btd_manager_register_adapter (manager.c:178)
Marcel Holtmann [Sun, 23 Dec 2012 19:03:33 +0000 (11:03 -0800)]
core: Fix argument check for register profile method
The check for the options parameter needs to be done properly,
otherwise an empty dictionary is not declared as valid.
Marcel Holtmann [Sun, 23 Dec 2012 18:16:58 +0000 (10:16 -0800)]
client: Move __terminated into signal handler
Marcel Holtmann [Sun, 23 Dec 2012 18:16:53 +0000 (10:16 -0800)]
obexd: Move __terminated into signal handler
Marcel Holtmann [Sun, 23 Dec 2012 18:16:41 +0000 (10:16 -0800)]
core: Move __terminated into signal handler
Marcel Holtmann [Sun, 23 Dec 2012 16:04:03 +0000 (08:04 -0800)]
hcidump: Remove TCP/IP connection handling
The hcidump utility is not useful as a logging daemon. So just disable the
server feature.
Marcel Holtmann [Sun, 23 Dec 2012 15:48:31 +0000 (07:48 -0800)]
core: Product and version info with 0x0000 are actually valid
Only a Vendor with 0x0000 is invalid and so check for a valid vendor
to decide to return product and version properties or not.
Anderson Lizardo [Sat, 22 Dec 2012 22:59:21 +0000 (18:59 -0400)]
core: Fix memory leak from pending UUID removal
When bluetoothd is shutting down, profile cleanup will usually issue
many "Remove UUID" management commands. These may not complete before
the process exits, resulting on this memory leak:
==2461== 144 (8 direct, 136 indirect) bytes in 1 blocks are definitely
lost in loss record 153 of 176
==2461== at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2461== by 0x40869AA: standard_malloc (gmem.c:85)
==2461== by 0x4086E42: g_malloc (gmem.c:159)
==2461== by 0x409B26D: g_slice_alloc (gslice.c:1003)
==2461== by 0x409C659: g_slist_append (gslist.c:222)
==2461== by 0x80B5E12: mgmt_remove_uuid (mgmt.c:1034)
==2461== by 0x80A734E: adapter_service_remove (adapter.c:708)
==2461== by 0x80994B4: sdp_record_remove (sdpd-database.c:272)
==2461== by 0x8098CC0: remove_record_from_server (sdpd-service.c:290)
==2461== by 0x8062B5B: avrcp_unregister (avrcp.c:2354)
==2461== by 0x409C797: g_slist_foreach (gslist.c:840)
==2461== by 0x80A7D77: adapter_remove (adapter.c:1630)
The leak seems to only happen during bluetoothd shutdown, because the
list of pending UUIDs is cleared when controller is removed. Therefore,
only cleanup the list on shutdown path.
Marcel Holtmann [Sun, 23 Dec 2012 06:43:38 +0000 (22:43 -0800)]
core: Do not include SDP server UUIDs in adapter list
Any service that is not part of the public browse group should not
be exported within the adapter's UUID list.
Marcel Holtmann [Sun, 23 Dec 2012 04:13:46 +0000 (20:13 -0800)]
client: Add support for setting a device trusted
Marcel Holtmann [Sun, 23 Dec 2012 03:43:14 +0000 (19:43 -0800)]
lib: Update company identifiers
Marcel Holtmann [Sun, 23 Dec 2012 03:11:46 +0000 (19:11 -0800)]
client: Print UUIDs as human readable strings as well
Marcel Holtmann [Sun, 23 Dec 2012 03:10:42 +0000 (19:10 -0800)]
monitor: Add support for converting UUID-128 string
Marcel Holtmann [Sun, 23 Dec 2012 01:29:10 +0000 (17:29 -0800)]
build: Fix Tedd's name matching to email address
Luiz Augusto von Dentz [Sat, 22 Dec 2012 19:05:04 +0000 (21:05 +0200)]
audio: Disable MediaPlayer1 interface for now
The interface may be redesigned so for now it is intentionally
disabled for both CT and TG roles.
Marcel Holtmann [Sat, 22 Dec 2012 20:36:41 +0000 (12:36 -0800)]
input: Prefer unlink() over remove() when opening FIFO fails
Johan Hedberg [Sat, 22 Dec 2012 20:32:13 +0000 (22:32 +0200)]
input: Prefer unlink() over remove() when removing FIFO
Johan Hedberg [Sat, 22 Dec 2012 20:31:20 +0000 (22:31 +0200)]
input: Avoid (risky) recursive calls to suspend_init
Marcel Holtmann [Sat, 22 Dec 2012 20:05:59 +0000 (12:05 -0800)]
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.
Marcel Holtmann [Sat, 22 Dec 2012 17:59:22 +0000 (09:59 -0800)]
input: Don't create a FIFO with executable permission
Marcel Holtmann [Sat, 22 Dec 2012 17:48:48 +0000 (09:48 -0800)]
core: Return VendorSource as string and only allow supported values
Marcel Holtmann [Sat, 22 Dec 2012 17:48:30 +0000 (09:48 -0800)]
doc: Change VendorSource value into a string
Marcel Holtmann [Sat, 22 Dec 2012 17:47:55 +0000 (09:47 -0800)]
client: Add support for printing uint16 properties
Marcel Holtmann [Sat, 22 Dec 2012 17:45:39 +0000 (09:45 -0800)]
client: Add support for showing device information
Marcel Holtmann [Sat, 22 Dec 2012 17:17:31 +0000 (09:17 -0800)]
core: Limit SDP unix socket to owner and group access
Marcel Holtmann [Sat, 22 Dec 2012 17:15:44 +0000 (09:15 -0800)]
core: Create storage directories without group and world permissions
Marcel Holtmann [Sat, 22 Dec 2012 17:14:58 +0000 (09:14 -0800)]
profiles: Store information only accessible for the owner
Marcel Holtmann [Sat, 22 Dec 2012 17:14:31 +0000 (09:14 -0800)]
core: Store information only accessible for the owner
Marcel Holtmann [Sat, 22 Dec 2012 16:53:31 +0000 (08:53 -0800)]
core: Don't send property changed signal for non-existing property
Marcel Holtmann [Sat, 22 Dec 2012 16:52:32 +0000 (08:52 -0800)]
doc: Remove Connectable setting and do some visual cleanups
Johan Hedberg [Sat, 22 Dec 2012 16:49:16 +0000 (18:49 +0200)]
input: Prefer unlink() over remove()
Marcel Holtmann [Sat, 22 Dec 2012 16:47:00 +0000 (08:47 -0800)]
doc: Storage documentation is for developers and nobody else
João Paulo Rechi Vita [Sat, 22 Dec 2012 15:12:42 +0000 (12:12 -0300)]
hog: Remove pre-existing suspend FIFO
If bluetoothd crashes the exit routine of the suspend plugin will not be
executed, leaving the suspend FIFO behind and preventing the plugin load
on subsequent executions. This commit checks for pre-existence of the
suspend FIFO and tries to remove and re-create it.
João Paulo Rechi Vita [Sat, 22 Dec 2012 15:12:41 +0000 (12:12 -0300)]
hog: Fix error message formating
João Paulo Rechi Vita [Sat, 22 Dec 2012 15:12:40 +0000 (12:12 -0300)]
hog: Add debug info when initializing the suspend plugin
João Paulo Rechi Vita [Sat, 22 Dec 2012 15:12:39 +0000 (12:12 -0300)]
hog: Fix message text and level when failing to load suspend plugin
Johan Hedberg [Sat, 22 Dec 2012 16:30:05 +0000 (18:30 +0200)]
obexd: Update string enumeration values to lower case
Johan Hedberg [Sat, 22 Dec 2012 16:25:35 +0000 (18:25 +0200)]
doc: Convert more upper case enums to lower case in obex-api
Marcel Holtmann [Fri, 21 Dec 2012 20:15:31 +0000 (12:15 -0800)]
build: Add magic file for BTSnoop file format
Marcel Holtmann [Fri, 21 Dec 2012 19:42:35 +0000 (11:42 -0800)]
AUTHORS: Add missing entries from the hcidump merge
Marcel Holtmann [Fri, 21 Dec 2012 19:41:07 +0000 (11:41 -0800)]
AUTHORS: Add missing entries from the obexd merge
Anderson Lizardo [Fri, 21 Dec 2012 16:25:03 +0000 (12:25 -0400)]
build: Fix installing udev rules file when $(srcdir) != $(builddir)
Path to files on source tree should be prefixed with $(srcdir),
otherwise they are not found if $(srcdir) != $(builddir).
Anderson Lizardo [Fri, 21 Dec 2012 16:25:02 +0000 (12:25 -0400)]
obexd: Simplify org.bluez.Error.InvalidArguments handling
Use a helper function to void code duplication.
Anderson Lizardo [Fri, 21 Dec 2012 16:25:01 +0000 (12:25 -0400)]
sap: Use btd_error_* functions
These helper functions are available for plugins and simplify error
handling code.
Anderson Lizardo [Fri, 21 Dec 2012 16:25:00 +0000 (12:25 -0400)]
core: Use ERROR_INTERFACE instead of org.bluez.Error
Johan Hedberg [Fri, 21 Dec 2012 21:34:55 +0000 (23:34 +0200)]
doc: Use lower case string values for supported OBEX targets
Luiz Augusto von Dentz [Fri, 21 Dec 2012 21:16:33 +0000 (23:16 +0200)]
obexd: Fix crash while attempting to authorize transfer
Transfer need to be registered before it is authorized because
AuthorizePush takes the transfer path and the agent may try to access
the transfer properties to figure out its details.
Luiz Augusto von Dentz [Fri, 21 Dec 2012 21:15:30 +0000 (23:15 +0200)]
test: Make OBEX related scripts python 3 compatible
Luiz Augusto von Dentz [Fri, 21 Dec 2012 21:10:21 +0000 (23:10 +0200)]
test: Port simple-obex-agent to the new API
Johan Hedberg [Fri, 21 Dec 2012 20:20:10 +0000 (22:20 +0200)]
obexd: Update Authorize call to AuthorizePush API