Commit Graph

73 Commits

Author SHA1 Message Date
Michael Jumper
31729bf62d Add pool and stream alloc/free. 2012-10-18 20:57:11 -07:00
Michael Jumper
657b83808c Removed resource subprotocol (in favor of protocol nesting). 2012-10-18 01:34:25 -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
6adce8bab0 Migrate to guac_pool for layer and buffer pools. 2012-09-06 17:55:24 -07:00
Michael Jumper
dc1be17935 Refactored plugin functions into plugin.c 2012-09-05 17:23:24 -07:00
Michael Jumper
9c53b85393 Fix includes, renamed time.h to timestamp.h 2012-09-05 00:47:21 -07:00
Michael Jumper
a02befb6bf Rename plugin init. 2012-08-29 11:36: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
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
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
Michael Jumper
7f293df34c Modify guac_client_plugin_get_client() to allow logging to be set up before guac_client_init is called (fixes ticket #85). 2012-03-13 15:45:22 -07:00
Michael Jumper
33e028f1f4 Refactored guac_client_alloc_layer(), implement guac_client_free_layer(). 2012-02-27 22:56:38 -08:00
Michael Jumper
da27927a3f Require a minimum number of buffers before old free'd buffers are reused, implement LRU strategy for reuse of buffers (oldest free'd buffer). 2012-01-12 09:57:34 -08:00
Michael Jumper
180216159f Use dlerror() for errors opening client plugin. 2012-01-03 00:03:24 -08:00
Michael Jumper
549c6d4515 Fixed broken rename. 2011-12-24 22:49:27 -08:00
Michael Jumper
966cdd7271 Fixed memory leak in guac_client_plugin_close() 2011-12-21 01:44:30 -08:00
Michael Jumper
3c5a54e303 Restored guac_client_stop. 2011-12-01 22:57:34 -08:00
Michael Jumper
f935075aec Added guac_error_message. Added error messages to all functions. 2011-11-27 15:57:43 -08:00
Michael Jumper
989f24be2b Do not call free handler for client if init does not complete. 2011-11-26 14:50:03 -08:00
Michael Jumper
61579bd9b7 Fix library name generation, fix instruction parsing. 2011-11-26 00:28:43 -08:00
Michael Jumper
24a2ad6d12 Renamed io to socket (in vars) 2011-11-25 16:34:43 -08:00
Michael Jumper
ae33a4ca48 Converted to new guac_client_plugin API 2011-11-25 13:04:59 -08:00
Michael Jumper
5428aef912 Implemented logging functions. 2011-11-25 12:22:12 -08:00
Michael Jumper
682344f778 Conversion to new naming conventions, partial logging. 2011-11-25 12:17:20 -08:00
Michael Jumper
857c2e03c9 Refactor of guac_read_instruction, migrate to new guac_read_instruction 2011-11-24 18:18:03 -08:00
Michael Jumper
97f7249e60 Renamed private members, adding __ (double underscore) prefix. 2011-11-23 16:08:33 -08:00
Michael Jumper
087ed54fc2 Removed GUAC_*_TIMEOUT, added usec_timeout parameters to functions which need them, updated docs. 2011-11-23 00:43:30 -08:00
Michael Jumper
a932c2f1a0 Removed out-of-scope threads API. 2011-11-23 00:22:12 -08:00
Michael Jumper
84254cfddf Removed daemon-specific functions 2011-11-22 23:51:43 -08:00
Michael Jumper
b50d89d830 Revert "Refactor of prototypes, partial continuation of refactor into client."
This reverts commit a7a4a126c2a670c78bef4bc34d8823f98754bc5c.
2011-11-20 23:09:02 -08:00
Michael Jumper
8ef7d724bb Refactor of prototypes, partial continuation of refactor into client. 2011-11-19 14:34:08 -08:00
Michael Jumper
4d6218560f Removed inconsistent _t suffix from types. 2011-11-16 15:43:28 -08:00
Michael Jumper
df02126676 Removed guac_client_queue_*() and associated structures (out of scope). 2011-11-03 13:48:05 -07:00
Michael Jumper
185d23fb5e Migrated queue from layer to client, restored GUAC_DEFAULT_LAYER. 2011-10-25 22:01:53 -07:00
Michael Jumper
44a456aece Implemented naiive update condensing for PNGs in the simplest case. Added queue tail. Now adding to tail of queue. 2011-10-23 23:11:29 -07:00
Michael Jumper
7da95aa6cf Removed guac_client_free_layer (doesn't make sense), added free() for update queue, added update queue structures. 2011-10-23 15:35:23 -07:00
Michael Jumper
a829018238 Fixed segfault in free layer/buffer (was using wrong next pointer). 2011-07-25 15:57:48 -07:00
Michael Jumper
6341346cb7 Using C99, POSIX, and BSD. Added guac_layer and layer/buffer alloc/free. 2011-07-20 12:36:02 -07:00
Michael Jumper
f55ba6ff4e Ping with last sync, not new sync. Don't want to update the last update timestamp unnecessarily. 2011-07-14 09:57:14 -07:00
Michael Jumper
8242c37f11 64-bit timestamps and output 2011-04-29 00:45:38 -07:00
Michael Jumper
bd8d314c29 Converted to new thread API. 2011-04-21 15:07:36 -07:00
Michael Jumper
f95f264747 Using cairo instead of libpng. 2011-03-27 16:32:49 -07:00
Michael Jumper
a2b0729953 Wait for output thread if input thread does not start, fixed typo in error. 2011-03-20 21:38:58 -07:00
Michael Jumper
06dad71273 Using function rather than variadic macro 2011-03-19 17:02:30 -07:00
Michael Jumper
a72df19449 Error handling in guac_start_client. 2011-03-19 16:44:06 -07:00