OSDN Git Service
Johan Hedberg [Wed, 22 Jun 2011 08:17:42 +0000 (11:17 +0300)]
gobex: Add a simple g_obex_request_add_header implementation
Johan Hedberg [Tue, 21 Jun 2011 12:34:28 +0000 (15:34 +0300)]
gobex: Remove unused obex.h file
Johan Hedberg [Tue, 21 Jun 2011 12:33:59 +0000 (15:33 +0300)]
gobex: Move definitions from obex.h to gobex.h
Johan Hedberg [Tue, 21 Jun 2011 11:48:54 +0000 (14:48 +0300)]
gobex: Add basic header parsing support
Johan Hedberg [Mon, 20 Jun 2011 21:29:26 +0000 (00:29 +0300)]
gobex: Add request stubs
Johan Hedberg [Mon, 20 Jun 2011 21:20:51 +0000 (00:20 +0300)]
gobex: Add OBEX protocol definitions header file
Johan Hedberg [Mon, 20 Jun 2011 20:56:04 +0000 (23:56 +0300)]
gobex: Refactor basic unit tests
Johan Hedberg [Mon, 20 Jun 2011 20:15:09 +0000 (23:15 +0300)]
gobex: Add initial unit tests
Johan Hedberg [Mon, 20 Jun 2011 17:32:02 +0000 (20:32 +0300)]
gobex: Add initial stubs
Marcel Holtmann [Tue, 4 Dec 2012 19:26:57 +0000 (20:26 +0100)]
monitor: Decode event mask page 2 bits
Marcel Holtmann [Tue, 4 Dec 2012 19:26:22 +0000 (20:26 +0100)]
monitor: Include event mask bits for command complete/status
Marcel Holtmann [Tue, 4 Dec 2012 19:18:40 +0000 (20:18 +0100)]
monitor: Decode event mask bits
Marcel Holtmann [Tue, 4 Dec 2012 19:17:13 +0000 (20:17 +0100)]
monitor: Fix display of feature bits
Johan Hedberg [Tue, 4 Dec 2012 15:21:11 +0000 (17:21 +0200)]
TODO: Mark just-works agent callback as done
Johan Hedberg [Tue, 4 Dec 2012 13:13:42 +0000 (15:13 +0200)]
test: Add RequestAuthorization support to simple-agent
Johan Hedberg [Tue, 4 Dec 2012 13:14:13 +0000 (15:14 +0200)]
core: Add SSP just-works acceptor mapping to Agent.RequestAuthorization
Johan Hedberg [Tue, 4 Dec 2012 13:13:09 +0000 (15:13 +0200)]
doc: Add Agent.RequestAuthorization method
Johan Hedberg [Tue, 4 Dec 2012 12:42:05 +0000 (14:42 +0200)]
agent: Rename Authorize to AuthorizeService
Szymon Janc [Tue, 4 Dec 2012 10:15:24 +0000 (11:15 +0100)]
profile: Remove not local variable needed in ext_connect
src is not used anymore.
Szymon Janc [Tue, 4 Dec 2012 10:15:23 +0000 (11:15 +0100)]
profile: Fix possible NULL pointer dereference
If send_new_connection failed NULL err pointer would be dereferenced.
Johan Hedberg [Tue, 4 Dec 2012 11:19:48 +0000 (13:19 +0200)]
core: Remove unused event.{c,h}
Johan Hedberg [Tue, 4 Dec 2012 11:19:01 +0000 (13:19 +0200)]
core: Move link key storing from event.c to mgmt.c
Johan Hedberg [Tue, 4 Dec 2012 11:14:56 +0000 (13:14 +0200)]
core: Move LKT storing from event.c to mgmt.c
Johan Hedberg [Tue, 4 Dec 2012 11:02:40 +0000 (13:02 +0200)]
core: Remove unnecessary btd_event_remote_name function
Johan Hedberg [Tue, 4 Dec 2012 10:53:24 +0000 (12:53 +0200)]
core: Call device_set_name straight from mgmt.c
Johan Hedberg [Tue, 4 Dec 2012 10:51:29 +0000 (12:51 +0200)]
core: Move UTF-8 validation of device names into eir.c
Johan Hedberg [Tue, 4 Dec 2012 09:24:15 +0000 (11:24 +0200)]
core: Remove unused btd_event_returned_link_key function
Johan Hedberg [Tue, 4 Dec 2012 09:21:52 +0000 (11:21 +0200)]
core: Remove event.c as middle-man for device unpaired events
Johan Hedberg [Tue, 4 Dec 2012 09:19:56 +0000 (11:19 +0200)]
core: Remove event.c as middle-man for device block events
Johan Hedberg [Tue, 4 Dec 2012 09:16:01 +0000 (11:16 +0200)]
core: Remove event.c as middle-man for disconnection events
Johan Hedberg [Tue, 4 Dec 2012 09:11:36 +0000 (11:11 +0200)]
core: Remove event.c as middle-man for connection failed events
Johan Hedberg [Tue, 4 Dec 2012 09:07:24 +0000 (11:07 +0200)]
core: Remove event.c as middle-man for connection complete events
Johan Hedberg [Tue, 4 Dec 2012 09:02:49 +0000 (11:02 +0200)]
core: Remove last used information storing
Johan Hedberg [Tue, 4 Dec 2012 08:57:02 +0000 (10:57 +0200)]
core: Remove event.c as a middle-man for device found events
Johan Hedberg [Tue, 4 Dec 2012 08:52:47 +0000 (10:52 +0200)]
core: Remove event.c as a middle-man for passkey notify based pairing
Johan Hedberg [Tue, 4 Dec 2012 08:50:55 +0000 (10:50 +0200)]
core: Remove event.c as a middle-man for passkey request based pairing
Johan Hedberg [Tue, 4 Dec 2012 08:48:55 +0000 (10:48 +0200)]
core: Remove event.c as a middle-man for user confirm based pairing
Johan Hedberg [Tue, 4 Dec 2012 08:45:21 +0000 (10:45 +0200)]
core: Remove event.c as a middle-man for PIN code based pairing
Johan Hedberg [Tue, 4 Dec 2012 08:33:27 +0000 (10:33 +0200)]
core: Remove unused simple_pairing_complete functions
Johan Hedberg [Tue, 4 Dec 2012 08:30:20 +0000 (10:30 +0200)]
core: Remove outdated comment
Johan Hedberg [Tue, 4 Dec 2012 07:41:32 +0000 (09:41 +0200)]
core: Remove messy authentication callback pointer
Johan Hedberg [Tue, 4 Dec 2012 07:03:40 +0000 (09:03 +0200)]
core: Remove outdated comment
Frédéric Danis [Fri, 30 Nov 2012 14:47:06 +0000 (15:47 +0100)]
event: Store long term key infos in device info file
Frédéric Danis [Fri, 30 Nov 2012 14:47:05 +0000 (15:47 +0100)]
adapter: Upload long term keys from new storage
Remove check of long term keys from device_create,
this moves to load_devices.
Frédéric Danis [Fri, 30 Nov 2012 14:47:04 +0000 (15:47 +0100)]
adapter: Convert storage longtermkeys file
Frédéric Danis [Fri, 30 Nov 2012 14:47:03 +0000 (15:47 +0100)]
event: Store link key infos in device info file
Frédéric Danis [Fri, 30 Nov 2012 14:47:02 +0000 (15:47 +0100)]
adapter: Upload link keys from new storage
Remove read_link_key() from device_create, this moves to load_devices.
Frédéric Danis [Fri, 30 Nov 2012 14:47:01 +0000 (15:47 +0100)]
adapter: Convert storage linkkeys file
Frédéric Danis [Fri, 30 Nov 2012 14:47:00 +0000 (15:47 +0100)]
adapter: Load devices from new storage architecture
Parse storage directory and create devices from device sub-directories.
Remove create device from 'blocked' file, this is already converted.
Frédéric Danis [Fri, 30 Nov 2012 14:46:59 +0000 (15:46 +0100)]
adapter: Convert device type
Each time an entry is converted, check device technology and
update device info file
Frédéric Danis [Fri, 30 Nov 2012 14:46:58 +0000 (15:46 +0100)]
adapter: Add force dir creation to convert_file()
Some device information, like class or device id, should only be
converted if directory for this device has already been created
during previous conversion (from aliases, trusts, blocked, ...
files).
Frédéric Danis [Fri, 30 Nov 2012 14:46:57 +0000 (15:46 +0100)]
adapter: Fix device storage creation
Create device storage directory and file only if there
is data to write.
Frédéric Danis [Fri, 30 Nov 2012 14:46:56 +0000 (15:46 +0100)]
device: Load device info before updating info file
Data in device info file should not be lost during save
even if they are not in device structure (like link key
and long term key).
Frédéric Danis [Fri, 30 Nov 2012 14:46:55 +0000 (15:46 +0100)]
doc: Update settings-storage.txt
Add missing Master key to LongTermKey group
Vinicius Costa Gomes [Mon, 3 Dec 2012 23:42:28 +0000 (20:42 -0300)]
test: Add a HFP HF endpoint to simple-endpoint
Claudio Takahasi [Mon, 3 Dec 2012 16:41:20 +0000 (13:41 -0300)]
input: Remove leftover fields in input struct
Claudio Takahasi [Mon, 3 Dec 2012 16:41:19 +0000 (13:41 -0300)]
input: Remove unneeded headers include
Claudio Takahasi [Mon, 3 Dec 2012 16:41:18 +0000 (13:41 -0300)]
input: Remove leftover defines
Szymon Janc [Mon, 3 Dec 2012 14:03:29 +0000 (15:03 +0100)]
adaptername: Fix passing negative error code to strerror
This also make error reporting code compliant with convention used.
Szymon Janc [Fri, 30 Nov 2012 12:57:44 +0000 (13:57 +0100)]
hog: Fix unregistering profile on exit
On exit should call btd_profile_unregister instead of
btd_profile_register. Fixes following:
16 bytes in 1 blocks are still reachable in loss record 54 of 215
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E93FC2: g_slist_append (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x17F6C2: btd_profile_register (profile.c:533)
by 0x171456: plugin_cleanup (plugin.c:242)
by 0x12164F: main (main.c:563)
16 bytes in 1 blocks are still reachable in loss record 37 of 215
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E93FC2: g_slist_append (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x17F6C2: btd_profile_register (profile.c:533)
by 0x1712EB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
Szymon Janc [Fri, 30 Nov 2012 12:57:43 +0000 (13:57 +0100)]
adaptername: Refactor adaptername_init/exit to fix exit path
This makes adaptername plugin properly cleanup its fds on exit. Fixes
following warnings from valgrind:
16 bytes in 1 blocks are still reachable in loss record 42 of 221
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E93ABD: g_slist_prepend (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78350: g_source_add_poll (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5E32: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565FA: adaptername_init (adaptername.c:302)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
18 bytes in 1 blocks are still reachable in loss record 58 of 221
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E942DD: g_strdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78A69: g_source_set_name (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5E0B: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565FA: adaptername_init (adaptername.c:302)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
32 bytes in 1 blocks are still reachable in loss record 86 of 221
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78722: g_source_set_callback (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0DB: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565FA: adaptername_init (adaptername.c:302)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
32 bytes in 1 blocks are still reachable in loss record 87 of 221
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E77285: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E775AF: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78115: g_source_attach (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0E5: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565FA: adaptername_init (adaptername.c:302)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
120 bytes in 1 blocks are still reachable in loss record 167 of 221
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB66F4: g_io_channel_unix_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565A9: adaptername_init (adaptername.c:298)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
120 bytes in 1 blocks are still reachable in loss record 168 of 221
at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FAE0: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78044: g_source_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5DF9: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x1565FA: adaptername_init (adaptername.c:302)
by 0x1712AB: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:544)
Szymon Janc [Fri, 30 Nov 2012 12:57:42 +0000 (13:57 +0100)]
core: Free parsed options
There is no need to keep already parsed options in memory. This also
fix not freeing options at all.
2 bytes in 1 blocks are still reachable in loss record 1 of 153
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E942DD: g_strdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x167333: parse_debug (main.c:425)
by 0x4E839D8: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E8403F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E85233: g_option_context_parse (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x121084: main (main.c:462)
16 bytes in 2 blocks are still reachable in loss record 39 of 153
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E5D68B: g_convert_with_iconv (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E5D94B: g_convert (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E5DFBA: g_locale_to_utf8 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E837C7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E8403F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E85233: g_option_context_parse (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x121084: main (main.c:462)
Szymon Janc [Fri, 30 Nov 2012 12:57:41 +0000 (13:57 +0100)]
attrib: Fix possible use after free
Move io channels unrefs after last use of channels.
Szymon Janc [Fri, 30 Nov 2012 12:57:40 +0000 (13:57 +0100)]
hog: Fix memory leak in suspend-dummy
g_io_add_watch increase channel ref count but g_io_channel_shutdown
doesn't drop reference nor remove watch. Since close on unref is set
for channel and it is watch we are interested keep watch id and not
channel id and remove watch on exit.
6 bytes in 1 blocks are still reachable in loss record 11 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E942DD: g_strdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6CF95: g_io_channel_init (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB66FF: g_io_channel_unix_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDC5: fifo_open (suspend.c:109)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
16 bytes in 1 blocks are still reachable in loss record 45 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E93ABD: g_slist_prepend (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78350: g_source_add_poll (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5E32: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDF3: fifo_open (suspend.c:112)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
18 bytes in 1 blocks are still reachable in loss record 63 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E942DD: g_strdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78A69: g_source_set_name (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5E0B: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDF3: fifo_open (suspend.c:112)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
32 bytes in 1 blocks are still reachable in loss record 93 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78722: g_source_set_callback (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0DB: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDF3: fifo_open (suspend.c:112)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
32 bytes in 1 blocks are still reachable in loss record 94 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E77285: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E775AF: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78115: g_source_attach (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0E5: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDF3: fifo_open (suspend.c:112)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
120 bytes in 1 blocks are still reachable in loss record 177 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB66F4: g_io_channel_unix_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDC5: fifo_open (suspend.c:109)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
120 bytes in 1 blocks are still reachable in loss record 178 of 235
at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FAE0: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E78044: g_source_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB5DF9: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6D0C3: g_io_add_watch_full (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x18DDF3: fifo_open (suspend.c:112)
by 0x18DF95: suspend_init (suspend.c:131)
by 0x140B53: hog_init (hog_manager.c:133)
by 0x17127B: plugin_init (plugin.c:217)
by 0x1215D2: main (main.c:532)
Szymon Janc [Fri, 30 Nov 2012 12:57:39 +0000 (13:57 +0100)]
rfkill: Fix memory leak in rfkill_exit
g_io_add_watch increase channel ref count but g_io_channel_shutdown
doesn't drop reference nor remove watch. Since close on unref is set
for channel and it is watch we are interested keep watch id and not
channel id and remove watch on exit.
120 bytes in 1 blocks are still reachable in loss record 181 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB66F4: g_io_channel_unix_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x167B8D: rfkill_init (rfkill.c:157)
by 0x1215E4: main (main.c:540)
6 bytes in 1 blocks are still reachable in loss record 12 of 235
at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E942DD: g_strdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4E6CF95: g_io_channel_init (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x4EB66FF: g_io_channel_unix_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
by 0x167B8D: rfkill_init (rfkill.c:157)
by 0x1215E4: main (main.c:540)
Luiz Augusto von Dentz [Fri, 30 Nov 2012 12:48:19 +0000 (14:48 +0200)]
control: Add methods FastForward and Rewind
These method can be used to fast-forward and rewind the playback, their
action will keep active until another method is called.
The commands are reapeated every 2 seconds to conform with AVC spec.
Vinicius Costa Gomes [Sat, 1 Dec 2012 00:36:57 +0000 (21:36 -0300)]
input: Remove leftovers from the Input iface removal
Now that the Input interface is removed, the only way to connect is
via the Profile interface, so no need to separate the way that
connection is made.
Vinicius Costa Gomes [Sat, 1 Dec 2012 00:36:56 +0000 (21:36 -0300)]
input: Fix emitting a signal for a non-existant interface
When the 'org.bluez.Input' interface was removed, this should have been
removed as well, now it is causing a segmentation fault.
Paulo Borges [Fri, 30 Nov 2012 18:31:33 +0000 (15:31 -0300)]
gatt: Improve characteristics discovery
In the Discover Characteristics by UUID sub-procedure, if a fetched
characteristic doesn't matches with the target UUID, all others
characteristics in that response were discarded.
Because of this, the procedure will make a new request to possibly
rediscover the characteristics in the range beyond this last
characteristic.
At present, this procedure works because the gatt library will send a
Read by Type Request starting at the first attribute after the non
matching characteristic.
This commit makes the rest of the characteristics to be checked for a
matching type, which should reduce the number of requests sent during
the discovery of characteristics.
Paulo Borges [Fri, 30 Nov 2012 18:31:32 +0000 (15:31 -0300)]
gatt: Fix memory leak in characteristic discovery
If the Discover Characteristics by UUID sub-procedure has been
executed and the first characteristic is not the target, a memory
leak occurs.
This commit fixes this leak by postponing the allocation to after
the UUID verification.
Paulo Borges [Fri, 30 Nov 2012 18:31:31 +0000 (15:31 -0300)]
input: Fix memory leak at hogdev struct removal
Paulo Borges [Fri, 30 Nov 2012 18:31:30 +0000 (15:31 -0300)]
gas: Fix memory leak at gas struct removal
Johan Hedberg [Fri, 30 Nov 2012 14:06:37 +0000 (16:06 +0200)]
doc: Remove nonexistent property methods and signals from health-api
Andrzej Kaczmarek [Fri, 9 Nov 2012 12:33:21 +0000 (13:33 +0100)]
test: Update proximity test script
Andrzej Kaczmarek [Fri, 9 Nov 2012 12:33:20 +0000 (13:33 +0100)]
doc: Update proximity API document
Andrzej Kaczmarek [Fri, 9 Nov 2012 12:33:19 +0000 (13:33 +0100)]
proximity: Convert monitor properties to DBus.Properties
Andrzej Kaczmarek [Fri, 9 Nov 2012 12:33:18 +0000 (13:33 +0100)]
proximity: Convert reporter properties to DBus.Properties
Johan Hedberg [Fri, 30 Nov 2012 13:05:47 +0000 (15:05 +0200)]
test: Check for correct interface in test-thermometer
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:57 +0000 (09:55 +0100)]
test: Update test-thermometer for DBus.Properties
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:56 +0000 (09:55 +0100)]
doc: Update thermometer API document
This patch updates thermometer-api.txt document to include changes in
properties handling.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:55 +0000 (09:55 +0100)]
thermometer: Remove legacy properties code
This patch removes Get-/SetProperties methods along with PropertyChanged
signal which are now redundant after moving to generic DBus.Properties
interface.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:54 +0000 (09:55 +0100)]
thermometer: Add DBus.Properties support
This patch adds handlers required to support generic DBus.Properties
interface.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:53 +0000 (09:55 +0100)]
thermometer: Make temp_type array static
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:52 +0000 (09:55 +0100)]
thermometer: Always write CCC value when connecting
This patch ensures that CCC values for Intermediate Temperature and
Termperature Measurement are always written when connecting to device.
This is to i.e. disable notifications and/or indications in case they
are already enabled (reconnection scenario) but we don't have watcher
registered so it's pointless for remote to send us data.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:51 +0000 (09:55 +0100)]
thermometer: Discover Measurement Interval descriptors only if needed
This patch will make descriptor discovery started only if Measurement
Interval characteristic properties are either write or indicate, otherwise
there are no known descriptors to be discovered.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:50 +0000 (09:55 +0100)]
thermometer: Remove storage of all discovered characteristics
This patch removes structures used to keep all discovered characteristics
in thermometer structure. Useful values are already stored directly in
this structure.
characteristic structure is now only used as temporary user data when
discovering descriptors for particular characteristic.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:49 +0000 (09:55 +0100)]
thermometer: Remove descriptor structure
This patch removes descriptor structure which is now redundant since
useful data are now kept directly in thermometer structure.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:48 +0000 (09:55 +0100)]
thermometer: Use dedicated handler for Measurement Interval
This patch replaces global indications handler with one registered only
for Measurement Interval value indications.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:47 +0000 (09:55 +0100)]
thermometer: Use dedicated handler for Temperature Measurement
This patch moves Temperature Measurement value indications handler into
separate callback registered for particular handle only.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:46 +0000 (09:55 +0100)]
thermometer: Use dedicated handler for Intermediate Temperature
This patch replaces global notifications handler with one registered only
for Intermediate Temperature value notifications.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:45 +0000 (09:55 +0100)]
thermometer: Store Measurement Interval value handle in struct
This patch adds Measurement Interval value handle directly into
thermometer struct. This way there's no need to traverse list
looking for value.
get_characteristic() function and related helpers are now unused
so can be removed.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:44 +0000 (09:55 +0100)]
thermometer: Store Intermediate Temperature CCC handle in struct
This patch adds Intermediate Measurement CCC handle value directly into
thermometer struct. This way there's no need to traverse nested lists
looking for value.
write_ccc() function and related helpers are now unused so can be
removed.
Andrzej Kaczmarek [Fri, 9 Nov 2012 08:55:43 +0000 (09:55 +0100)]
thermometer: Store Temperature Measurement CCC handle in struct
This patch adds Temperature Measurement CCC handle value directly into
thermometer struct. This way there's no need to traverse nested lists
looking for value.
Johan Hedberg [Fri, 30 Nov 2012 11:17:43 +0000 (13:17 +0200)]
doc: Remove leftover PropertyChanged from media-api.txt
Johan Hedberg [Fri, 30 Nov 2012 10:42:31 +0000 (12:42 +0200)]
build: Add missing lib/amp.h to Makefile.am
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:25 +0000 (14:51 +0200)]
test: Convert simple-player to use DBus properties interface
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:24 +0000 (14:51 +0200)]
test: Convert mpris-player to use DBus properties interface
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:23 +0000 (14:51 +0200)]
media-api: Update documentation of MediaPlayer interface
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:22 +0000 (14:51 +0200)]
media: Convert target MediaPlayer interface to use D-Bus Properties
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:21 +0000 (14:51 +0200)]
audio: Convert controller MediaPlayer interface to use D-Bus Properties