Commit Graph

327 Commits

Author SHA1 Message Date
Michael Jumper
eb450a6b3f Prototyped out part of indexed image support, added docs. 2012-09-06 12:06:06 -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
866d067bba Add forward declaration for guac_resource 2012-09-06 10:22:17 -07:00
Michael Jumper
9493dc10f3 Added resource handlers to guac_resource. 2012-09-05 18:11:48 -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
8807914668 Add missing includes. 2012-09-04 19:06:14 -07:00
Michael Jumper
0f4ca62eed Refactor plugin functions into plugin.h 2012-09-03 18:16:16 -07:00
Michael Jumper
d2eed69635 Refactor time functions into time.h 2012-09-03 18:07:13 -07:00
Michael Jumper
19cc6ccc01 Refactor functions into instruction.h - beware of renaming. 2012-09-03 18:03:24 -07:00
Michael Jumper
373cab0be6 Refactor layer struct and functions into layer.h 2012-09-03 17:58:43 -07:00
Michael Jumper
f8fdc3f35a Refactor guac_resource functions into resource.h 2012-09-03 17:54:30 -07:00
Michael Jumper
a959dff6f6 Only output parameter if it has a name. 2012-09-02 23:27:19 -07:00
Michael Jumper
23f799fa33 Added XSLT for translating Doxygen XML to DocBook. 2012-09-02 20:50:50 -07:00
Michael Jumper
78e51759cb Output xml for docs. 2012-09-02 18:08:17 -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
68e3d1507b Add resource free stub. 2012-08-29 10:00:14 -07:00
Michael Jumper
7806fdf56c Add buffer pool test. 2012-08-28 11:25:21 -07:00
Michael Jumper
1bcc1e7d5a Ensure buffers do not hurt layer pool. 2012-08-27 15:10:27 -07:00
Michael Jumper
af490aafbe Implementations of server-side streaming instructions. 2012-08-27 15:06:32 -07:00
Michael Jumper
5f1b67fb02 New resource API and corresponding stubs. 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
376fbe64ab Added handlers. 2012-08-27 15:06:31 -07:00
Michael Jumper
4ed87ecab5 Update select instruction semantics. 2012-08-27 15:06:31 -07:00
Michael Jumper
3249d068d3 Prototypes for streaming inructions. 2012-08-27 15:06:31 -07:00
Michael Jumper
35ff248687 Fix pool bounds. 2012-08-27 15:06:06 -07:00
Michael Jumper
77a752a2ee Fix test. 2012-08-27 15:05:55 -07:00
Michael Jumper
3e96b85b22 Implement pool test. 2012-08-27 15:02:13 -07:00
Michael Jumper
bc5065cda4 Combined tests into single executable. 2012-08-27 14:44:17 -07:00
Michael Jumper
114ac20f25 Layer pool test stub. 2012-08-27 14:41:23 -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
aaa463ec9f Assert return values. 2012-08-12 23:14:14 -07:00
Michael Jumper
fbca4e8b9a Ensure suite.h is included in source tarball. 2012-08-12 23:12:59 -07:00
Michael Jumper
014a627d13 Update version information. 2012-08-11 13:50:13 -07:00
Michael Jumper
905c6039f4 Update ChangeLog. 2012-08-11 13:47:50 -07:00
Michael Jumper
cf6c232054 Ensure m4/ directory exists, while automatically-added files are not included in commits. 2012-08-11 13:22:27 -07:00
Michael Jumper
f22469ef31 Ignore gcov files. 2012-07-23 20:08:14 -07:00
Michael Jumper
a46e4f40ed Define better set of UTF8 test strings, use instead of dog. 2012-07-23 15:50:58 -07:00
Michael Jumper
f8eb590ea3 Split test_protocol.c into multiple files, one per test. 2012-07-23 15:37:36 -07:00
Michael Jumper
af4cb160cb Add instruction writing test. 2012-07-23 12:38:53 -07:00
Michael Jumper
4170f781a5 More renaming. 2012-07-23 02:25:06 -07:00
Michael Jumper
24c7898ffe Rename test function. 2012-07-23 02:20:12 -07:00
Michael Jumper
e1715cc40c Actual unit test of unicode use. 2012-07-23 01:42:15 -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
3cca318f8e Protocol test stub. 2012-07-22 22:08:01 -07:00
Michael Jumper
caf2349a64 Renamed test. 2012-07-22 19:40:11 -07:00
Michael Jumper
2650f1e4a5 Add license comment to unit test source. 2012-07-22 18:00:59 -07:00
Michael Jumper
2f0d2f37e6 Use Check for unit tests, add unit test stub. 2012-07-22 17:57:31 -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
fb5b4af5ef client-handlers.h should not be installed. 2012-06-20 13:21:05 -07:00
Michael Jumper
79185d52f5 Update version info. 2012-06-03 20:52:11 -07:00
Michael Jumper
7382bacc81 Bump version to 0.6.1 2012-06-03 20:47:45 -07:00
Michael Jumper
675dec46d3 Updated/fixed ChangeLog. 2012-06-03 20:42:04 -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
ae9f20b896 Fix documentation version, add palette to excludes. 2012-05-11 14:35:38 -07:00
Michael Jumper
75d3a3e15c Updated ChangeLog 2012-05-04 19:07:29 -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
Michael Jumper
ecec3a1099 Fix size of palette hash table (should be 0x1000, not 0xFFF), don't free palette until AFTER done... 2012-04-02 13:27:28 -07:00
Michael Jumper
71de5606bf Should not install palette.h 2012-04-01 23:27:57 -07:00
Michael Jumper
d2523c062c Restore Cairo PNG support. 2012-04-01 23:16:58 -07:00
Michael Jumper
b4ad24ccd6 Use appropriate BPP and packing. 2012-04-01 23:10:52 -07:00
Michael Jumper
d300688a5b Fix palette find. 2012-04-01 23:01:53 -07:00
Michael Jumper
e8833857b9 Removed debug fprintf. 2012-04-01 22:37:25 -07:00
Michael Jumper
ec652af924 Store palette in libpng format, add PLTE section. 2012-04-01 22:36:55 -07:00
Michael Jumper
969f96f1b7 Use libpng if palette possible, otherwise use Cairo (stub). 2012-04-01 22:28:45 -07:00
Michael Jumper
1489ae902d Store sequential array of colors in palette. 2012-04-01 22:06:34 -07:00
Michael Jumper
314e8c9222 Add palette find function. 2012-04-01 21:57:19 -07:00
Michael Jumper
e22323c4d9 Function rename + palette alloc test. 2012-04-01 21:54:03 -07:00
Michael Jumper
859395022f Move palette functions into own files. 2012-04-01 21:49:15 -07:00
Michael Jumper
4974f5a082 Handle formats, basic palette mapping implementation. 2012-04-01 21:20:08 -07:00
Michael Jumper
3cae4f016f Use libpng for writing of PNGs (currently only works with RGB/RGBA surfaces, and only writes RGB) 2012-04-01 20:19:12 -07:00
Michael Jumper
bd864f3f8f Check for pngstruct.h 2012-04-01 19:25:33 -07:00
Michael Jumper
9118f593b3 Restore checks for libpng. 2012-04-01 19:22:26 -07:00
Michael Jumper
1aa594bd8b __guac_fill_instructionbuf() should report errors. 2012-03-15 11:30:52 -07:00
Michael Jumper
eb73b52e69 Fix output of arc instruction. 2012-03-13 19:12:37 -07:00