OSDN Git Service
Johan Hedberg [Fri, 8 Jul 2011 10:01:29 +0000 (12:01 +0200)]
gobex: Add unit tests for g_obex_suspend & g_obex_resume
Johan Hedberg [Fri, 8 Jul 2011 09:48:59 +0000 (11:48 +0200)]
gobex: Fix g_obex_get_rsp end of transfer handling
Johan Hedberg [Fri, 8 Jul 2011 09:48:32 +0000 (11:48 +0200)]
gobex: Assert correct io_cb count in transfer unit tests
Johan Hedberg [Thu, 7 Jul 2011 11:33:42 +0000 (13:33 +0200)]
gobex: Add support for suspend & resume
Johan Hedberg [Wed, 6 Jul 2011 16:42:00 +0000 (18:42 +0200)]
gobex: Refactor transfer unit test IO callbacks
Johan Hedberg [Wed, 6 Jul 2011 15:30:38 +0000 (17:30 +0200)]
gobex: Add g_obex_get_rsp
Johan Hedberg [Wed, 6 Jul 2011 15:05:19 +0000 (17:05 +0200)]
gobex: Add g_obex_get_req
Johan Hedberg [Wed, 6 Jul 2011 14:23:50 +0000 (17:23 +0300)]
gobex: Extend g_obex_put_rsp unit test to have two rounds of requests
Johan Hedberg [Wed, 6 Jul 2011 14:21:52 +0000 (17:21 +0300)]
gobex: Don't call consumer callback if there is no data
Johan Hedberg [Wed, 6 Jul 2011 12:42:08 +0000 (15:42 +0300)]
gobex: Add unit test for g_obex_put_rsp
Johan Hedberg [Wed, 6 Jul 2011 09:06:50 +0000 (12:06 +0300)]
gobex: Use zero timeout to make timeout unit tests run faster
Johan Hedberg [Wed, 6 Jul 2011 08:05:02 +0000 (11:05 +0300)]
gobex: Add unit test for put transfer API
Johan Hedberg [Wed, 6 Jul 2011 07:59:01 +0000 (10:59 +0300)]
gobex: Move more unit test helpers to util.c
Johan Hedberg [Tue, 5 Jul 2011 23:11:18 +0000 (02:11 +0300)]
gobex: Add unit test for unexpected data
Johan Hedberg [Tue, 5 Jul 2011 22:56:05 +0000 (01:56 +0300)]
gobex: Add put streaming support to test-server
Johan Hedberg [Tue, 5 Jul 2011 22:55:43 +0000 (01:55 +0300)]
gobex: Add basic server-side put transfer support
Johan Hedberg [Tue, 5 Jul 2011 22:54:12 +0000 (01:54 +0300)]
gobex: Print more informative disconnect message in test-client
Johan Hedberg [Tue, 5 Jul 2011 22:53:46 +0000 (01:53 +0300)]
gobex: Fix typo
Johan Hedberg [Tue, 5 Jul 2011 21:49:09 +0000 (00:49 +0300)]
gobex: Fix also response code for on-demand data based packets
Johan Hedberg [Tue, 5 Jul 2011 20:33:20 +0000 (23:33 +0300)]
gobex: Rename g_obex_put to g_obex_put_req
Johan Hedberg [Tue, 5 Jul 2011 19:57:34 +0000 (22:57 +0300)]
gobex: Remove g_obex_set_request_function
Johan Hedberg [Tue, 5 Jul 2011 19:51:46 +0000 (22:51 +0300)]
gobex: Update test-server to use per-opcode request handlers
Johan Hedberg [Tue, 5 Jul 2011 19:51:32 +0000 (22:51 +0300)]
gobex: Add per-opcode request handlers
Johan Hedberg [Tue, 5 Jul 2011 18:59:47 +0000 (21:59 +0300)]
gobex: Add basic put request parsing to test-server
Johan Hedberg [Tue, 5 Jul 2011 18:25:17 +0000 (21:25 +0300)]
gobex: Add type and name headers to the g_obex_put request
Johan Hedberg [Tue, 5 Jul 2011 16:36:41 +0000 (19:36 +0300)]
gobex: Use GObexDataProducer type instead of (custom) GObexPacketDataFunc
Johan Hedberg [Tue, 5 Jul 2011 16:26:57 +0000 (19:26 +0300)]
gobex: Make on-demand body headers a GObexPacket feature
Johan Hedberg [Tue, 5 Jul 2011 15:57:23 +0000 (18:57 +0300)]
gobex: Track last received request internally and remove g_obex_response
Johan Hedberg [Tue, 5 Jul 2011 15:32:28 +0000 (18:32 +0300)]
gobex: Add support for put transfer in test-client
Johan Hedberg [Tue, 5 Jul 2011 15:32:05 +0000 (18:32 +0300)]
gobex: Add initial transfer abstraction
Johan Hedberg [Tue, 5 Jul 2011 15:30:54 +0000 (18:30 +0300)]
gobex: Add proper responses to all requests in test-server
Johan Hedberg [Tue, 5 Jul 2011 15:29:55 +0000 (18:29 +0300)]
gobex: Fix end of body packets for on-demand headers
Johan Hedberg [Tue, 5 Jul 2011 15:27:09 +0000 (18:27 +0300)]
gobex: Don't stop sending data if a single packet fails to encode
Johan Hedberg [Tue, 5 Jul 2011 13:37:02 +0000 (16:37 +0300)]
gobex: Fix parsing over-sized packets
Johan Hedberg [Tue, 5 Jul 2011 10:16:35 +0000 (13:16 +0300)]
gobex: Rename GObexDisconnectFunc to simply GObexFunc
Johan Hedberg [Tue, 5 Jul 2011 09:33:57 +0000 (12:33 +0300)]
gobex: Make on-demand header callbacks able to fail cleanly
Johan Hedberg [Mon, 4 Jul 2011 20:32:43 +0000 (23:32 +0300)]
gobex: Use opcode instead of entire req in g_obex_response
Johan Hedberg [Mon, 4 Jul 2011 20:02:52 +0000 (23:02 +0300)]
gobex: Add support for Connection ID header
Johan Hedberg [Mon, 4 Jul 2011 20:02:12 +0000 (23:02 +0300)]
gobex: Add g_obex_packet_find_header and g_obex_packet_prepend_header
Johan Hedberg [Mon, 4 Jul 2011 19:13:53 +0000 (22:13 +0300)]
gobex: Use g_obex_respose in test-server
Johan Hedberg [Mon, 4 Jul 2011 19:13:28 +0000 (22:13 +0300)]
gobex: Add convenience response sending function
Johan Hedberg [Mon, 4 Jul 2011 13:23:54 +0000 (16:23 +0300)]
gobex: Add request callback to test-server
Johan Hedberg [Mon, 4 Jul 2011 13:23:31 +0000 (16:23 +0300)]
gobex: Add connect command to test-client
Johan Hedberg [Mon, 4 Jul 2011 13:21:45 +0000 (16:21 +0300)]
gobex: Add convenience function for sending connect req
Johan Hedberg [Mon, 4 Jul 2011 13:20:42 +0000 (16:20 +0300)]
gobex: Fix RX MTU setting
Johan Hedberg [Mon, 4 Jul 2011 12:55:12 +0000 (15:55 +0300)]
gobex: Fix minor (whitespace) coding style issue
Johan Hedberg [Mon, 4 Jul 2011 12:54:53 +0000 (15:54 +0300)]
gobex: Add missing g_set_error in header parsing
Johan Hedberg [Mon, 4 Jul 2011 12:25:55 +0000 (15:25 +0300)]
gobex: Add readline support to test-client
Johan Hedberg [Mon, 4 Jul 2011 11:09:17 +0000 (14:09 +0300)]
gobex: Add basic skeleton for test-client
Johan Hedberg [Mon, 4 Jul 2011 11:13:16 +0000 (14:13 +0300)]
gobex: Fix test-server server socket leak
Johan Hedberg [Mon, 4 Jul 2011 10:56:14 +0000 (13:56 +0300)]
gobex: Add some basic command line options to test-server
Johan Hedberg [Mon, 4 Jul 2011 08:17:48 +0000 (11:17 +0300)]
gobex: g_obex_new should create its own GIOChannel ref
Johan Hedberg [Mon, 4 Jul 2011 08:13:37 +0000 (11:13 +0300)]
gobex: Add per-client tracking to test-server
Johan Hedberg [Mon, 4 Jul 2011 08:10:23 +0000 (11:10 +0300)]
gobex: Fix removing pending request timeout callback
Johan Hedberg [Mon, 4 Jul 2011 08:01:59 +0000 (11:01 +0300)]
gobex: Remove superfluous return statement
Johan Hedberg [Sun, 3 Jul 2011 22:09:58 +0000 (01:09 +0300)]
gobex: Add a skeleton for a test server
Johan Hedberg [Sun, 3 Jul 2011 10:19:01 +0000 (13:19 +0300)]
gobex: Rename SRM Parameters definition to match spec.
Johan Hedberg [Sun, 3 Jul 2011 10:06:36 +0000 (13:06 +0300)]
gobex: Add support for multi-response requests (SRM)
Johan Hedberg [Sun, 3 Jul 2011 09:21:58 +0000 (12:21 +0300)]
gobex: Add common response codes to gobex-packet.h
Johan Hedberg [Fri, 1 Jul 2011 09:24:33 +0000 (12:24 +0300)]
gobex: Add (transport) MTU parameters to g_obex_new
Johan Hedberg [Fri, 1 Jul 2011 08:25:20 +0000 (11:25 +0300)]
gobex: Split ev_func into req_func and disconn_func
Johan Hedberg [Thu, 30 Jun 2011 19:57:51 +0000 (22:57 +0300)]
gobex: Add support for on-demand headers
Johan Hedberg [Thu, 30 Jun 2011 11:13:04 +0000 (14:13 +0300)]
gobex: Add packet transport support
Johan Hedberg [Wed, 29 Jun 2011 21:26:19 +0000 (00:26 +0300)]
gobex: Add request cancellation support
Johan Hedberg [Wed, 29 Jun 2011 21:25:58 +0000 (00:25 +0300)]
gobex: Remove potential write source in g_obex_unref
Johan Hedberg [Wed, 29 Jun 2011 18:23:14 +0000 (21:23 +0300)]
gobex: Remove disconn callback in favor of generic event callback
Johan Hedberg [Wed, 29 Jun 2011 15:30:18 +0000 (18:30 +0300)]
gobex: Add per-request timeouts
Johan Hedberg [Wed, 29 Jun 2011 14:30:05 +0000 (17:30 +0300)]
gobex: Improve multiple request queuing
Johan Hedberg [Wed, 29 Jun 2011 13:02:29 +0000 (16:02 +0300)]
gobex: Improve decoding error message
Johan Hedberg [Wed, 29 Jun 2011 13:02:15 +0000 (16:02 +0300)]
gobex: Add connect packet decoding test
Johan Hedberg [Wed, 29 Jun 2011 13:01:39 +0000 (16:01 +0300)]
gobex: Fix decoding error memory leak
Johan Hedberg [Wed, 29 Jun 2011 13:00:51 +0000 (16:00 +0300)]
gobex: Fix length checks in packet decoding
Johan Hedberg [Wed, 29 Jun 2011 12:02:57 +0000 (15:02 +0300)]
gobex: Add invalid connect response test
Johan Hedberg [Wed, 29 Jun 2011 11:44:57 +0000 (14:44 +0300)]
gobex: Refactor response sending in tests
Johan Hedberg [Wed, 29 Jun 2011 11:37:34 +0000 (14:37 +0300)]
gobex: Don't export final bit details in public API
Johan Hedberg [Wed, 29 Jun 2011 11:33:04 +0000 (14:33 +0300)]
gobex: Add proper error returns to packet sending functions
Johan Hedberg [Wed, 29 Jun 2011 11:17:49 +0000 (14:17 +0300)]
gobex: Add invalid packet data decoding test
Johan Hedberg [Wed, 29 Jun 2011 11:08:50 +0000 (14:08 +0300)]
gobex: Add invalid header data decoding tests
Johan Hedberg [Wed, 29 Jun 2011 10:36:54 +0000 (13:36 +0300)]
gobex: Add basic packet encoding test
Johan Hedberg [Wed, 29 Jun 2011 10:36:20 +0000 (13:36 +0300)]
gobex: Fix packet length updating when parsing headers
Johan Hedberg [Wed, 29 Jun 2011 10:15:05 +0000 (13:15 +0300)]
gobex: Add initial GError support
Johan Hedberg [Wed, 29 Jun 2011 09:20:42 +0000 (12:20 +0300)]
gobex: Add disconnect callback support
Johan Hedberg [Wed, 29 Jun 2011 08:04:12 +0000 (11:04 +0300)]
gobex: Use GLib size types
Johan Hedberg [Tue, 28 Jun 2011 21:11:54 +0000 (00:11 +0300)]
gobex: Split unit tests into separate modules
Johan Hedberg [Tue, 28 Jun 2011 20:32:53 +0000 (23:32 +0300)]
gobex: Split gobex.c into multiple modules
Johan Hedberg [Tue, 28 Jun 2011 14:54:25 +0000 (17:54 +0300)]
gobex: Move request callback info from GObexPacket to GObex layer
Johan Hedberg [Tue, 28 Jun 2011 13:54:41 +0000 (16:54 +0300)]
gobex: Set MTU from both connect requests and responses
Johan Hedberg [Tue, 28 Jun 2011 12:38:17 +0000 (15:38 +0300)]
gobex: Make Action ID test data less predictable
Johan Hedberg [Tue, 28 Jun 2011 12:36:06 +0000 (15:36 +0300)]
gobex: Add functions for fetching data from packets
Johan Hedberg [Tue, 28 Jun 2011 11:01:52 +0000 (14:01 +0300)]
gobex: Name header creation functions more intuitively
Johan Hedberg [Mon, 27 Jun 2011 14:15:20 +0000 (17:15 +0300)]
gobex: Add basic internal handling of connect request
Johan Hedberg [Mon, 27 Jun 2011 13:54:59 +0000 (16:54 +0300)]
gobex: Refactor reading/writing to allow packet based transport
Johan Hedberg [Mon, 27 Jun 2011 13:17:04 +0000 (16:17 +0300)]
gobex: Add basic response handling
Johan Hedberg [Mon, 27 Jun 2011 11:29:02 +0000 (14:29 +0300)]
gobex: Refactor test endpoint creation into create_endpoints()
Johan Hedberg [Mon, 27 Jun 2011 11:26:14 +0000 (14:26 +0300)]
gobex: Fix minor leak in test_recv_connect_stream
Johan Hedberg [Mon, 27 Jun 2011 11:08:33 +0000 (14:08 +0300)]
gobex: Add basic packet sending support
Johan Hedberg [Mon, 27 Jun 2011 09:03:20 +0000 (12:03 +0300)]
gobex: Rename transfer tests to accomodate for new ones
Johan Hedberg [Mon, 27 Jun 2011 08:17:48 +0000 (11:17 +0300)]
gobex: Fix OBEX version in connect packet
Johan Hedberg [Mon, 27 Jun 2011 08:14:27 +0000 (11:14 +0300)]
gobex: Make G_OBEX_FINAL definition private
Johan Hedberg [Mon, 27 Jun 2011 08:09:21 +0000 (11:09 +0300)]
gobex: Fix GObexPacket variable naming