]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
7 years agoMerge pull request #640 from nunojusto/patch-1
Joel Martin [Tue, 16 Aug 2016 22:34:38 +0000 (17:34 -0500)]
Merge pull request #640 from nunojusto/patch-1

Update launch.sh

7 years agoUpdate launch.sh
nunojusto [Tue, 16 Aug 2016 21:10:14 +0000 (22:10 +0100)]
Update launch.sh

Just a correction of port in use test algoritm.
This way we will not have problems when using port X and having some other service using zyX or any *X port

7 years agoRelease 0.6.1
Solly Ross [Mon, 4 Jul 2016 19:29:00 +0000 (15:29 -0400)]
Release 0.6.1

Fixes version number mismatch (also adds more detailed instructions
for releasing).

Fixes #628

7 years agoRelease 0.6.0
Solly Ross [Fri, 1 Jul 2016 18:16:09 +0000 (14:16 -0400)]
Release 0.6.0

This bumps the release version to 0.6.0

7 years agoFix missing mistyped setTimeout handler in UI
Solly Ross [Fri, 1 Jul 2016 18:50:30 +0000 (14:50 -0400)]
Fix missing mistyped setTimeout handler in UI

This commit fixes a mistyped setTimeout handler that would result
in the desired function not getting called (due to a missing set
of parentheses).  It also removes some uncessary anonymous functions,
and just passes the function objects directly to setTimeout.

7 years agoClarify that utils/launch.sh is MPL-2.0
Joel Martin [Mon, 13 Jun 2016 15:22:43 +0000 (10:22 -0500)]
Clarify that utils/launch.sh is MPL-2.0

Also, note in the top-level license file that the default noVNC
license for files that are not explicitly marked or mentioned in
the LICENSE.txt file are by default MPL-2.0 licensed.

7 years agoProper error handling for tight filters
samhed [Fri, 10 Jun 2016 15:15:42 +0000 (17:15 +0200)]
Proper error handling for tight filters

Don't throw an exception when we encounter an unsupported tight
subencoding.

7 years agoUpdate vnc_auto after the screen namechange
samhed [Wed, 8 Jun 2016 14:02:37 +0000 (16:02 +0200)]
Update vnc_auto after the screen namechange

Commit 553864e85813f886b9c60b4825c8d4b714cae695 changed the name of
noVNC_screen to noVNC_container, vnc_auto.html was not updated
accordingly. Fixes #621

7 years agoMerge branch 'ui-cleanup' of https://github.com/kanaka/noVNC
samhed [Fri, 3 Jun 2016 08:46:05 +0000 (10:46 +0200)]
Merge branch 'ui-cleanup' of https://github.com/kanaka/noVNC

