OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agogobex: Add unit test for unexpected data
Johan Hedberg [Tue, 5 Jul 2011 23:11:18 +0000 (02:11 +0300)]
gobex: Add unit test for unexpected data

11 years agogobex: Add put streaming support to test-server
Johan Hedberg [Tue, 5 Jul 2011 22:56:05 +0000 (01:56 +0300)]
gobex: Add put streaming support to test-server

11 years agogobex: Add basic server-side put transfer support
Johan Hedberg [Tue, 5 Jul 2011 22:55:43 +0000 (01:55 +0300)]
gobex: Add basic server-side put transfer support

11 years agogobex: Print more informative disconnect message in test-client
Johan Hedberg [Tue, 5 Jul 2011 22:54:12 +0000 (01:54 +0300)]
gobex: Print more informative disconnect message in test-client

11 years agogobex: Fix typo
Johan Hedberg [Tue, 5 Jul 2011 22:53:46 +0000 (01:53 +0300)]
gobex: Fix typo

11 years agogobex: Fix also response code for on-demand data based packets
Johan Hedberg [Tue, 5 Jul 2011 21:49:09 +0000 (00:49 +0300)]
gobex: Fix also response code for on-demand data based packets

11 years agogobex: Rename g_obex_put to g_obex_put_req
Johan Hedberg [Tue, 5 Jul 2011 20:33:20 +0000 (23:33 +0300)]
gobex: Rename g_obex_put to g_obex_put_req

11 years agogobex: Remove g_obex_set_request_function
Johan Hedberg [Tue, 5 Jul 2011 19:57:34 +0000 (22:57 +0300)]
gobex: Remove g_obex_set_request_function

11 years agogobex: Update test-server to use per-opcode request handlers
Johan Hedberg [Tue, 5 Jul 2011 19:51:46 +0000 (22:51 +0300)]
gobex: Update test-server to use per-opcode request handlers

11 years agogobex: Add per-opcode request handlers
Johan Hedberg [Tue, 5 Jul 2011 19:51:32 +0000 (22:51 +0300)]
gobex: Add per-opcode request handlers

11 years agogobex: Add basic put request parsing to test-server
Johan Hedberg [Tue, 5 Jul 2011 18:59:47 +0000 (21:59 +0300)]
gobex: Add basic put request parsing to test-server

11 years agogobex: Add type and name headers to the g_obex_put request
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

11 years agogobex: Use GObexDataProducer type instead of (custom) GObexPacketDataFunc
Johan Hedberg [Tue, 5 Jul 2011 16:36:41 +0000 (19:36 +0300)]
gobex: Use GObexDataProducer type instead of (custom) GObexPacketDataFunc

11 years agogobex: Make on-demand body headers a GObexPacket feature
Johan Hedberg [Tue, 5 Jul 2011 16:26:57 +0000 (19:26 +0300)]
gobex: Make on-demand body headers a GObexPacket feature

11 years agogobex: Track last received request internally and remove g_obex_response
Johan Hedberg [Tue, 5 Jul 2011 15:57:23 +0000 (18:57 +0300)]
gobex: Track last received request internally and remove g_obex_response

11 years agogobex: Add support for put transfer in test-client
Johan Hedberg [Tue, 5 Jul 2011 15:32:28 +0000 (18:32 +0300)]
gobex: Add support for put transfer in test-client

11 years agogobex: Add initial transfer abstraction
Johan Hedberg [Tue, 5 Jul 2011 15:32:05 +0000 (18:32 +0300)]
gobex: Add initial transfer abstraction

11 years agogobex: Add proper responses to all requests in test-server
Johan Hedberg [Tue, 5 Jul 2011 15:30:54 +0000 (18:30 +0300)]
gobex: Add proper responses to all requests in test-server

11 years agogobex: Fix end of body packets for on-demand headers
Johan Hedberg [Tue, 5 Jul 2011 15:29:55 +0000 (18:29 +0300)]
gobex: Fix end of body packets for on-demand headers

11 years agogobex: Don't stop sending data if a single packet fails to encode
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

