| e12802a7 |
gobex: Add Action command convenience functions |
Johan Hedberg |
13 years ago |
3 files, +43, -0 |
| 971be76c |
gobex: add root support to test-server |
Luiz Augusto von Dentz |
13 years ago |
1 file, +8, -0 |
| 7e7a99b0 |
gobex: Add Bluetooth support for test-client |
Luiz Augusto von Dentz |
13 years ago |
1 file, +155, -61 |
| b9794def |
gobex: Add random put request test |
Luiz Augusto von Dentz |
13 years ago |
2 files, +90, -16 |
| c96d0645 |
gobex: fix setting final bit on PUT requests
Final bit should not be set when creating new request packets for PUT
since it may be not be the end of the body. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -3 |
| 1e00bd8f |
gobex: fix not handling unkown transport type |
Luiz Augusto von Dentz |
13 years ago |
1 file, +3, -0 |
| f264b1c7 |
gobex: Fix encoding of empty unicode headers
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. |
Jakub Adamek |
13 years ago |
2 files, +65, -1 |
| cb6fe44b |
gobex: Remove bogus extra semicolons |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| f64fe4f4 |
gobex: Fix compilation when NEED_G_SLIST_FREE_FULL is defined
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’ |
Daniele Forsi |
13 years ago |
2 files, +9, -0 |
| 6814998d |
gobex: Remove reduntant empty line |
Johan Hedberg |
13 years ago |
1 file, +0, -1 |
| 1513406f |
gobex: Fix compilation error with GPOINTER_TO_UINT
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] |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| 0528bfc1 |
gobex: Add support for returning -EAGAIN from producer callback |
Johan Hedberg |
13 years ago |
4 files, +152, -2 |
| c38b06ab |
gobex: Refactor get response parsing in transfer code |
Johan Hedberg |
13 years ago |
1 file, +33, -17 |
| f0598095 |
gobex: Premit raw OBEX error codes within G_OBEX_ERROR GError domain |
Johan Hedberg |
13 years ago |
2 files, +5, -2 |
| c1b8f95c |
gobex: Make use of g_slist_free_full when elements are dynamically-allocated
This avoid having to iterate twice in the list to free its elements. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -0 |
| 4549f997 |
gobex: Add client transfer functions taking a pre-created GObexPacket |
Johan Hedberg |
13 years ago |
2 files, +54, -0 |
| 2c5bb3ec |
gobex: Add Bluetooth support for test-server |
Luiz Augusto von Dentz |
13 years ago |
1 file, +85, -1 |
| 5c50f040 |
gobex: Protect against transfer_complete callback removing the transfer |
Johan Hedberg |
13 years ago |
1 file, +3, -0 |
| 234c2954 |
gobex: Fix put request handling with final bit value |
Johan Hedberg |
13 years ago |
2 files, +23, -23 |
| d9ef0795 |
gobex: Add g_obex_packet_get_body convenience function |
Johan Hedberg |
13 years ago |
2 files, +12, -0 |
| 3352a36c |
gobex: Allow g_obex_send_rsp to take custom headers |
Johan Hedberg |
13 years ago |
3 files, +12, -5 |
| ddb69649 |
gobex: Merge gobex-transfer.h into gobex.h |
Johan Hedberg |
13 years ago |
6 files, +22, -53 |
| 57e1082e |
gobex: Use guint instead of gint for request callback id |
Johan Hedberg |
13 years ago |
3 files, +40, -28 |
| 562f8439 |
gobex: Fix missing newline in test-server error log |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 7ee5aede |
gobex: Minor coding style fixes |
Johan Hedberg |
13 years ago |
1 file, +4, -6 |
| d713e186 |
gobex: Add g_obex_send_rsp convenience function |
Johan Hedberg |
13 years ago |
3 files, +14, -1 |
| 0e2afe10 |
gobex: Fix test-server/client file creation mode |
Johan Hedberg |
13 years ago |
2 files, +2, -2 |
| c869ca28 |
gobex: Make use of va-args headers in higher level functions |
Johan Hedberg |
13 years ago |
4 files, +18, -26 |
| 508cb6f8 |
gobex: Fix minor memory leak in unit test |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| 815218c7 |
gobex: Make transfer functions take va-args header lists |
Johan Hedberg |
13 years ago |
5 files, +92, -66 |
| cdcde596 |
gobex: Add va-args based packet creation support |
Johan Hedberg |
13 years ago |
11 files, +170, -40 |
| f8e95ce5 |
gobex: Make buffer parameter const for g_obex_header_new_bytes |
Johan Hedberg |
13 years ago |
2 files, +2, -2 |
| f5d10bf7 |
gobex: Remove unneeded data_policy from g_obex_header_new_bytes |
Johan Hedberg |
13 years ago |
5 files, +7, -24 |
| 7f5cb418 |
gobex: Ignore unexpected responses (which can occur when aborting) |
Johan Hedberg |
13 years ago |
2 files, +6, -1 |
| 1760e5f5 |
gobex: Add g_obex_delete |
Johan Hedberg |
13 years ago |
3 files, +65, -6 |
| 8554bc2a |
gobex: Add g_obex_mkdir |
Johan Hedberg |
13 years ago |
3 files, +64, -0 |
| 15402c02 |
gobex: Add unit test for SetPath("..") |
Johan Hedberg |
13 years ago |
1 file, +39, -0 |
| f4baf99a |
gobex: Use proper response code in connect response |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| 58cd14d2 |
gobex: Remove _ID_ from header type definitions |
Johan Hedberg |
13 years ago |
10 files, +150, -161 |
| 25faf4fc |
gobex: Allow calling g_obex_get_rsp later with custom headers |
Johan Hedberg |
13 years ago |
3 files, +13, -9 |
| 14d2bde3 |
gobex: Add Get support to test-client and test-server |
Johan Hedberg |
13 years ago |
2 files, +141, -14 |
| b0341a13 |
gobex: Make use of g_obex_send_rsp where possible |
Johan Hedberg |
13 years ago |
1 file, +2, -8 |
| 1b609bec |
gobex: Add g_obex_setpath |
Johan Hedberg |
13 years ago |
3 files, +72, -0 |
| 8d7a30ff |
gobex: Fix header offset lookup |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| b1d071bd |
gobex: Refactor common unit test functions to util.c |
Johan Hedberg |
13 years ago |
4 files, +125, -129 |
| 60263d9a |
gobex: Add g_obex_cancel_transfer |
Johan Hedberg |
13 years ago |
2 files, +22, -0 |
| d1ad6900 |
gobex: Add unit tests for g_obex_suspend & g_obex_resume |
Johan Hedberg |
13 years ago |
1 file, +102, -0 |
| 817b488e |
gobex: Assert correct io_cb count in transfer unit tests |
Johan Hedberg |
13 years ago |
1 file, +8, -0 |
| 42d94c84 |
gobex: Add support for suspend & resume |
Johan Hedberg |
13 years ago |
2 files, +32, -0 |
| b19d1fbd |
gobex: Refactor transfer unit test IO callbacks |
Johan Hedberg |
13 years ago |
1 file, +41, -217 |