summaryrefslogtreecommitdiff
path: root/gobex
Commit message (Collapse)AuthorAgeFilesLines
...
* gobex: fix includes of config.hLuiz Augusto von Dentz2012-12-044-3/+7
|
* gobex: add missing checks for config.hLuiz Augusto von Dentz2012-12-043-0/+12
|
* gobex: Fix decoding byte array headers with too small lengthJohan Hedberg2012-12-041-0/+7
| | | | Length values of less than 3 are invalid.
* gobex: Remove g_obex_packet_find_headerJohan Hedberg2012-12-043-18/+3
| | | | This was exactly the same as g_obex_packet_get_header.
* gobex: Use larger timeout first packet in transfersJohan Hedberg2012-12-041-8/+10
| | | | | | | Frequently upon receiving the first packet servers will perform some sort of user interaction to authorize the incoming request. It's therefore wise to use a larger timeout for this first packet on the client side.
* gobex: Fix request timeout handling when abortingJohan Hedberg2012-12-041-4/+14
|
* gobex: Protect against user callback freeing internal objectsJohan Hedberg2012-12-041-3/+18
| | | | | | | A user callback could potentially do things like g_obex_cancel_request or g_obex_unref while we are inside the IO watch callback. It is therefore important to ensure that we are in a consistent state when the user callback returns.
* gobex: Protect against transfer_complete callback removing the transferJohan Hedberg2012-12-041-0/+3
|
* gobex: Fix opcode for Action command convenience functionsJohan Hedberg2012-12-041-2/+2
|
* gobex: Add support for Action command header offset (0)Johan Hedberg2012-12-041-0/+2
|
* gobex: Add client transfer functions taking a pre-created GObexPacketJohan Hedberg2012-12-042-0/+54
|
* gobex: Add OBEX packet header addition convenience functionsJohan Hedberg2012-12-042-0/+52
|
* gobex: Add Action command convenience functionsJohan Hedberg2012-12-043-0/+43
|
* gobex: fix setting final bit on PUT requestsLuiz Augusto von Dentz2012-12-041-3/+7
| | | | | Final bit should not be set when creating new request packets for PUT since it may be not be the end of the body.
* gobex: fix not handling unkown transport typeLuiz Augusto von Dentz2012-12-041-0/+3
|
* gobex: Fix encoding of empty unicode headersJakub Adamek2012-12-041-1/+10
| | | | | | | | | | | | According to IrOBEX: "An empty Name header is defined as a Name header of length 3 (one byte opcode + two byte length)." The current code encodes an empty header with 5 bytes, including two bytes of null-terminator. This patch assumes that this definition of emptiness applies to all unicode headers, not just the name header.
* gobex: Fix compilation when NEED_G_SLIST_FREE_FULL is definedDaniele Forsi2012-12-041-0/+5
| | | | | | | | | To use the replacement for g_slist_free_full() both compat.h and glib-helper.h need to be included. Fixes: gobex/gobex.c:911: error: implicit declaration of function 'g_slist_free_full' tools/obex-server-tool.c:344: error: implicit declaration of function ‘g_slist_free_full’
* gobex: Remove reduntant empty lineJohan Hedberg2012-12-041-1/+0
|
* gobex: Fix compilation error with GPOINTER_TO_UINTJohan Hedberg2012-12-041-2/+2
| | | | | | | Fixes the following issue seen on debian unstable: gobex/gobex.c: In function 'handle_request': gobex/gobex.c:646:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
* gobex: Add support for returning -EAGAIN from producer callbackJohan Hedberg2012-12-042-0/+14
|
* gobex: Premit raw OBEX error codes within G_OBEX_ERROR GError domainJohan Hedberg2012-12-042-2/+5
|
* gobex: Refactor get response parsing in transfer codeJohan Hedberg2012-12-041-17/+33
|
* gobex: Fix put request handling with final bit valueJohan Hedberg2012-12-041-22/+22
|
* gobex: Add g_obex_packet_get_body convenience functionJohan Hedberg2012-12-042-0/+12
|
* gobex: Make use of g_obex_send_rsp where possibleJohan Hedberg2012-12-041-8/+2
|
* gobex: Allow g_obex_send_rsp to take custom headersJohan Hedberg2012-12-042-3/+8
|
* gobex: Merge gobex-transfer.h into gobex.hJohan Hedberg2012-12-043-50/+22
|
* gobex: Use guint instead of gint for request callback idJohan Hedberg2012-12-043-28/+40
|
* gobex: Minor coding style fixesJohan Hedberg2012-12-041-6/+4
|
* gobex: Add g_obex_send_rsp convenience functionJohan Hedberg2012-12-042-1/+12
|
* gobex: Make use of va-args headers in higher level functionsJohan Hedberg2012-12-042-24/+16
|
* gobex: Make transfer functions take va-args header listsJohan Hedberg2012-12-042-55/+72
|
* gobex: Remove _ID_ from header type definitionsJohan Hedberg2012-12-045-98/+94
|
* gobex: Add va-args based packet creation supportJohan Hedberg2012-12-047-28/+118
|
* gobex: Make buffer parameter const for g_obex_header_new_bytesJohan Hedberg2012-12-042-2/+2
|
* gobex: Remove unneeded data_policy from g_obex_header_new_bytesJohan Hedberg2012-12-044-23/+6
|
* gobex: Allow calling g_obex_get_rsp later with custom headersJohan Hedberg2012-12-042-8/+12
|
* gobex: Ignore unexpected responses (which can occur when aborting)Johan Hedberg2012-12-041-0/+5
|
* gobex: Add g_obex_deleteJohan Hedberg2012-12-042-0/+17
|
* gobex: Add g_obex_mkdirJohan Hedberg2012-12-042-0/+21
|
* gobex: Add g_obex_setpathJohan Hedberg2012-12-042-0/+27
|
* gobex: Fix header offset lookupJohan Hedberg2012-12-041-2/+2
|
* gobex: Add g_obex_cancel_transferJohan Hedberg2012-12-042-0/+22
|
* gobex: Fix g_obex_get_rsp end of transfer handlingJohan Hedberg2012-12-041-3/+8
|
* gobex: Add support for suspend & resumeJohan Hedberg2012-12-042-0/+32
|
* gobex: Add g_obex_get_rspJohan Hedberg2012-12-042-3/+69
|
* gobex: Add g_obex_get_reqJohan Hedberg2012-12-042-2/+61
|
* gobex: Don't call consumer callback if there is no dataJohan Hedberg2012-12-041-1/+2
|
* gobex: Add basic server-side put transfer supportJohan Hedberg2012-12-042-2/+102
|
* gobex: Fix typoJohan Hedberg2012-12-041-1/+1
|