11 years agogobex: Fix parsing over-sized packets
Johan Hedberg [Tue, 5 Jul 2011 13:37:02 +0000 (16:37 +0300)]
gobex: Fix parsing over-sized packets

11 years agogobex: Rename GObexDisconnectFunc to simply GObexFunc
Johan Hedberg [Tue, 5 Jul 2011 10:16:35 +0000 (13:16 +0300)]
gobex: Rename GObexDisconnectFunc to simply GObexFunc

11 years agogobex: Make on-demand header callbacks able to fail cleanly
Johan Hedberg [Tue, 5 Jul 2011 09:33:57 +0000 (12:33 +0300)]
gobex: Make on-demand header callbacks able to fail cleanly

11 years agogobex: Use opcode instead of entire req in g_obex_response
Johan Hedberg [Mon, 4 Jul 2011 20:32:43 +0000 (23:32 +0300)]
gobex: Use opcode instead of entire req in g_obex_response

11 years agogobex: Add support for Connection ID header
Johan Hedberg [Mon, 4 Jul 2011 20:02:52 +0000 (23:02 +0300)]
gobex: Add support for Connection ID header

11 years agogobex: Add g_obex_packet_find_header and g_obex_packet_prepend_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

11 years agogobex: Use g_obex_respose in test-server
Johan Hedberg [Mon, 4 Jul 2011 19:13:53 +0000 (22:13 +0300)]
gobex: Use g_obex_respose in test-server

11 years agogobex: Add convenience response sending function
Johan Hedberg [Mon, 4 Jul 2011 19:13:28 +0000 (22:13 +0300)]
gobex: Add convenience response sending function

11 years agogobex: Add request callback to test-server
Johan Hedberg [Mon, 4 Jul 2011 13:23:54 +0000 (16:23 +0300)]
gobex: Add request callback to test-server

11 years agogobex: Add connect command to test-client
Johan Hedberg [Mon, 4 Jul 2011 13:23:31 +0000 (16:23 +0300)]
gobex: Add connect command to test-client

11 years agogobex: Add convenience function for sending connect req
Johan Hedberg [Mon, 4 Jul 2011 13:21:45 +0000 (16:21 +0300)]
gobex: Add convenience function for sending connect req

11 years agogobex: Fix RX MTU setting
Johan Hedberg [Mon, 4 Jul 2011 13:20:42 +0000 (16:20 +0300)]
gobex: Fix RX MTU setting

11 years agogobex: Fix minor (whitespace) coding style issue
Johan Hedberg [Mon, 4 Jul 2011 12:55:12 +0000 (15:55 +0300)]
gobex: Fix minor (whitespace) coding style issue

11 years agogobex: Add missing g_set_error in header parsing
Johan Hedberg [Mon, 4 Jul 2011 12:54:53 +0000 (15:54 +0300)]
gobex: Add missing g_set_error in header parsing

11 years agogobex: Add readline support to test-client
Johan Hedberg [Mon, 4 Jul 2011 12:25:55 +0000 (15:25 +0300)]
gobex: Add readline support to test-client

11 years agogobex: Add basic skeleton for test-client
Johan Hedberg [Mon, 4 Jul 2011 11:09:17 +0000 (14:09 +0300)]
gobex: Add basic skeleton for test-client

11 years agogobex: Fix test-server server socket leak
Johan Hedberg [Mon, 4 Jul 2011 11:13:16 +0000 (14:13 +0300)]
gobex: Fix test-server server socket leak

11 years agogobex: Add some basic command line options to test-server
Johan Hedberg [Mon, 4 Jul 2011 10:56:14 +0000 (13:56 +0300)]
gobex: Add some basic command line options to test-server

11 years agogobex: g_obex_new should create its own GIOChannel ref
Johan Hedberg [Mon, 4 Jul 2011 08:17:48 +0000 (11:17 +0300)]
gobex: g_obex_new should create its own GIOChannel ref

11 years agogobex: Add per-client tracking to test-server
Johan Hedberg [Mon, 4 Jul 2011 08:13:37 +0000 (11:13 +0300)]
gobex: Add per-client tracking to test-server

