1. 02 Aug, 2011 1 commit
  2. 24 Jul, 2011 1 commit
    • Joel Martin's avatar
      Touch events and mouse button selectors. · ad3f7624
      Joel Martin authored
      First crack at supporting touch screen for devices like Android and
      iOS tablets. Part of https://github.com/kanaka/noVNC/issues/48.
      
      This change detects touch screen support and uses the touchstart,
      touchmove, touchend events in place of the normal mouse events.
      
      In order to support middle and right mouse clicks, if the device is
      a touch device, then three toggle buttons are added to the UI
      representing the left, middle and right mouse buttons. These select
      which mouse button will be sent when the screen is touched. All the
      buttons can be toggled off, in which case then the touch events only
      move the mouse cursor rather than sending a mouse down and mouse up
      for touchstart and touchend events respectively. This allows fairly
      full control with the mouse on touch screens.
      ad3f7624
  3. 14 Jul, 2011 1 commit
  4. 13 Jul, 2011 2 commits
  5. 09 Jul, 2011 1 commit
    • Joel Martin's avatar
      Pull websockify socket() static method. · 4f8c7465
      Joel Martin authored
      Pull websockify 46e2fbe.
      
      WebSocketServer.socket() is a static method takes a host and port and
      an optional connect parameter. If connect is not set then it returns
      a socket listening on host and port. If connect is set then
      a connection will be made host and port and the socket returned. This
      has IPv6 support like the addrinfo method it replaces.
      
      Also, prefer IPv4 resolutions if they are in the list. This can be
      overriden to prefer IPv6 resolutions for the same host using the
      optional prefer_ipv6 parameter.
      4f8c7465
  6. 07 Jul, 2011 2 commits
  7. 06 Jul, 2011 1 commit
    • Joel Martin's avatar
      Fix ordering of tightPNG fills. · a4ff1f57
      Joel Martin authored
      This addresses issue #65:
      https://github.com/kanaka/noVNC/issues/65
      
      When tightPNG encoded rects were received, any fill types were
      immediately drawn to the canvas while images (PNG, JPEGs) were queued
      for loading. This can cause screen corruption when things are changing
      rapidly due to the misordering of fills vs images.
      
      Also, remove the onload setting in each image on the queue and instead
      decrease the tight image queue scanning interval (to 40ms or 25
      scans per second).
      a4ff1f57
  8. 01 Jul, 2011 1 commit
  9. 28 Jun, 2011 3 commits
  10. 27 Jun, 2011 2 commits
  11. 26 Jun, 2011 5 commits
  12. 13 Jun, 2011 3 commits
  13. 19 May, 2011 2 commits
  14. 12 May, 2011 2 commits
  15. 11 May, 2011 2 commits
    • Joel Martin's avatar
      Refactor configuration attributes. · 5210330a
      Joel Martin authored
      - Add conf_defaults which accepts an array of configuration
        attributes.
      - Split out user configuration defaults from the actual configuration
        object.
      - Add mode field and enforce read-only, write-once, read-write modes.
      5210330a
    • Joel Martin's avatar
      API changes/cleanup. · d890e864
      Joel Martin authored
      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
      d890e864
  16. 09 May, 2011 2 commits
  17. 29 Apr, 2011 2 commits
  18. 24 Apr, 2011 3 commits
  19. 21 Apr, 2011 1 commit
  20. 19 Apr, 2011 1 commit
  21. 15 Apr, 2011 2 commits