1. 24 Aug, 2011 1 commit
    • Joel Martin's avatar
      websockify: pull HyBi fixes. · 48f26d79
      Joel Martin authored
      Pull 86af0b614d and 7b496ce5b from websockify.
      
          Fix HyBi support on 64-bit systems.
      
          https://github.com/kanaka/noVNC/issues/76
      
          - cleanup/update TODO.
          - remove explicit check for ctypes module for HyBi.
      
          Clarify that we support HyBi 07-10.
      
          HyBi 07 reports version 7 in the handshake.
          HyBi 08-10 report version 8 in the handshake.
      
          Remove version 9 since that is not yet actually defined.
      48f26d79
  2. 22 Aug, 2011 1 commit
    • Joel Martin's avatar
      Working viewport test. · ec40268e
      Joel Martin authored
      Tested on iOS (iPhone and iPad).
      
      The viewport is correctly clipped to the screen/browser size and
      resizing works correctly.
      
      This uses the CSS3 Flexible Box Layout model.
      ec40268e
  3. 10 Aug, 2011 1 commit
  4. 04 Aug, 2011 1 commit
  5. 03 Aug, 2011 1 commit
    • Joel Martin's avatar
      Add a viewport example/test. · 4245363c
      Joel Martin authored
      Tested with an iPad 2.
      
      This example shows a 400x200 viewport of an 800x400 display.
      
      It tries to be intelligent about how much it redraws. It copies what
      it can, and then when the user releases the mouse, it redraws the
      "dirty" areas that were newly revealed.
      4245363c
  6. 02 Aug, 2011 1 commit
  7. 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
  8. 14 Jul, 2011 1 commit
  9. 13 Jul, 2011 2 commits
  10. 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
  11. 07 Jul, 2011 2 commits
  12. 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
  13. 01 Jul, 2011 1 commit
  14. 28 Jun, 2011 3 commits
  15. 27 Jun, 2011 2 commits
  16. 26 Jun, 2011 5 commits
  17. 13 Jun, 2011 3 commits
  18. 19 May, 2011 2 commits
  19. 12 May, 2011 2 commits
  20. 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
  21. 09 May, 2011 2 commits
  22. 29 Apr, 2011 2 commits
  23. 24 Apr, 2011 2 commits