11 years agogobex: Fix removing pending request timeout callback
Johan Hedberg [Mon, 4 Jul 2011 08:10:23 +0000 (11:10 +0300)]
gobex: Fix removing pending request timeout callback

11 years agogobex: Remove superfluous return statement
Johan Hedberg [Mon, 4 Jul 2011 08:01:59 +0000 (11:01 +0300)]
gobex: Remove superfluous return statement

11 years agogobex: Add a skeleton for a test server
Johan Hedberg [Sun, 3 Jul 2011 22:09:58 +0000 (01:09 +0300)]
gobex: Add a skeleton for a test server

11 years agogobex: Rename SRM Parameters definition to match spec.
Johan Hedberg [Sun, 3 Jul 2011 10:19:01 +0000 (13:19 +0300)]
gobex: Rename SRM Parameters definition to match spec.

11 years agogobex: Add support for multi-response requests (SRM)
Johan Hedberg [Sun, 3 Jul 2011 10:06:36 +0000 (13:06 +0300)]
gobex: Add support for multi-response requests (SRM)

11 years agogobex: Add common response codes to gobex-packet.h
Johan Hedberg [Sun, 3 Jul 2011 09:21:58 +0000 (12:21 +0300)]
gobex: Add common response codes to gobex-packet.h

11 years agogobex: Add (transport) MTU parameters to g_obex_new
Johan Hedberg [Fri, 1 Jul 2011 09:24:33 +0000 (12:24 +0300)]
gobex: Add (transport) MTU parameters to g_obex_new

11 years agogobex: Split ev_func into req_func and disconn_func
Johan Hedberg [Fri, 1 Jul 2011 08:25:20 +0000 (11:25 +0300)]
gobex: Split ev_func into req_func and disconn_func

11 years agogobex: Add support for on-demand headers
Johan Hedberg [Thu, 30 Jun 2011 19:57:51 +0000 (22:57 +0300)]
gobex: Add support for on-demand headers

11 years agogobex: Add packet transport support
Johan Hedberg [Thu, 30 Jun 2011 11:13:04 +0000 (14:13 +0300)]
gobex: Add packet transport support

11 years agogobex: Add request cancellation support
Johan Hedberg [Wed, 29 Jun 2011 21:26:19 +0000 (00:26 +0300)]
gobex: Add request cancellation support

11 years agogobex: Remove potential write source in g_obex_unref
Johan Hedberg [Wed, 29 Jun 2011 21:25:58 +0000 (00:25 +0300)]
gobex: Remove potential write source in g_obex_unref

11 years agogobex: Remove disconn callback in favor of generic event callback
Johan Hedberg [Wed, 29 Jun 2011 18:23:14 +0000 (21:23 +0300)]
gobex: Remove disconn callback in favor of generic event callback

11 years agogobex: Add per-request timeouts
Johan Hedberg [Wed, 29 Jun 2011 15:30:18 +0000 (18:30 +0300)]
gobex: Add per-request timeouts

11 years agogobex: Improve multiple request queuing
Johan Hedberg [Wed, 29 Jun 2011 14:30:05 +0000 (17:30 +0300)]
gobex: Improve multiple request queuing

11 years agogobex: Improve decoding error message
Johan Hedberg [Wed, 29 Jun 2011 13:02:29 +0000 (16:02 +0300)]
gobex: Improve decoding error message

11 years agogobex: Add connect packet decoding test
Johan Hedberg [Wed, 29 Jun 2011 13:02:15 +0000 (16:02 +0300)]
gobex: Add connect packet decoding test

11 years agogobex: Fix decoding error memory leak
Johan Hedberg [Wed, 29 Jun 2011 13:01:39 +0000 (16:01 +0300)]
gobex: Fix decoding error memory leak

11 years agogobex: Fix length checks in packet decoding
Johan Hedberg [Wed, 29 Jun 2011 13:00:51 +0000 (16:00 +0300)]
gobex: Fix length checks in packet decoding

11 years agogobex: Add invalid connect response test
Johan Hedberg [Wed, 29 Jun 2011 12:02:57 +0000 (15:02 +0300)]
gobex: Add invalid connect response test

