Commit Graph

63 Commits

Author SHA1 Message Date
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
Michael Jumper
71d59845e9 More error handling, style fix. 2011-03-19 16:39:18 -07:00
Michael Jumper
e20e877d45 Moved sleep and timestamp functions, fixed header ifndefs 2011-03-17 21:16:29 -07:00
Michael Jumper
0a3a23f26e Temporary fix for spinning while waiting for sync 2011-03-17 14:04:23 -07:00
Michael Jumper
1b2c27ba96 Removed debug fprintf. 2011-03-17 00:25:55 -07:00
Michael Jumper
a08cd5b8b7 Changed semantics of guac_read_instruction, fixed timeout. 2011-03-17 00:25:35 -07:00
Michael Jumper
3e14b52b1c Improved instruction handling, working I/O threads. 2011-03-16 23:46:02 -07:00
Michael Jumper
3c878e1d59 Added input and output threads 2011-03-16 01:24:17 -07:00
Michael Jumper
a9f702ed27 Initial implementation of timeout. 2011-03-15 23:02:47 -07:00
Michael Jumper
3e90251cb8 Automatic sleep on message handle 2011-03-13 14:52:19 -07:00
Michael Jumper
12d497ca3f Working sync control. 2011-03-11 19:35:44 -08:00