- 24 Sep, 2010 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
- 08 Sep, 2010 1 commit
-
-
Joel Martin authored
-
- 02 Aug, 2010 1 commit
-
-
Joel Martin authored
New API: To use the RFB object, you now must instantiate it (this allows more than one instance of it on the same page). rfb = new RFB(settings); The 'settings' variable is a namespace that contains initial default settings. These can also be set and read using 'rfb.set_FOO()' and 'rfb.get_FOO()' where FOO is the setting name. The current settings are (and defaults) are: - target: the DOM Canvas element to use ('VNC_canvas'). - encrypt: whether to encrypt the connection (false) - true_color: true_color or palette (true) - b64encode: base64 encode the WebSockets data (true) - local_cursor: use local cursor rendering (true if supported) - connectTimeout: milliseconds to wait for connect (2000) - updateState: callback when RFB state changes (none) - clipboardReceive: callback when clipboard data received (none) The parameters to the updateState callback have also changed. The function spec is now updateState(rfb, state, oldstate, msg): - rfb: the RFB object that this state change is for. - state: the new state - oldstate: the previous state - msg: a message associate with the state (not always set). The clipboardReceive spec is clipboardReceive(rfb, text): - rfb: the RFB object that this text is from. - text: the clipboard text received. Changes: - The RFB and Canvas namespaces are now more proper objects. Private implementation is no longer exposed and the public API has been made explicit. Also, instantiation allows more than one VNC connection on the same page (to complete this, DefaultControls will also need this same refactoring). - Added 'none' logging level. - Removed automatic stylesheet selection workaround in util.js and move it to defaultcontrols so that it doesn't interfere with intergration. - Also, some major JSLinting. - Fix input, canvas, and cursor tests to work with new model.
-
- 26 Jul, 2010 1 commit
-
-
Joel Martin authored
-
- 23 Jul, 2010 3 commits
-
-
Joel Martin authored
It points to the include sub-directory, not to the directory above.
-
Joel Martin authored
-
Joel Martin authored
-
- 20 Jul, 2010 1 commit
-
-
Joel Martin authored
To change the appearance of the cursor, we use the CSS cursor style and set the url to a data URI scheme. The image data sent via the cursor pseudo-encoding has to be encoded to a CUR format file before being used in the data URI. During Canvas initialization we try and set a simple cursor to see if the browser has support. Opera is missing support for data URI scheme in cursor URLs. Disabled for now until we have a better way of specifying settings overall (too many settings for control bar now).
-
- 16 Jul, 2010 3 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
- 13 Jul, 2010 1 commit
-
-
Joel Martin authored
- Change tightpng encoding number to -260 (aliguori provided it until an official number can be allocated).
-
- 09 Jul, 2010 4 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
- 07 Jul, 2010 1 commit
-
-
Joel Martin authored
-
- 06 Jul, 2010 1 commit
-
-
Joel Martin authored
-
- 02 Jul, 2010 6 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
- 01 Jul, 2010 3 commits
-
-
Joel Martin authored
-
Joel Martin authored
Brings it up to date with the most recent web-socket-js event handling fixes.
-
Joel Martin authored
Instead of relying on FABridge AS -> JS event delivery, we just use the events to notify JS of pending data. The message handler then calls the AS readSocketData routine which sends back an array of the pending WebSocket frames. There is still a minor bug somewhere that happens after the first connect where the web-socket-js throws an "INVALID_STATE_ERR: Web Socket connection has not been established". But, Opera is now usable and we should be able to drop the packet sequence numbering and re-ordering code. Another minor issue to better support Opera is to move JS script includes to the <head> of the page instead of after the body.
-
- 23 Jun, 2010 1 commit
-
-
Joel Martin authored
Now working under Arora 0.5. But not Konqueror 4.2.2 (WebSockets never connects). IE support with excanvas still pending.
-
- 21 Jun, 2010 1 commit
-
-
Joel Martin authored
-
- 17 Jun, 2010 1 commit
-
-
Joel Martin authored
-
- 16 Jun, 2010 1 commit
-
-
Joel Martin authored
This allows forwarding from an external port to the same port on localhost (loopback). I.e. ./utils/wsproxy `hostname -f`:5901 localhost:5901
-
- 14 Jun, 2010 2 commits
-
-
Joel Martin authored
Also, allow 'include/' to be overridden in VNC_uri_prefix.
-
Joel Martin authored
-
- 07 Jun, 2010 1 commit
-
-
Joel Martin authored
-
- 03 Jun, 2010 1 commit
-
-
Joel Martin authored
-
- 02 Jun, 2010 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
- 17 May, 2010 1 commit
-
-
Joel Martin authored
-
- 15 May, 2010 1 commit
-
-
Joel Martin authored
Fixes: - Make sure that failed state messages stay around until next connect. - Get status message font colors working. - Clear RQ_reorder list on re-connect.
-