11 years agogobex: Refactor response sending in tests
Johan Hedberg [Wed, 29 Jun 2011 11:44:57 +0000 (14:44 +0300)]
gobex: Refactor response sending in tests

11 years agogobex: Don't export final bit details in public API
Johan Hedberg [Wed, 29 Jun 2011 11:37:34 +0000 (14:37 +0300)]
gobex: Don't export final bit details in public API

11 years agogobex: Add proper error returns to packet sending functions
Johan Hedberg [Wed, 29 Jun 2011 11:33:04 +0000 (14:33 +0300)]
gobex: Add proper error returns to packet sending functions

11 years agogobex: Add invalid packet data decoding test
Johan Hedberg [Wed, 29 Jun 2011 11:17:49 +0000 (14:17 +0300)]
gobex: Add invalid packet data decoding test

11 years agogobex: Add invalid header data decoding tests
Johan Hedberg [Wed, 29 Jun 2011 11:08:50 +0000 (14:08 +0300)]
gobex: Add invalid header data decoding tests

11 years agogobex: Add basic packet encoding test
Johan Hedberg [Wed, 29 Jun 2011 10:36:54 +0000 (13:36 +0300)]
gobex: Add basic packet encoding test

11 years agogobex: Fix packet length updating when parsing headers
Johan Hedberg [Wed, 29 Jun 2011 10:36:20 +0000 (13:36 +0300)]
gobex: Fix packet length updating when parsing headers

11 years agogobex: Add initial GError support
Johan Hedberg [Wed, 29 Jun 2011 10:15:05 +0000 (13:15 +0300)]
gobex: Add initial GError support

11 years agogobex: Add disconnect callback support
Johan Hedberg [Wed, 29 Jun 2011 09:20:42 +0000 (12:20 +0300)]
gobex: Add disconnect callback support

11 years agogobex: Use GLib size types
Johan Hedberg [Wed, 29 Jun 2011 08:04:12 +0000 (11:04 +0300)]
gobex: Use GLib size types

11 years agogobex: Split unit tests into separate modules
Johan Hedberg [Tue, 28 Jun 2011 21:11:54 +0000 (00:11 +0300)]
gobex: Split unit tests into separate modules

11 years agogobex: Split gobex.c into multiple modules
Johan Hedberg [Tue, 28 Jun 2011 20:32:53 +0000 (23:32 +0300)]
gobex: Split gobex.c into multiple modules

11 years agogobex: Move request callback info from GObexPacket to GObex layer
Johan Hedberg [Tue, 28 Jun 2011 14:54:25 +0000 (17:54 +0300)]
gobex: Move request callback info from GObexPacket to GObex layer

11 years agogobex: Set MTU from both connect requests and responses
Johan Hedberg [Tue, 28 Jun 2011 13:54:41 +0000 (16:54 +0300)]
gobex: Set MTU from both connect requests and responses

11 years agogobex: Make Action ID test data less predictable
Johan Hedberg [Tue, 28 Jun 2011 12:38:17 +0000 (15:38 +0300)]
gobex: Make Action ID test data less predictable

11 years agogobex: Add functions for fetching data from packets
Johan Hedberg [Tue, 28 Jun 2011 12:36:06 +0000 (15:36 +0300)]
gobex: Add functions for fetching data from packets

11 years agogobex: Name header creation functions more intuitively
Johan Hedberg [Tue, 28 Jun 2011 11:01:52 +0000 (14:01 +0300)]
gobex: Name header creation functions more intuitively

11 years agogobex: Add basic internal handling of connect request
Johan Hedberg [Mon, 27 Jun 2011 14:15:20 +0000 (17:15 +0300)]
gobex: Add basic internal handling of connect request

11 years agogobex: Refactor reading/writing to allow packet based transport
Johan Hedberg [Mon, 27 Jun 2011 13:54:59 +0000 (16:54 +0300)]
gobex: Refactor reading/writing to allow packet based transport

11 years agogobex: Add basic response handling
Johan Hedberg [Mon, 27 Jun 2011 13:17:04 +0000 (16:17 +0300)]
gobex: Add basic response handling

11 years agogobex: Refactor test endpoint creation into create_endpoints()
Johan Hedberg [Mon, 27 Jun 2011 11:29:02 +0000 (14:29 +0300)]
gobex: Refactor test endpoint creation into create_endpoints()

