Commit Graph

6 Commits

Author SHA1 Message Date
primalmotion 9fc59562a1 * removing use strict
* apply kanaka's patch for letting other events to have a chance to run when RFB is heavy loaded
2010-07-29 13:52:56 +02:00
primalmotion eb7b25ae17 Merge remote branch 'upstream/master' 2010-07-24 11:23:40 +02:00
primalmotion edd9a72c0e * adding customizable default size
* Removing useless test.
* Ready to merge upstream
2010-07-24 11:18:22 +02:00
Joel Martin 42b2246c1a Issue #15: noVNC falls behind.
noVNC was never processing more than one framebufferUpdate message per
onmessage event. If noVNC receives an incomplete framebufferUpdate and
then receives the rest of the framebufferUpdate plus another complete
framebufferUpdate, then it will fall permanently behind.

If there is more to process after a completed framebufferUpdate, then
execute normal_msg again.

All the render routines must return false if there is not enough data
in the receive queue to process their current update, and true
otherwise.
2010-07-23 11:46:41 -05:00
primalmotion 9046dbf244 * add a method to invalidate all timers if necessary (usefull for Cappuccino dynamic loading of DOM object) 2010-07-22 23:53:57 +02:00
Joel Martin a7a8962676 JSLint. RFB obj to rfb.js; vnc.js the 'loader'.
Move the whole RFB object to rfb.js. vnc.js is now just the loader
file. This allows an integrating project to easily replace vnc.js with
an alternate loader mechanism (or just do it directly in the html
file). Thanks for the idea primalmotion (http://github.com/primalmotion).

Also, JSLint the various files.
2010-07-22 10:54:47 -05:00