Commit Graph

183 Commits

Author SHA1 Message Date
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
Michael Jumper
a02befb6bf Rename plugin init. 2012-08-29 11:36:32 -07:00
Michael Jumper
4af8d80653 Bump version numbers. 2012-08-29 11:23:19 -07:00
Michael Jumper
af490aafbe Implementations of server-side streaming instructions. 2012-08-27 15:06:32 -07:00
Michael Jumper
9e2e1e4994 Define guac_resource, remove rel, use URI instead of rel. 2012-08-27 15:06:31 -07:00
Michael Jumper
35ff248687 Fix pool bounds. 2012-08-27 15:06:06 -07:00
Michael Jumper
6d5c9b6dde Refactor creation of client to NOT require plugin. 2012-08-27 14:28:56 -07:00
Michael Jumper
928f3c5457 Bump version numbers. 2012-08-26 11:30:42 -07:00
Michael Jumper
b0240f02ab Define library prefix/suffix with macros, explicitly define and enforce limit on protocol name length, and overall library name length. 2012-08-23 11:50:06 -07:00
Michael Jumper
014a627d13 Update version information. 2012-08-11 13:50:13 -07:00
Michael Jumper
5bd42295ca Use read() instead of recv() such that non-sockets can be used for reads. 2012-07-23 01:41:50 -07:00
Michael Jumper
c21604e2cd Cleaned up Makefile.am's 2012-07-22 15:34:36 -07:00
Michael Jumper
2c66cc4a40 Separate Makefile.am for src 2012-07-22 15:21:10 -07:00
Michael Jumper
a365f0813b Fix element walk. Reset all char counters. 2012-07-22 13:57:13 -07:00
Michael Jumper
a7843cc30f Fix makefile and includes. 2012-07-21 12:15:59 -07:00
Michael Jumper
b76a53fe62 Walk element content to determine character length (NOTE: need to save state between walks to avoid rewalking old characters and turning a linear-time parse into quadratic-time). 2012-07-21 10:00:00 -07:00
Michael Jumper
466fb36fd4 Split unicode functions into own files. 2012-07-19 23:32:49 -07:00
Michael Jumper
6b7fd03503 Measure string output in UTF-8 characters. 2012-07-19 20:03:28 -07:00
Michael Jumper
8f9eac1d33 Updated contributors. 2012-05-24 23:57:30 -07:00
David PHAM-VAN
6259381d92 Corrected padding in base64 encoding
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-24 23:55:32 -07:00
Michael Jumper
7bc4c199b6 Add error handling to png. 2012-04-19 21:05:07 -07:00
Michael Jumper
844afb6478 Fix segfault in layer/buffer alloc. 2012-04-10 16:12:03 -07:00
Michael Jumper
6a9c959da0 Properly add layers/buffers to available layer/buffer pool. 2012-04-10 11:08:52 -07:00