summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.470.47baserock/morphMarcel Holtmann2012-07-262-1/+5
|
* client-doc: Remove Handle property from Message interfaceLuiz Augusto von Dentz2012-07-231-4/+0
| | | | | Handle is not directly exposed in the API as each message has its own object path.
* client-doc: Rephrase ambiguities in PBAP interfaceMikel Astiz2012-07-201-8/+14
| | | | | Rephrase method descriptions that can be misleading or are not clear enough.
* client-doc: Minor style fixMikel Astiz2012-07-201-1/+2
| | | | Fix lines that are over 80 columns.
* client-doc: Fix typoMikel Astiz2012-07-201-1/+1
|
* test: Add support for Message.Get to map-clientLuiz Augusto von Dentz2012-07-181-8/+85
| | | | | | | | This adds -g/--get <handle> option to map-client so it downloads and prints the contents of the message. In addition add MapClient class to handle transfer signals similar to what other scripts do.
* client: Add Message.Get implementationLuiz Augusto von Dentz2012-07-181-0/+37
|
* client-doc: Add documentation of org.bluez.obex.MessageLuiz Augusto von Dentz2012-07-181-0/+21
| | | | | org.bluez.obex.Message have Get method which can be used to download the contents of message represented by the object.
* client: Use filter instead of dummy as argument name in MAPLuiz Augusto von Dentz2012-07-181-2/+2
| | | | This is aligned with the documentation that uses filter as well.
* client-doc: Add documentation of MessageAccess.GetMessageListingLuiz Augusto von Dentz2012-07-181-0/+76
|
* test: Update map-client to the changes in GetMessageListingLuiz Augusto von Dentz2012-07-181-1/+23
| | | | | This makes map-client to print the object path and properties of each message found.
* client: Change MessageAccess.GetMessageListing to not return raw xmlLuiz Augusto von Dentz2012-07-181-37/+369
| | | | | This parses the response and return as a list of dictionary where each entry is a message and its properties,
* client-doc: Add documentation of MessageAccess.GetFolderListingLuiz Augusto von Dentz2012-07-181-0/+9
|
* test: Update map-client to the changes in GetFolderListingLuiz Augusto von Dentz2012-07-181-1/+2
| | | | | This makes map-client to print only the name of the folders similar to what ftp-client does.
* client: Change MessageAccess.GetFolderListing to not return raw xmlLuiz Augusto von Dentz2012-07-181-2/+86
| | | | | | This parses the response and return as a list of dictionary where each entry is a folder and its properties, similar to what FileTransfer.ListFolder does.
* gobex: Change UTF name to standardNeal Peacock2012-06-301-1/+1
|
* gdbus: Fix removal of filter after last filter_dataLucas De Marchi2012-06-281-9/+8
| | | | | | | | | | | | | | | | | | | | | If there's a signal watch that's also watching for name (data->name_watch) currently we are trying to remove the message_filter twice since we may have the following call chain: filter_data_remove_callback() filter_data_free() g_dbus_remove_watch() filter_data_remove_callback() filter_data_free() dbus_connection_remove_filter() dbus_connection_remove_filter() Because of this we can't currently watch for signals passing the bus name. After this patch we don't have this issue anymore. We fix it by removing the filter before calling filter_data_free() if we are the last filter_data and thus avoid calling dbus_connection_remove_filter() twice.
* test: Fix map-client splitting subdirectories when changing folderLuiz Augusto von Dentz2012-06-201-2/+1
| | | | | MessageAccess.SetFolder already does that if the path contains subdirectories.
* client: Fix wrong signature of MessageAccess.SetFolderLuiz Augusto von Dentz2012-06-201-1/+1
| | | | D-Bus string signature is 's' not 'string'
* gdbus: add macro for methods marked as NOREPLYLucas De Marchi2012-06-181-0/+7
|
* Fix some common spelling errorsSzymon Janc2012-06-144-5/+5
| | | | Fix spelling errors reported by codespell.
* Fix dead assignmentsSzymon Janc2012-06-143-3/+3
| | | | Values stored are never read.
* gobex: Fix dead assignments in gobex-header.cSzymon Janc2012-06-141-5/+5
| | | | Values stored are never read.
* client: Fix error returning in obc_transfer_putSzymon Janc2012-06-141-7/+10
| | | | | | | | Always set error on failure in obc_transfer_put. This is expected by callers and will avoid possible NULL pointer dereference. Also fix improper use of errno variable (calling error may modify it) and some dead assignments to perr.
* client: Use g_malloc0 in get_filter_strsSzymon Janc2012-06-141-4/+1
| | | | | | Use g_malloc0 instead of g_try_malloc0 to allocate list. All users expects to get valid pointer from it anyway. Also size of allocated memory is small.
* phonebook-dummy: Fix use of uninitialized count variableSzymon Janc2012-06-141-1/+1
| | | | | If opendir() call fails count would be passed to callback uninitialized.
* client: Fix memory leak in bluetooth driverLuiz Augusto von Dentz2012-06-131-0/+2
| | | | | | | | | | | | | | | | 384 (184 direct, 200 indirect) bytes in 1 blocks are definitely lost in loss record 141 of 157 at 0x4A0884D: malloc (vg_replace_malloc.c:263) by 0x392E217815: ??? (in /usr/lib64/libdbus-1.so.3.5.6) by 0x392E218632: dbus_message_new_method_call (in /usr/lib64/libdbus-1.so.3.5.6) by 0x413AD3: send_method_call (bluetooth.c:87) by 0x414933: manager_reply (bluetooth.c:496) by 0x392E20C429: ??? (in /usr/lib64/libdbus-1.so.3.5.6) by 0x392E20F5E9: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.5.6) by 0x405767: message_dispatch (mainloop.c:76) by 0x369E04827A: ??? (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E0476E4: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E047A17: ??? (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E047E11: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.3)
* client: Fix cancellation of queued transfersMikel Astiz2012-06-121-4/+14
| | | | | | Cancelling queued (not started yet) transfers should not fail. Instead, they must be removed from the queue, so we just need to call the transfer callback.
* client: Remove obc_transfer_abortMikel Astiz2012-06-121-15/+11
| | | | | Refactor the code to remove function obc_transfer_abort, which is used only once and is anyway coupled to the D-Bus API.
* client: Fix possible unreplied D-Bus messageMikel Astiz2012-06-121-0/+5
| | | | | | | If a previous cancel request is in progress, a second cancel request should fail. This by the way fixes unreplied D-Bus messages.
* tools: Fix test-client error message put/get typoMichaƂ Poczwardowski2012-06-121-1/+1
|
* client-api: Fix remaining use of org.openobexLuiz Augusto von Dentz2012-06-111-1/+1
| | | | The code is already using the new namespace which is org.bluez.obex.
* client: Fix using org.openobex.ErrorLuiz Augusto von Dentz2012-06-117-85/+92
| | | | In addition use define so it is easier to change this in future
* test: Add progress support to opp-clientLuiz Augusto von Dentz2012-06-101-4/+29
| | | | Print transfer progress when verbose mode is enabled.
* test: Add progress support to ftp-clientLuiz Augusto von Dentz2012-06-101-1/+22
| | | | Print transfer progress when verbose mode is enabled.
* client: Use session path as prefix for transfer pathLuiz Augusto von Dentz2012-06-073-5/+5
| | | | | This should make it easier to identify to which session the transfer belongs.
* client: Fix not using connection passed to obc_transfer_registerLuiz Augusto von Dentz2012-06-071-1/+1
| | | | | Make use of the connection parameter instead of assuming the connection will always be to the session bus.
* test: Use org.bluez.obex namespace in get-capabilities scriptLuiz Augusto von Dentz2012-06-051-4/+4
|
* test: Use org.bluez.obex namespace in pbap-client scriptLuiz Augusto von Dentz2012-06-051-25/+29
|
* test: Use org.bluez.obex namespace in opp-client scriptLuiz Augusto von Dentz2012-06-051-13/+13
|
* test: Use org.bluez.obex namespace in map-client scriptLuiz Augusto von Dentz2012-06-051-5/+5
|
* test: Use org.bluez.obex namespace in ftp-client scriptLuiz Augusto von Dentz2012-06-051-14/+13
|
* test: Use org.bluez.obex namespace in list-folders scriptLuiz Augusto von Dentz2012-06-051-5/+5
|
* test: Use org.bluez.obex namespace in exchange-business-cards scriptLuiz Augusto von Dentz2012-06-051-6/+5
|
* client-api: Rename Transfer interface to org.bluez.obex.TransferLuiz Augusto von Dentz2012-06-052-3/+3
|
* client-api: Rename MessageAccess interface to org.bluez.obex.MessageAccessLuiz Augusto von Dentz2012-06-051-1/+1
|
* client-api: Rename Synchronization interface to org.bluez.obex.SynchronizationLuiz Augusto von Dentz2012-06-052-2/+2
|
* client-api: Rename PhonebookAccess interface to org.bluez.obex.PhonebookAccessLuiz Augusto von Dentz2012-06-052-2/+2
|
* client-api: Rename FileTransfer interface to org.bluez.obex.FileTransferLuiz Augusto von Dentz2012-06-052-2/+2
|
* client-api: Rename ObjectPush interface to org.bluez.obex.ObjectPushLuiz Augusto von Dentz2012-06-052-2/+2
|