1. 04 May, 2015 2 commits
  2. 29 Apr, 2015 1 commit
  3. 07 Apr, 2015 1 commit
  4. 27 Mar, 2015 2 commits
  5. 26 Mar, 2015 3 commits
    • Solly Ross's avatar
      Throw exceptions from RFB constructor · d9fc1c7b
      Solly Ross authored
      Previously, if an error was thrown from the Display constructor
      in the RFB constructor, we would attempt to use `RFB#updateState`
      to handle this.  However, `RFB#updateState` attempts to close
      the WebSocket connection, which doesn't exist at this point.
      
      In the constructor, it's probably just better to raise an exception
      instead (making sure to clean up anything relevant).
      
      Fixes #460
      d9fc1c7b
    • Solly Ross's avatar
      Create RFB object on connect · 58ded70d
      Solly Ross authored
      In e543525f, we switched to creating
      a new RFB object on disconnect.  This caused issues, however, since
      any errors were only displayed briefly before the new "loaded" text
      was displayed instead.
      
      Now, we create the RFB object on connect.  This essentially removes
      the usefulness of the "loaded" state, but prevents the aforementioned
      problem.
      
      To facilitate this, the code which does detection of cursor URI support
      was moved from this Display constructor (which now calls the new
      function) into its own function, `Util.browserSupportsCursorURIs()`.
      
      Fixes #467
      58ded70d
    • Solly Ross's avatar
      Follow symbolic links in launch.sh · 2ace90e6
      Solly Ross authored
      Previously, in launch.sh, `$HERE` was the directory of `$0`.
      However, if `$0` was actually a symlink, `$HERE` would be
      wherever the symlink was, which could cause issues (for
      example, the script wouldn't be able to local `$WEB` or
      `$WEBSOCKIFY` properly).
      
      Now, `$HERE` looks at whatever `$0` points at instead.
      
      Closes #447.
      2ace90e6
  6. 11 Mar, 2015 1 commit
  7. 10 Mar, 2015 1 commit
  8. 09 Mar, 2015 1 commit
    • samhed's avatar
      * Don't check specific html elements from the display code (Fixes #446) · fdedbafb
      samhed authored
      * Renamed and reworked fbuClip to clippingDisplay
      * Added tests for clippingDisplay
      * Use the a noVNC_container which covers the entire page to get the full size
        (Fixes #463)
      * Added maxWidth and maxHeight to the canvas which can limit the viewport size
      * Only show either the canvas or the logo, hide one when the other is shown
      * Always center the canvas (previously it was only centered when not clipping)
      * Removed iOS specific "position-fixed" fixes and start calling setBarPosition
        on every resize
      * Removed the noVNC_screen_pad
      fdedbafb
  9. 05 Mar, 2015 3 commits
  10. 03 Mar, 2015 1 commit
    • Solly Ross's avatar
      Support local scaling · 72747869
      Solly Ross authored
      This commit adds two new addition scaling options.  Both options do
      local scaling.  The first "Local Scaling", does both upscaling and
      downscaling.  The second option, "Local Downscaling", only downscales.
      
      This is based on work by @mightypenguin (with an additional bug
      reported by @glazik12).
      72747869
  11. 27 Feb, 2015 6 commits
  12. 26 Feb, 2015 1 commit
  13. 25 Feb, 2015 1 commit
    • Solly Ross's avatar
      Fix disconnect/reconnect issues · e543525f
      Solly Ross authored
      Commit 155d78b3 prevented reconnections
      from working properly.  This fixes that by creating a new RFB object
      after disconnecting or failing.
      
      Furthermore, this ensures that a new connection cannot be opened util
      we've actually disconnected (either by timer or by receiving a `close`
      event).
      
      Closes #452
      e543525f
  14. 20 Feb, 2015 1 commit
    • Solly Ross's avatar
      Remove 'debian' directory · 2ec29db7
      Solly Ross authored
      This commit removes the old debian packaging information, which is
      out of date.  People who wish to create Debain packages for noVNC
      are better off using the package information from the actual Debian
      or Ubuntu packages.
      
      Closes #453
      2ec29db7
  15. 18 Feb, 2015 1 commit
  16. 17 Feb, 2015 6 commits
  17. 16 Feb, 2015 2 commits
    • Solly Ross's avatar
      Update package.json to specify version 0.5.1 · 4e534a80
      Solly Ross authored
      The current noVNC release is 0.5.1, but package.json still
      says version 0.5.0.  This fixes that.
      
      Fixes #441
      4e534a80
    • Solly Ross's avatar
      Remove local copies of websockify · 6f514864
      Solly Ross authored
      This commit removes local copies of websockify.
      Instead `utils/launch.sh` performs the following logic:
      
      If `utils/websockify` exists, use `utils/websockify/run` (if the latter
      does not exist, or is not executable, fail, since this is probably a
      mistake).
      
      Otherwise, check to see if websockify is installed somewhere (try
      `which websockify`).  If it is, use that.  Otherwise, clone
      websockify from github, and tell git to ignore that directory.
      
      Packaged versions of noVNC should simply list websockify as a
      requirement.  The debian packaging has been updated to reflect
      this.
      
      Closes #433
      6f514864
  18. 10 Feb, 2015 3 commits
    • Solly's avatar
      Merge pull request #444 from samhed/extdesktop · f675e03c
      Solly authored
      Support ExtendedDesktopSize and SetDesktopSize
      f675e03c
    • samhed's avatar
      Support automatic resize [Part 4/4]: unit tests · 4dec490a
      samhed authored
      * Added new tests for the setDesktopSize encoding
      * Added new tests for the ExtendedDesktopSize encoding
      4dec490a
    • samhed's avatar
      Support automatic resize [Part 3/4]: ui.js · f8b399d7
      samhed authored
      * Added a resize request (setDesktopSize) triggered when connecting and by
        changes to the browser window's size.
      * Hid the view-drag-hand when the display area is the same or smaller than the
        remote session size.
      * Added a setting for the automatic resize feature.
      * Updated vnc.html and vnc_auto.html to reflect the changes to the UI.
      f8b399d7
  19. 07 Feb, 2015 1 commit
  20. 06 Feb, 2015 2 commits