OSDN Git Service
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
Johan Hedberg [Mon, 27 Jun 2011 08:06:48 +0000 (11:06 +0300)]
gobex: Add basic request callback support
Johan Hedberg [Mon, 27 Jun 2011 08:06:18 +0000 (11:06 +0300)]
gobex: Add function to get operation information
Johan Hedberg [Mon, 27 Jun 2011 07:56:16 +0000 (10:56 +0300)]
gobex: Clean up handling of the final bit
Johan Hedberg [Mon, 27 Jun 2011 07:23:36 +0000 (10:23 +0300)]
gobex: Add basic packet reading support
Johan Hedberg [Sun, 26 Jun 2011 22:42:43 +0000 (01:42 +0300)]
gobex: Fix checking opcodes with final-bit set
Johan Hedberg [Sun, 26 Jun 2011 21:16:07 +0000 (00:16 +0300)]
gobex: Add g_obex_packet_set_data for non-header data
Johan Hedberg [Sun, 26 Jun 2011 20:45:18 +0000 (23:45 +0300)]
gobex: Minor coding style fixes
Johan Hedberg [Sun, 26 Jun 2011 20:42:51 +0000 (23:42 +0300)]
gobex: Rename parse_header tests to decode_header
Johan Hedberg [Sun, 26 Jun 2011 20:27:42 +0000 (23:27 +0300)]
gobex: Rename GObexRequest to GObexPacket
Johan Hedberg [Sun, 26 Jun 2011 20:17:20 +0000 (23:17 +0300)]
gobex: Add basic MTU tracking variables
Johan Hedberg [Sun, 26 Jun 2011 20:06:16 +0000 (23:06 +0300)]
gobex: Add basic request decoding support
Johan Hedberg [Sat, 25 Jun 2011 22:02:48 +0000 (01:02 +0300)]
gobex: Use enum instead of boolean for data policy
Johan Hedberg [Sat, 25 Jun 2011 20:46:21 +0000 (23:46 +0300)]
gobex: Rename header_parse to header_decode to match header_encode
Johan Hedberg [Thu, 23 Jun 2011 21:55:00 +0000 (00:55 +0300)]
gobex: Use GLib types and functions for fixed size integers
Johan Hedberg [Wed, 22 Jun 2011 14:22:40 +0000 (17:22 +0300)]
gobex: Add helper functions for encoding and parsing
Johan Hedberg [Wed, 22 Jun 2011 13:48:28 +0000 (16:48 +0300)]
gobex: Fix parse_and_decode->parse_and_encode naming
Johan Hedberg [Wed, 22 Jun 2011 13:04:54 +0000 (16:04 +0300)]
gobex: Add header creation functions
Johan Hedberg [Wed, 22 Jun 2011 10:51:45 +0000 (13:51 +0300)]
gobex: Add header encoding support
Johan Hedberg [Wed, 22 Jun 2011 08:24:48 +0000 (11:24 +0300)]
gobex: Add header->hlen to help with packet size calculations
Johan Hedberg [Wed, 22 Jun 2011 08:22:09 +0000 (11:22 +0300)]
gobex: Rename header->len to header->vlen to accomodate for ->hlen