]> git.proxmox.com Git - mirror_novnc.git/commit - vnc_auto.html
API changes/cleanup.
authorJoel Martin <github@martintribe.org>
Wed, 11 May 2011 20:55:44 +0000 (15:55 -0500)
committerJoel Martin <github@martintribe.org>
Wed, 11 May 2011 20:55:44 +0000 (15:55 -0500)
commitd890e8640f20fba3215ba7be8e0ff145aeb8c17c
tree3d173af75b5939caafaebbe209d32bff6b6221ed
parent2fb665ec9464c4ee388c609161c02a8e98a4ba4a
API changes/cleanup.

API changes:
    - include/canvas.js renamed to include/display.js
    - Display.rescale() method removed from API. Use Display.set_scale() instead.
    - Make logo configuration attribute of Display and display it when
      clear() is called if it is set.

API deprecations:
    - use RFB onUpdateState instead of updateState.
    - use RFB onClipboard instead of clipboardReceive.

See https://github.com/kanaka/noVNC/wiki/ModuleAPI for detailed noVNC
modules and API description.

Expand and normalize the event/callback interfaces. Standize on
"onEventName" form for callbacks.

    Callback Renames:
        - RFB updateState -> onUpdateState
        - RFB clipboardReceive -> onClipboard
        - Keyboard keyPress -> onKeyPress
        - Mouse mouseButton -> onMouseButton
        - Mouse mouseMove -> onMouseMove

    Callback Additions:
        - RFB onPasswordRequired
        - RFB onBell
        - RFB onFBUReceive
        - RFB onFBUComplete

Other:
- Add array type support to Util.conf_default()
- Removed a bunch of routines from the Display API that were just used
  internally and not actually by noVNC: flush, setFillColor,
  imageDataGet, imageDataCreate, rgbxImageData, rgbxImageFill,
  cmapImageData, cmapImageFill.
- More keyboard/mouse logging when debug turned on.
- Some JSLinting
include/base64.js
include/canvas.js [deleted file]
include/display.js [new file with mode: 0644]
include/input.js
include/rfb.js
include/ui.js
include/util.js
include/vnc.js
include/websock.js
vnc_auto.html