1. 25 Jun, 2015 7 commits
  2. 24 Jun, 2015 1 commit
  3. 16 Jun, 2015 1 commit
  4. 19 May, 2015 2 commits
  5. 04 May, 2015 1 commit
  6. 29 Apr, 2015 1 commit
  7. 26 Mar, 2015 2 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
  8. 11 Mar, 2015 1 commit
  9. 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
  10. 05 Mar, 2015 2 commits
  11. 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
  12. 27 Feb, 2015 2 commits
  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. 10 Feb, 2015 1 commit
    • 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
  15. 06 Feb, 2015 3 commits
  16. 03 Feb, 2015 1 commit
  17. 26 Jan, 2015 1 commit
  18. 15 Jan, 2015 1 commit
  19. 08 Jan, 2015 1 commit
  20. 26 Nov, 2014 2 commits
  21. 23 Nov, 2014 1 commit
  22. 18 Nov, 2014 1 commit
    • Ramon de Klein's avatar
      Don't draw "blank" HEXTILE tiles with random data · 40ac6f0a
      Ramon de Klein authored
      Previously, if a HEXTILE tiles was received with a subencoding
      of 0x00, it would draw a rectangle using data from the render
      queue, which would result in random colored blocks when using
      the HEXTILE encoding.  This is the result of a miscopy during
      the refactoring.  It now has the correct functionality according
      to the RFB protocol specification, which is to draw a rectangle
      with the last set background color.
      
      Closes #411
      40ac6f0a
  23. 13 Nov, 2014 1 commit
  24. 11 Nov, 2014 1 commit
  25. 29 Oct, 2014 1 commit
  26. 01 Oct, 2014 1 commit
  27. 23 Sep, 2014 1 commit
    • Solly Ross's avatar
      Make Utils.js use Object.define to modify Array · f9fd0313
      Solly Ross authored
      Previously, we were modifying Array's prototype using
      simple assignment.  This can mess with enumeration/iteration.
      Thus, we now use Object.defineProperty with enumerable set to
      false.
      
      See #366
      f9fd0313