11 years agogobex: Fix minor leak in test_recv_connect_stream
Johan Hedberg [Mon, 27 Jun 2011 11:26:14 +0000 (14:26 +0300)]
gobex: Fix minor leak in test_recv_connect_stream

11 years agogobex: Add basic packet sending support
Johan Hedberg [Mon, 27 Jun 2011 11:08:33 +0000 (14:08 +0300)]
gobex: Add basic packet sending support

11 years agogobex: Rename transfer tests to accomodate for new ones
Johan Hedberg [Mon, 27 Jun 2011 09:03:20 +0000 (12:03 +0300)]
gobex: Rename transfer tests to accomodate for new ones

11 years agogobex: Fix OBEX version in connect packet
Johan Hedberg [Mon, 27 Jun 2011 08:17:48 +0000 (11:17 +0300)]
gobex: Fix OBEX version in connect packet

11 years agogobex: Make G_OBEX_FINAL definition private
Johan Hedberg [Mon, 27 Jun 2011 08:14:27 +0000 (11:14 +0300)]
gobex: Make G_OBEX_FINAL definition private

11 years agogobex: Fix GObexPacket variable naming
Johan Hedberg [Mon, 27 Jun 2011 08:09:21 +0000 (11:09 +0300)]
gobex: Fix GObexPacket variable naming

11 years agogobex: Add basic request callback support
Johan Hedberg [Mon, 27 Jun 2011 08:06:48 +0000 (11:06 +0300)]
gobex: Add basic request callback support

11 years agogobex: Add function to get operation information
Johan Hedberg [Mon, 27 Jun 2011 08:06:18 +0000 (11:06 +0300)]
gobex: Add function to get operation information

11 years agogobex: Clean up handling of the final bit
Johan Hedberg [Mon, 27 Jun 2011 07:56:16 +0000 (10:56 +0300)]
gobex: Clean up handling of the final bit

11 years agogobex: Add basic packet reading support
Johan Hedberg [Mon, 27 Jun 2011 07:23:36 +0000 (10:23 +0300)]
gobex: Add basic packet reading support

11 years agogobex: Fix checking opcodes with final-bit set
Johan Hedberg [Sun, 26 Jun 2011 22:42:43 +0000 (01:42 +0300)]
gobex: Fix checking opcodes with final-bit set

11 years agogobex: Add g_obex_packet_set_data for non-header data
Johan Hedberg [Sun, 26 Jun 2011 21:16:07 +0000 (00:16 +0300)]
gobex: Add g_obex_packet_set_data for non-header data

11 years agogobex: Minor coding style fixes
Johan Hedberg [Sun, 26 Jun 2011 20:45:18 +0000 (23:45 +0300)]
gobex: Minor coding style fixes

11 years agogobex: Rename parse_header tests to decode_header
Johan Hedberg [Sun, 26 Jun 2011 20:42:51 +0000 (23:42 +0300)]
gobex: Rename parse_header tests to decode_header

11 years agogobex: Rename GObexRequest to GObexPacket
Johan Hedberg [Sun, 26 Jun 2011 20:27:42 +0000 (23:27 +0300)]
gobex: Rename GObexRequest to GObexPacket

11 years agogobex: Add basic MTU tracking variables
Johan Hedberg [Sun, 26 Jun 2011 20:17:20 +0000 (23:17 +0300)]
gobex: Add basic MTU tracking variables

11 years agogobex: Add basic request decoding support
Johan Hedberg [Sun, 26 Jun 2011 20:06:16 +0000 (23:06 +0300)]
gobex: Add basic request decoding support

11 years agogobex: Use enum instead of boolean for data policy
Johan Hedberg [Sat, 25 Jun 2011 22:02:48 +0000 (01:02 +0300)]
gobex: Use enum instead of boolean for data policy

11 years agogobex: Rename header_parse to header_decode to match header_encode
Johan Hedberg [Sat, 25 Jun 2011 20:46:21 +0000 (23:46 +0300)]
gobex: Rename header_parse to header_decode to match header_encode