Commit Graph

92 Commits

Author SHA1 Message Date
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
518903483d Add nest instruction. 2012-10-19 13:45:06 -07:00
Michael Jumper
657b83808c Removed resource subprotocol (in favor of protocol nesting). 2012-10-18 01:34:25 -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
af490aafbe Implementations of server-side streaming instructions. 2012-08-27 15:06:32 -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
a365f0813b Fix element walk. Reset all char counters. 2012-07-22 13:57:13 -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
7bc4c199b6 Add error handling to png. 2012-04-19 21:05:07 -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
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
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
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
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
Michael Jumper
b71eca8183 Add new negative parameter to arc. 2012-03-13 19:07:24 -07:00
Michael Jumper
fa27d7b11e Added layer to set instruction. 2012-03-13 12:06:11 -07:00
Michael Jumper
e3c3eea764 Refactored path into curve, added line, arc, and start instructions. Added close instruction. Added identity instruction. 2012-03-12 17:22:04 -07:00
Michael Jumper
fbe43e917e Refactored rstroke/rfill to lstroke/lfill. 2012-03-11 21:05:34 -07:00
Michael Jumper
0479d71563 Added all remaining new instructions (and old client-only instructions) 2012-03-11 13:15:45 -07:00
Michael Jumper
55ac0eee0b Implemented around 1/3 of all new instructions. 2012-03-11 12:57:15 -07:00
Michael Jumper
d93108767b Reorganized functions, alphabetized. 2012-03-10 21:34:42 -08:00
Michael Jumper
ee324aed69 Fixed merge of unstable, refactored rect and clip. 2012-02-27 16:01:02 -08:00
Michael Jumper
554d6e1ec1 Implemented transfer instruction, initial transfer function definitions. 2012-02-27 12:28:12 -08:00
Michael Jumper
28e2d41e16 Added dispose instruction. 2012-02-20 12:41:23 -08:00
Michael Jumper
124460b5d9 New cursor instruction format (allowing buffering of cursors). 2012-02-15 10:04:31 -08:00
Michael Jumper
a17cd6202b Modified size to be layer-specific, adding layer move instruction. 2012-02-11 19:00:55 -08:00
Michael Jumper
05b0a09a8a Fixed memory leak in guac_instruction_free() 2011-12-21 01:35:16 -08:00
Michael Jumper
81bea52e4d Reset position in buffer each reparse (otherwise, stream will be read corrupt as parser is in wrong state). 2011-11-27 23:38:38 -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
2d02a0f3bd Removed guac_instruction_free_data() 2011-11-26 20:10:52 -08:00
Michael Jumper
61579bd9b7 Fix library name generation, fix instruction parsing. 2011-11-26 00:28:43 -08:00
Michael Jumper
7bca78c7a8 Reject invalid instructions. 2011-11-25 23:48:45 -08:00
Michael Jumper
24a2ad6d12 Renamed io to socket (in vars) 2011-11-25 16:34:43 -08:00
Michael Jumper
8cffca4f13 Removed guac_sleep 2011-11-25 13:20:41 -08:00