7 years agoSplit the setDesktopSize function (#618)
Samuel [Thu, 2 Jun 2016 20:37:52 +0000 (22:37 +0200)]
Split the setDesktopSize function (#618)

In order to follow the surrounding coding-standards, the
setDesktopSize client message is split from the public function which
now is called requestDesktopSize().

7 years agoConsistent closing tags for void elements
Samuel Mannehed [Fri, 27 May 2016 07:36:00 +0000 (09:36 +0200)]
Consistent closing tags for void elements

7 years agoUse a consistent naming convention for elements
Samuel Mannehed [Thu, 26 May 2016 21:15:39 +0000 (23:15 +0200)]
Use a consistent naming convention for elements

* Element names we use "_" as word-delimiter, not "-"
* Element names use less camel-case
* Element names end with the type
* Element names always start with noVNC_

7 years agoChange the names of settings-elements
Samuel Mannehed [Sat, 30 Apr 2016 02:35:19 +0000 (04:35 +0200)]
Change the names of settings-elements

This change was made in order to make it easier to distinguish
settings-elements from other elements. One example of the problem
that was solved is the two elements "noVNC_clip" and
"noVNC_clipboard" where the first is the setting for clipping mode.
That element was now renamed to "noVNC_setting_clip".

7 years agoTimeouts should always use anonymous functions
samhed [Tue, 26 Apr 2016 22:41:16 +0000 (00:41 +0200)]
Timeouts should always use anonymous functions

While you CAN pass functions in strings, it is not the correct way
of doing it. The browsers are just being nice.

7 years agoChange name of clipboard functions
samhed [Tue, 26 Apr 2016 22:31:50 +0000 (00:31 +0200)]
Change name of clipboard functions

There were a high risk of confusion between clipboard functions and
clipping functions.

8 years agoGroup together related functions and add dividers
samhed [Tue, 26 Apr 2016 22:29:25 +0000 (00:29 +0200)]
Group together related functions and add dividers

Dividers between the different parts of the UI has been added in
order to easier get an overview.

8 years agoSend the xvp keys from anonymous functions
samhed [Tue, 26 Apr 2016 21:59:44 +0000 (23:59 +0200)]
Send the xvp keys from anonymous functions

8 years agoRenamed and moved keyboard and mouse functions
samhed [Tue, 26 Apr 2016 21:41:58 +0000 (23:41 +0200)]
Renamed and moved keyboard and mouse functions

8 years agoRenamed and moved updateXvpButton
samhed [Tue, 26 Apr 2016 21:29:15 +0000 (23:29 +0200)]
Renamed and moved updateXvpButton

8 years agoMove the connect and disconnect functions
samhed [Tue, 26 Apr 2016 21:26:13 +0000 (23:26 +0200)]
Move the connect and disconnect functions

8 years agoClarify comments and variable names for viewDrag
samhed [Tue, 26 Apr 2016 21:21:32 +0000 (23:21 +0200)]
Clarify comments and variable names for viewDrag

8 years agoRenamed showExtraKeys to toggleExtraKeys
samhed [Tue, 26 Apr 2016 17:13:35 +0000 (19:13 +0200)]
Renamed showExtraKeys to toggleExtraKeys

8 years agoMoved and split the popupStatus function
samhed [Tue, 26 Apr 2016 17:04:32 +0000 (19:04 +0200)]
Moved and split the popupStatus function

Now if popupStatus is called twice it will refresh the duration of
the popup. If you want to wait 1.5 seconds and close the popup you
can click the popup itself.

8 years agoMoved and changed order of the setting-functions
samhed [Tue, 26 Apr 2016 16:47:55 +0000 (18:47 +0200)]
Moved and changed order of the setting-functions

8 years agoRemove whitespace from function definitions
samhed [Tue, 26 Apr 2016 16:42:10 +0000 (18:42 +0200)]
Remove whitespace from function definitions

8 years agoMoved UpdateState and UpdateVisualState
samhed [Tue, 26 Apr 2016 16:40:13 +0000 (18:40 +0200)]
Moved UpdateState and UpdateVisualState

8 years agoCleanup for the resize related functions
samhed [Tue, 26 Apr 2016 16:01:15 +0000 (18:01 +0200)]
Cleanup for the resize related functions

Renamed functions, added clarifying comments and moved the resize
related functions closer to the other viewport functions.

8 years agoSwitch names between the container and the screen
samhed [Tue, 26 Apr 2016 15:27:17 +0000 (17:27 +0200)]
Switch names between the container and the screen

The noVNC_container now contains the logo and the screen. While the
noVNC_screen in turn contains the canvas.

8 years agoAdd fallback value for devicePixelRatio
samhed [Thu, 12 May 2016 14:43:19 +0000 (16:43 +0200)]
Add fallback value for devicePixelRatio

In IE 10 for example, devicePixelRatio doesn't exist which caused the
code to fail by setting the thresholds to zero.

8 years agoAdd missing parenthesis (#600)
Samuel Mannehed [Sat, 30 Apr 2016 02:26:30 +0000 (04:26 +0200)]
Add missing parenthesis (#600)

8 years agoRespect the threshold in the viewdrag test (#600)
Samuel Mannehed [Sat, 30 Apr 2016 02:07:33 +0000 (04:07 +0200)]
Respect the threshold in the viewdrag test (#600)

8 years agoMerge branch 'SirCmpwn-fix-send-on-disconnect'
Samuel Mannehed [Sat, 30 Apr 2016 00:33:06 +0000 (02:33 +0200)]
Merge branch 'SirCmpwn-fix-send-on-disconnect'

Updated patch to use the readyState constant even in the tests.

8 years agoFix failing test
Drew DeVault [Thu, 30 Jul 2015 14:32:25 +0000 (10:32 -0400)]
Fix failing test

It only makes sense to send data on a websocket if the readyState is
equal to 1.

8 years agoFix occasional error with sending while readyState !== 1
Drew DeVault [Thu, 30 Jul 2015 14:13:35 +0000 (10:13 -0400)]
Fix occasional error with sending while readyState !== 1

Under certain conditions, noVNC would attempt to flush the web socket
while it was disconnected, before the disconnected state was picked up.
This casues noVNC to crash ungracefully and the parent window is not
notified - leading to no chance at recovery without a page refresh.

8 years agoAdd a threshold for viewport dragging (#600)
samhed [Thu, 28 Apr 2016 15:41:48 +0000 (17:41 +0200)]
Add a threshold for viewport dragging (#600)

8 years agoAdds tap-to-click in viewport drag mode (#600)
Jonathan Bennett [Thu, 28 Apr 2016 11:46:40 +0000 (06:46 -0500)]
Adds tap-to-click in viewport drag mode (#600)

8 years agoForce clipping mode in Safari on all platforms
samhed [Mon, 25 Apr 2016 14:38:23 +0000 (16:38 +0200)]
Force clipping mode in Safari on all platforms

8 years agoRe-arrange global UI variables
samhed [Mon, 25 Apr 2016 14:35:49 +0000 (16:35 +0200)]
Re-arrange global UI variables

8 years agoMerge pull request #602 from oneru/typo-fix
Solly Ross [Wed, 13 Apr 2016 19:02:48 +0000 (15:02 -0400)]
Merge pull request #602 from oneru/typo-fix

Adds missed line from PR 597

8 years agoAdds missed line from PR 597
Jonathan Bennett [Wed, 13 Apr 2016 17:53:37 +0000 (12:53 -0500)]
Adds missed line from PR 597

8 years agoMerge pull request #597 from oneru/master
Solly Ross [Tue, 12 Apr 2016 21:32:43 +0000 (17:32 -0400)]
Merge pull request #597 from oneru/master

Handle missing leading slash in elem.pathname

8 years agoHandle missing leading slash in elem.pathname
Jonathan Bennett [Mon, 11 Apr 2016 18:01:28 +0000 (13:01 -0500)]
Handle missing leading slash in elem.pathname

IE11 with compat mode turned off has been observed displaying this behavior.  This commit checks for and corrects this broken behavior.

Fixes #591

8 years agoMerge pull request #582 from kanaka/bug/render-queue-corruption
Solly Ross [Wed, 24 Feb 2016 21:52:55 +0000 (16:52 -0500)]
Merge pull request #582 from kanaka/bug/render-queue-corruption

Make sure to copy arrays when using render queue

8 years agoMake sure to copy arrays when using render queue
Solly Ross [Wed, 24 Feb 2016 20:59:58 +0000 (15:59 -0500)]
Make sure to copy arrays when using render queue

This commit ensures that input arrays are copied to new storage when
they are pushed onto the render queue.  This ensures that they are
not overwritten before they are eventually used.

Fixes #571

8 years agoMerge pull request #568 from kanaka/refactor/remove-refs-to-jsunzip
Solly Ross [Wed, 6 Jan 2016 21:01:50 +0000 (16:01 -0500)]
Merge pull request #568 from kanaka/refactor/remove-refs-to-jsunzip

Cleanup/fixup unused code

Remove jsunzip, remove unused vars, fix vnc_perf.html

8 years agoMerge branch 'feature/token-in-url'
Solly Ross [Wed, 6 Jan 2016 20:57:04 +0000 (15:57 -0500)]
Merge branch 'feature/token-in-url'

Injects token into the path element if it's passed to
the noVNC page.

Closes #537
Fixes #536

8 years agoPass token into the path variable
Miguel Xavier Penha Neto [Thu, 1 Oct 2015 20:26:44 +0000 (17:26 -0300)]
Pass token into the path variable

If a token is already present in the path, the new variable
is ignored.  In order to properly manipulate the path,
a new method, `WebUtil.injectParamIfMissing` was introduced.

Fixes #536

[@directxman12: fix up path manipulation logic]

8 years agoMerge pull request #547 from pigshell/hashargs
Solly Ross [Wed, 6 Jan 2016 19:22:24 +0000 (14:22 -0500)]
Merge pull request #547 from pigshell/hashargs

Add hash fragment as an optional method to supply config variables.

Closes #544

8 years agoFixed vnc_perf.html
Solly Ross [Wed, 6 Jan 2016 18:26:26 +0000 (13:26 -0500)]
Fixed vnc_perf.html

This commit updates vnc_perf.html so that it works with the current
version of noVNC.  It also introduces a utility to convert noVNC session
recordings recorded in base64-mode to binary-mode recordings, since noVNC
no longer supports base64-mode.

Fixes #479.

8 years agoRemove unused variables in the TIGHT server init
Solly Ross [Wed, 6 Jan 2016 16:18:47 +0000 (11:18 -0500)]
Remove unused variables in the TIGHT server init

This commit removes some unused variables in the TIGHT server init
section of the server init handler, replacing them with documenting
comments and calls to rQskipBytes.

Fixes #440.

8 years agoRemove remaining references to jsunzip.js
Solly Ross [Wed, 6 Jan 2016 16:09:34 +0000 (11:09 -0500)]
Remove remaining references to jsunzip.js

This commit removes remaining references to jsunzip.js,
which is no longer actually used in noVNC.

Closes #436.

8 years agoMerge pull request #565 from kanaka/bug/dynamic-rq-resize
Solly Ross [Tue, 5 Jan 2016 19:28:01 +0000 (14:28 -0500)]
Merge pull request #565 from kanaka/bug/dynamic-rq-resize

Resize Receive Queue to Fit Incoming Messages

8 years agoOn-Demand Dynamic Receive Queue Resizing
Solly Ross [Fri, 4 Dec 2015 02:30:47 +0000 (21:30 -0500)]
On-Demand Dynamic Receive Queue Resizing

This commit causes the receive queue to dynamically
resize to fit incoming messages.

Fixes #557

8 years agoDisable copyWithin Use in Websock.js
Solly Ross [Tue, 22 Dec 2015 18:51:30 +0000 (13:51 -0500)]
Disable copyWithin Use in Websock.js

the `copyWithin` function of typed arrays has performance issues
in some versions of Chromium, and doesn't doesn't have enough
of a performance impact to justify leaving it enabled.

8 years agoMerge pull request #555 from maditnerd/patch-1
Joel Martin [Tue, 24 Nov 2015 03:32:31 +0000 (22:32 -0500)]
Merge pull request #555 from maditnerd/patch-1

Small typo in launch.sh

8 years agoSmall typo in launch.sh
Sarrailh Rémi [Mon, 23 Nov 2015 12:08:05 +0000 (13:08 +0100)]
Small typo in launch.sh

8 years agoAdd hash fragment as an optional method to supply config variables.
Ganesh Varadarajan [Thu, 22 Oct 2015 14:27:07 +0000 (19:57 +0530)]
Add hash fragment as an optional method to supply config variables.

Any config variable like host, port, password, token may be
specified either in the query string (like now), or in the URL hash
fragment. In case a given variable is present in both, the value in the
fragment takes precedence. Supplying variables in the fragment avoids
leaking them to the web server hosting the noVNC viewer HTML.

8 years agoMerge pull request #543 from DvdGiessen/fix/vnc_sendpassword_auth
Solly [Fri, 16 Oct 2015 15:08:04 +0000 (11:08 -0400)]
Merge pull request #543 from DvdGiessen/fix/vnc_sendpassword_auth

Fixes VNC standard auth using onPasswordRequired callback

8 years agoAdded return to correctly wait for password input before proceeding. Fixes #542
Daniël van de Giessen [Fri, 16 Oct 2015 14:38:35 +0000 (16:38 +0200)]
Added return to correctly wait for password input before proceeding. Fixes #542

8 years agoMerge pull request #532 from kanaka/bug/pako-issue
Solly [Wed, 23 Sep 2015 15:29:43 +0000 (11:29 -0400)]
Merge pull request #532 from kanaka/bug/pako-issue

Make sure Pako always has enough room

8 years agoMake sure Pako always has enough room
Solly Ross [Tue, 22 Sep 2015 20:19:52 +0000 (16:19 -0400)]
Make sure Pako always has enough room

Previously, we used a fixed chunkSize of 100KiB for Pako's output
buffer.  Using a hardcoded size caused issues, since Pako would assume
we wanted to use multiple chunks, and we didn't deal with this.  Now,
`Inflator#inflate()` takes a new `expected` argument, which indicates
the expected output size.  If this is bigger than the current chunkSize,
Inflator allocates a new output buffer that's big enough to hold the
output.

Fixes #531

8 years agoMoved resizeTimout to the UI object, no reason to have it outside anymore..
samhed [Tue, 22 Sep 2015 12:59:44 +0000 (14:59 +0200)]
Moved resizeTimout to the UI object, no reason to have it outside anymore..

8 years agoMerge pull request #524 from kanaka/bug/tight-buffer-overread
Solly [Thu, 27 Aug 2015 22:46:26 +0000 (18:46 -0400)]
Merge pull request #524 from kanaka/bug/tight-buffer-overread

Fix buffer over-reads in handle_tight

8 years agoFix buffer over-reads in handle_tight
Solly Ross [Wed, 26 Aug 2015 18:28:10 +0000 (14:28 -0400)]
Fix buffer over-reads in handle_tight

For performance reasons, the `handle_tight` function skips the
use of the receive queue API and uses the raw receive queue directly.
Because of the way that typed array receive queue gets reused, this
introduced the potential for buffer over-reads.

To address this, a new function, `rQwhole`, was introduced.
`rQwhole` simply returns a new view into the receive queue that
starts at 0 and ends at the current recorded end of the queue.

`handle_tight` now makes use of this function.

Fixes #522

8 years agoFix bug in non-true-color code
Solly Ross [Mon, 24 Aug 2015 23:34:30 +0000 (19:34 -0400)]
Fix bug in non-true-color code

There was a bug caused by 38781d931ec18304f51ed3469faff8387e3cbc55
which prevented color map look-ups sent by rfb.js from working properly,
since display.js expected a single-item array, and rfb.js sent just them
item value itself (a number) instead.  This fixes that, and tweaks the
corresponding test to match that behavior.

8 years agoTests: Fixed bug in displayed assertion
Solly Ross [Mon, 24 Aug 2015 23:30:44 +0000 (19:30 -0400)]
Tests: Fixed bug in displayed assertion

This `displayed` assertion had a bug that was causing it to not
actually check anything (it was using obj.length instead of
data_cl.length).  This fixes that.

8 years agoUI: Fix typo preventing reconnect after password
Solly Ross [Mon, 24 Aug 2015 20:41:00 +0000 (16:41 -0400)]
UI: Fix typo preventing reconnect after password

There was a typo in ui.js preventing the use of the connect button
after a password was entered.

8 years agoMerge pull request #488 from kanaka/feature/more-perf-improvements
Solly [Fri, 14 Aug 2015 15:56:57 +0000 (11:56 -0400)]
Merge pull request #488 from kanaka/feature/more-perf-improvements

Performance Improvements

8 years agoOnly work with integers when panning to avoid getting a blurry image.
samhed [Fri, 14 Aug 2015 15:02:00 +0000 (17:02 +0200)]
Only work with integers when panning to avoid getting a blurry image.
Also disable image-smoothing to avoid bugs seen on Android which were
also causing a blurry image while panning.

8 years agoSkip unnecessary render queue object creation
Solly Ross [Tue, 2 Jun 2015 19:32:14 +0000 (15:32 -0400)]
Skip unnecessary render queue object creation

This commit skips object creation for the render queue when not
needed.  Instead of pushing an object onto the queue, and then
immediately running the result, you call the function directly.
Then, if the render queue is not empty, an object is created and
pushed onto the queue.  Otherwise, the functionality is just run
directly.

8 years agoFix multi-line assertion messages in test runner
Solly Ross [Thu, 28 May 2015 19:09:31 +0000 (15:09 -0400)]
Fix multi-line assertion messages in test runner

This commit prevents multi-line error messages from being
truncated in the local test runner ('tests/run_from_console.js').

8 years agoAllow the use of the PhantomJS remote debugger
Solly Ross [Thu, 28 May 2015 19:07:43 +0000 (15:07 -0400)]
Allow the use of the PhantomJS remote debugger

This commit adds the '--debugger <port>' option, which triggers
the PhantomJS remote debugger.  The initial output of the terminal
when running the debugger gives more information on how to use
it.

8 years agoUse Typed Arrays for the send queue
Solly Ross [Thu, 28 May 2015 19:28:30 +0000 (15:28 -0400)]
Use Typed Arrays for the send queue

This commit converts the send queue to use typed arrays, and converts
message creation functions in 'rfb.js' to create messages directly into
the socket's send queue.  This commit also removes the separate mouse array,
which is no longer needed.

8 years agoAvoid Creating Small Objects Frequently
Solly Ross [Thu, 28 May 2015 19:27:40 +0000 (15:27 -0400)]
Avoid Creating Small Objects Frequently

Creating lots of small objects frequently can drastically decrease
performance.  This commit introduces three fixes which avoid this:

- Use a preallocated palette and indexed-to-rgb destination Typed Array
  (the destination typed array is currently allocated at `4 * width *
  height`).

- Inline `getTightCLength`, which returned a two-item array.

- Pass RGBX data directly in a Typed Array to the Display, which
  avoids an extra loop, and only creates a new Typed Array View,
  instead of a whole new ArrayBuffer.

8 years agoUse Typed Arrays for the Websock receive queue
Solly Ross [Wed, 20 May 2015 21:10:59 +0000 (17:10 -0400)]
Use Typed Arrays for the Websock receive queue

**This commit removes Base64 (and Flash) support**

This commit converts websock.js to used Typed Arrays for the
receive queue (and tweaks rfb.js to ensure that it continues
to function, since only Firefox implements
`%TypedArray%.prototype.slice`).  Base64 support was removed
to simplify code paths, and pave the way for using Typed Arrays
for the send queue as well.

This provides two advantages: first, we allocate a buffer ahead
of time, meaning the browser doesn't have to do any work dynamically
increasing the receive queue size.  Secondly, we are now able to pass
around Typed Array Views (e.g. `Uint8Array`), which are lightweight, and
don't involve copying.

The downside is that we initially allocate more memory -- we currently
start out with 4 MiB, and then automatically double when it looks like
the amount unused is getting to small.

The commit also explicitly adds a check to the compacting logic that
avoids calling the copy functions if `_rQlen === _rQi`.

8 years agoRemove unecessarily nested loop
Solly Ross [Tue, 19 May 2015 20:49:39 +0000 (16:49 -0400)]
Remove unecessarily nested loop

This commit removes a nested loop in indexedToRGB, converting it into a
plain loop without multiplication.

8 years agoWIP: Switch to Pako for zlib
Solly Ross [Mon, 18 May 2015 23:01:58 +0000 (19:01 -0400)]
WIP: Switch to Pako for zlib

This commit introduces an alternate implementation of the zlib
decompressor based on Pako (https://github.com/nodeca/pako).

8 years agoFix RFB.js JSHint Errors
Solly Ross [Tue, 4 Aug 2015 19:50:20 +0000 (15:50 -0400)]
Fix RFB.js JSHint Errors

This fixes a couple of JSHint errors in RFB.js caused
by using `==` instead of `===`.

8 years agoFix up vnc_playback.html and playback.js
Solly Ross [Fri, 15 May 2015 18:27:23 +0000 (14:27 -0400)]
Fix up vnc_playback.html and playback.js

This commit fixes vnc_playback.html and playback.js
so that they work with the current version of noVNC.

8 years agoCI: Switch to Container-Based Travis
Solly Ross [Thu, 6 Aug 2015 18:37:01 +0000 (14:37 -0400)]
CI: Switch to Container-Based Travis

This commit switches the Travis tests over to Travis's new
container-based infrastructure.  It also tells Travis to
cache the node_modules directory for faster setup.

8 years agoMerge pull request #499 from samhed/fullscreen
Samuel [Wed, 1 Jul 2015 11:16:53 +0000 (13:16 +0200)]
Merge pull request #499 from samhed/fullscreen

Add option to toggle fullscreen mode

8 years ago* Hide the fullscreen toggle button on Safari since alphanumerical
samhed [Thu, 25 Jun 2015 20:28:04 +0000 (22:28 +0200)]
* Hide the fullscreen toggle button on Safari since alphanumerical
  keyboard input doesn't work in fullscreen.
* Force clipping mode in Internet Explorer while in fullscreen since
  scrollbars doesn't work in fullscreen.

8 years agoAdapt display to be able to handle a changing clipping-setting while connected
samhed [Thu, 25 Jun 2015 12:58:57 +0000 (14:58 +0200)]
Adapt display to be able to handle a changing clipping-setting while connected

8 years agoFixes #498 - Add the ability to toggle fullscreen mode
samhed [Thu, 18 Jun 2015 08:45:59 +0000 (10:45 +0200)]
Fixes #498 - Add the ability to toggle fullscreen mode

8 years agoFix error from a previous commit, there is no data type called 'text'..
samhed [Thu, 25 Jun 2015 20:34:44 +0000 (22:34 +0200)]
Fix error from a previous commit, there is no data type called 'text'..

8 years agoRenamed popupStatusPanel to popupStatus and removed the global variable
samhed [Thu, 25 Jun 2015 15:04:55 +0000 (17:04 +0200)]
Renamed popupStatusPanel to popupStatus and removed the global variable
which kept track on if it was open or not (it automatically closes after
1.5 seconds anyway).

8 years agoClarified enableDisableClip (now called enableDisableViewClip) and
samhed [Thu, 25 Jun 2015 13:29:23 +0000 (15:29 +0200)]
Clarified enableDisableClip (now called enableDisableViewClip) and
moved it to where the other clipping functions are.

8 years agoAllow the popupStatusPanel to show any text but close it on a 1.5 second timer.
samhed [Thu, 25 Jun 2015 13:22:53 +0000 (15:22 +0200)]
Allow the popupStatusPanel to show any text but close it on a 1.5 second timer.

8 years agoClarify code with regards to the viewport drag functionality
samhed [Wed, 24 Jun 2015 14:20:03 +0000 (16:20 +0200)]
Clarify code with regards to the viewport drag functionality
* Fixes #502 so that the viewport drag functionality can't get stuck

8 years agoAlways show the viewport drag button on touch devices to keep the GUI from
samhed [Tue, 16 Jun 2015 20:39:17 +0000 (22:39 +0200)]
Always show the viewport drag button on touch devices to keep the GUI from
"jumping around". Enable/disable the button instead of show/hide on these
devices.

8 years agoMerge pull request #497 from MOZGIII/MOZGIII-patch-vnc-auto-fix
Solly [Fri, 12 Jun 2015 18:34:34 +0000 (14:34 -0400)]
Merge pull request #497 from MOZGIII/MOZGIII-patch-vnc-auto-fix

Fixed incorrect UI usage and minor updateState params errors in vnc_auto.html

8 years agoFixed incorrect UI usage and minor updateState params errors in vnc_auto.html
MOZGIII [Fri, 12 Jun 2015 17:41:41 +0000 (20:41 +0300)]
Fixed incorrect UI usage and minor updateState params errors in vnc_auto.html

9 years agoReverting most of commit cb3e4de. The issue was not related to using keyboardinputRes...
samhed [Tue, 19 May 2015 11:34:50 +0000 (13:34 +0200)]
Reverting most of commit cb3e4de. The issue was not related to using keyboardinputReset.. the issue was infact a typo which was introduced in 3b8ec46. I must be too tired..

9 years agoStop using keyboardinputReset at the start of keyInput
samhed [Tue, 19 May 2015 10:42:33 +0000 (12:42 +0200)]
Stop using keyboardinputReset at the start of keyInput
* This fixes backspace when using the on-screen keyboard on Android

9 years agoUpdate LICENSE.txt
Samuel [Tue, 5 May 2015 11:13:17 +0000 (13:13 +0200)]
Update LICENSE.txt

Removed old no longer existing vnc.js and added playback.js

9 years agoMerge pull request #483 from fabian-z/master
Samuel [Mon, 4 May 2015 10:17:30 +0000 (12:17 +0200)]
Merge pull request #483 from fabian-z/master

Make noVNC compatible with Content Security Policies

9 years agoMove #keyboardinput declarations to base.css/ui.js
Fabian Zaremba [Sun, 3 May 2015 17:28:05 +0000 (19:28 +0200)]
Move #keyboardinput declarations to base.css/ui.js

9 years agoRe-fixes #428 which was broken by commit 58ded70
samhed [Wed, 29 Apr 2015 12:54:28 +0000 (14:54 +0200)]
Re-fixes #428 which was broken by commit 58ded70
* Disable local cursor when the browser doesn't support data uri

9 years agoMerge pull request #415 from jimdigriz/fixes
Solly [Tue, 7 Apr 2015 18:29:46 +0000 (14:29 -0400)]
Merge pull request #415 from jimdigriz/fixes

slip in PATH for 'npm test' as not everyone has karma

9 years agoMerge pull request #474 from kanaka/bug/throw-error-from-constructor
Solly [Fri, 27 Mar 2015 17:23:32 +0000 (13:23 -0400)]
Merge pull request #474 from kanaka/bug/throw-error-from-constructor

Throw exceptions from RFB constructor