Commit Graph

205 Commits

Author SHA1 Message Date
Michael Jumper
5232056a1b Mark internal structs as private. 2012-12-01 19:39:22 -08:00
Michael Jumper
825e3da0a2 Fix leaky pools. 2012-11-29 20:02:58 -08:00
Michael Jumper
2f75ff7018 Fix leak in stream pool. 2012-11-29 19:35:17 -08:00
Michael Jumper
c25683783e Output 16 digits after decimal for doubles in protocol. 2012-11-13 11:46:34 -08:00
Michael Jumper
60fbdf148b Use double durations for audio and video. 2012-11-01 20:52:50 -07:00
Michael Jumper
882d50790b Implemented file instruction and chunked file writing functions. 2012-10-25 18:00:33 -07:00
Michael Jumper
6d47cbc795 Implement chunked write instructions. 2012-10-25 11:56:11 -07:00
Michael Jumper
ef9914cfdf Add video instruction. 2012-10-25 10:54:30 -07:00
Michael Jumper
601e75b4f4 Add audio instruction. 2012-10-24 09:57:06 -07:00
Michael Jumper
ebdc70058e Remove audio/video event (use handshake instead) 2012-10-23 11:17:25 -07:00
Michael Jumper
f0de5cb6f0 Revert "Add begin instruction, to be sent after connection succeeds."
This reverts commit 19c8d7ec283abd8f8dffe2690aa3973009552304.
2012-10-22 15:45:22 -07:00
Michael Jumper
fbf61fe81d Add begin instruction, to be sent after connection succeeds. 2012-10-21 23:06:54 -07:00
Michael Jumper
875c2108e8 Add size/video/audio instruction handlers. 2012-10-21 14:52:00 -07:00
Michael Jumper
fe30cd3073 Handle nested socket within stream alloc/free. 2012-10-19 14:24:03 -07:00
Michael Jumper
014fc579ca Add nested protocol socket. 2012-10-19 14:06:39 -07:00
Michael Jumper
112360c4b1 Move fd info struct to socket-fd.c 2012-10-19 13:46:16 -07:00
Michael Jumper
518903483d Add nest instruction. 2012-10-19 13:45:06 -07:00
Michael Jumper
ffc6b389b8 Move fd-specific code to socket-fd.c 2012-10-19 12:42:46 -07:00
Michael Jumper
563726174a Remove fixme. 2012-10-19 12:26:17 -07:00
Michael Jumper
d44ec4b2c1 Add read handler, call free handler when needed, add guac_socket_read. 2012-10-19 12:07:49 -07:00
Michael Jumper
208649306a Add select handler - still need read and free. 2012-10-19 00:46:08 -07:00
Michael Jumper
9444fdb234 Call select handler as needed, implement FD-based socket. 2012-10-19 00:45:29 -07:00
Michael Jumper
b092137091 Add select handler, partial refactor. 2012-10-19 00:34:04 -07:00
Michael Jumper
2f169b2b69 Use handlers rather than hard file descriptor. Allow explicit alloc/free of socket. 2012-10-19 00:19:54 -07:00
Michael Jumper
31729bf62d Add pool and stream alloc/free. 2012-10-18 20:57:11 -07:00
Michael Jumper
cd23eac4ee Add stream structure. 2012-10-18 20:46:17 -07:00
Michael Jumper
657b83808c Removed resource subprotocol (in favor of protocol nesting). 2012-10-18 01:34:25 -07:00
Michael Jumper
f4f4e04e0e Call accept/reject handler of associated resource if resource is valid. 2012-09-06 20:37:16 -07:00
Michael Jumper
c95931e687 Add accept/reject instruction handler stubs. 2012-09-06 20:30:03 -07:00
Michael Jumper
a38d59451d Properly free pools in guac_client_free 2012-09-06 20:23:03 -07:00
Michael Jumper
a114698854 Implement alloc/free for guac_resource. 2012-09-06 20:08:15 -07:00
Michael Jumper
5403bf7c3a Add resource pool to client. 2012-09-06 19:57:19 -07:00
Michael Jumper
ac0d98518b pool.h must be installed (included by client.h which is installed) 2012-09-06 17:56:50 -07:00
Michael Jumper
6adce8bab0 Migrate to guac_pool for layer and buffer pools. 2012-09-06 17:55:24 -07:00
Michael Jumper
d7ae188564 Add magic number to hash (prevent all pure-black or similarly-black images from hashing to same value universally). 2012-09-06 12:06:06 -07:00
Michael Jumper
88445c5cb8 Add surface compare. 2012-09-06 12:06:06 -07:00
Michael Jumper
b35947daea Fix signedness, fix hash size. 2012-09-06 12:06:06 -07:00
Michael Jumper
97ac78c1e5 Added hash.c and hash.h, including a basic image hash function. 2012-09-06 12:06:06 -07:00
Michael Jumper
e02b3e3a0e Implement all pool functions. 2012-09-06 11:53:37 -07:00
Michael Jumper
b9bbf0ae7b Implemented guac_pool_free_int. 2012-09-06 11:29:31 -07:00
Michael Jumper
4444690400 Implement guac_pool alloc and free. 2012-09-06 11:24:01 -07:00
Michael Jumper
0e63f8667d Added stubbed pool.c, fixed typo in pool.h. 2012-09-06 11:20:18 -07:00
Michael Jumper
fba2c37b6b Add prototypes and structs for generic integer pool (to ultimately replace the individually-implemented layer and buffer pools, and for use in implementing the resource pool). 2012-09-06 11:15:23 -07:00
Michael Jumper
dc1be17935 Refactored plugin functions into plugin.c 2012-09-05 17:23:24 -07:00
Michael Jumper
2af32ece37 Refactored timestamp functions into timestamp.c 2012-09-05 17:17:18 -07:00
Michael Jumper
df2ab8384f Refactored instruction functions into instruction.c. 2012-09-05 17:13:05 -07:00
Michael Jumper
9a812c6732 Fixed typo. 2012-09-05 17:03:56 -07:00
Michael Jumper
c57a61122b Add missing includes to tests, fix function naming in protocol.c 2012-09-05 01:02:52 -07:00
Michael Jumper
9c53b85393 Fix includes, renamed time.h to timestamp.h 2012-09-05 00:47:21 -07:00
Michael Jumper
63e39befef Fixed includes, update Makefile.am 2012-09-04 23:28:58 -07:00