Commit Graph

62 Commits

Author SHA1 Message Date
Bartosz Szatkowski
b8cc54f1b9 gobex: Add "cd ../dir" handling in setpath 2012-12-04 22:22:04 +01:00
Johan Hedberg
d21fef52df gobex: Add unit tests for Action command functions 2012-12-04 22:22:02 +01:00
Johan Hedberg
c869ca28b8 gobex: Make use of va-args headers in higher level functions 2012-12-04 22:22:01 +01:00
Johan Hedberg
508cb6f8c2 gobex: Fix minor memory leak in unit test 2012-12-04 22:22:01 +01:00
Johan Hedberg
58cd14d209 gobex: Remove _ID_ from header type definitions 2012-12-04 22:22:01 +01:00
Johan Hedberg
cdcde59687 gobex: Add va-args based packet creation support 2012-12-04 22:22:01 +01:00
Johan Hedberg
7f5cb418d3 gobex: Ignore unexpected responses (which can occur when aborting) 2012-12-04 22:22:01 +01:00
Johan Hedberg
1760e5f5f5 gobex: Add g_obex_delete 2012-12-04 22:22:01 +01:00
Johan Hedberg
8554bc2a89 gobex: Add g_obex_mkdir 2012-12-04 22:22:01 +01:00
Johan Hedberg
15402c02c1 gobex: Add unit test for SetPath("..") 2012-12-04 22:22:01 +01:00
Johan Hedberg
f4baf99a5e gobex: Use proper response code in connect response 2012-12-04 22:22:01 +01:00
Johan Hedberg
1b609bec8e gobex: Add g_obex_setpath 2012-12-04 22:22:00 +01:00
Johan Hedberg
60fd958c20 gobex: Add unit test for g_obex_connect 2012-12-04 22:22:00 +01:00
Johan Hedberg
b1d071bd5c gobex: Refactor common unit test functions to util.c 2012-12-04 22:22:00 +01:00
Johan Hedberg
5ea9277204 gobex: Use zero timeout to make timeout unit tests run faster 2012-12-04 22:22:00 +01:00
Johan Hedberg
33324a068a gobex: Move more unit test helpers to util.c 2012-12-04 22:22:00 +01:00
Johan Hedberg
bd5957292f gobex: Add unit test for unexpected data 2012-12-04 22:22:00 +01:00
Johan Hedberg
7fee9ce693 gobex: Remove g_obex_set_request_function 2012-12-04 22:21:59 +01:00
Johan Hedberg
b50f20a501 gobex: Use GObexDataProducer type instead of (custom) GObexPacketDataFunc 2012-12-04 22:21:59 +01:00
Johan Hedberg
0a4824ddb1 gobex: Make on-demand body headers a GObexPacket feature 2012-12-04 22:21:59 +01:00
Johan Hedberg
714abdfc72 gobex: Make on-demand header callbacks able to fail cleanly 2012-12-04 22:21:59 +01:00
Johan Hedberg
a470646232 gobex: Add convenience response sending function 2012-12-04 22:21:58 +01:00
Johan Hedberg
7afc5a6f90 gobex: g_obex_new should create its own GIOChannel ref 2012-12-04 22:21:58 +01:00
Johan Hedberg
57478308af gobex: Add (transport) MTU parameters to g_obex_new 2012-12-04 22:21:58 +01:00
Johan Hedberg
680e9abc4b gobex: Split ev_func into req_func and disconn_func 2012-12-04 22:21:58 +01:00
Johan Hedberg
ad811dd51e gobex: Add support for on-demand headers 2012-12-04 22:21:58 +01:00
Johan Hedberg
a14e52b471 gobex: Add packet transport support 2012-12-04 22:21:58 +01:00
Johan Hedberg
13d42a0945 gobex: Add request cancellation support 2012-12-04 22:21:57 +01:00
Johan Hedberg
371bd8adf6 gobex: Remove disconn callback in favor of generic event callback 2012-12-04 22:21:57 +01:00
Johan Hedberg
9292a83d92 gobex: Add per-request timeouts 2012-12-04 22:21:57 +01:00
Johan Hedberg
bab1892b28 gobex: Add invalid connect response test 2012-12-04 22:21:57 +01:00
Johan Hedberg
dfae4177b7 gobex: Refactor response sending in tests 2012-12-04 22:21:57 +01:00
Johan Hedberg
0f10ac2b8c gobex: Add proper error returns to packet sending functions 2012-12-04 22:21:57 +01:00
Johan Hedberg
31ebc74e69 gobex: Add disconnect callback support 2012-12-04 22:21:57 +01:00
Johan Hedberg
d455694af2 gobex: Split unit tests into separate modules 2012-12-04 22:21:57 +01:00
Johan Hedberg
b105277b97 gobex: Split gobex.c into multiple modules 2012-12-04 22:21:57 +01:00
Johan Hedberg
d3558f1c0b gobex: Make Action ID test data less predictable 2012-12-04 22:21:57 +01:00
Johan Hedberg
0302f86230 gobex: Add functions for fetching data from packets 2012-12-04 22:21:56 +01:00
Johan Hedberg
55b393abb0 gobex: Name header creation functions more intuitively 2012-12-04 22:21:56 +01:00
Johan Hedberg
b76d71e5b2 gobex: Refactor reading/writing to allow packet based transport 2012-12-04 22:21:56 +01:00
Johan Hedberg
fd01c40449 gobex: Add basic response handling 2012-12-04 22:21:56 +01:00
Johan Hedberg
0b92685e8b gobex: Refactor test endpoint creation into create_endpoints() 2012-12-04 22:21:56 +01:00
Johan Hedberg
57e8d5af63 gobex: Fix minor leak in test_recv_connect_stream 2012-12-04 22:21:56 +01:00
Johan Hedberg
8005be3b8a gobex: Add basic packet sending support 2012-12-04 22:21:56 +01:00
Johan Hedberg
aafd18d9d3 gobex: Rename transfer tests to accomodate for new ones 2012-12-04 22:21:56 +01:00
Johan Hedberg
339a4789e4 gobex: Fix OBEX version in connect packet 2012-12-04 22:21:56 +01:00
Johan Hedberg
95b7ce7165 gobex: Make G_OBEX_FINAL definition private 2012-12-04 22:21:56 +01:00
Johan Hedberg
2e94a60c20 gobex: Add basic request callback support 2012-12-04 22:21:56 +01:00
Johan Hedberg
22c146eb06 gobex: Clean up handling of the final bit 2012-12-04 22:21:56 +01:00
Johan Hedberg
b568973ba3 gobex: Minor coding style fixes 2012-12-04 22:21:56 +01:00