]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
8 years agoApply CSS style to input elements
Pierre Ossman [Tue, 30 Aug 2016 13:23:20 +0000 (15:23 +0200)]
Apply CSS style to input elements

Different browsers have wildly different defaults for input elements.
Try to get a consistent interface by applying our own style.

8 years agoBling up popups
Pierre Ossman [Thu, 25 Aug 2016 18:11:11 +0000 (20:11 +0200)]
Bling up popups

Make the popups a bit more prominent by adding shadows and animations.

8 years agoRemove redundant modifier state variables
samhed [Thu, 25 Aug 2016 14:55:55 +0000 (16:55 +0200)]
Remove redundant modifier state variables

8 years agoReplace icons with SVG versions
Pierre Ossman [Thu, 25 Aug 2016 14:31:38 +0000 (16:31 +0200)]
Replace icons with SVG versions

Resolution independent for high DPI devices, and easier to modify
if we want to change something.

8 years agoShow all status messages in a popup top bar
samhed [Thu, 25 Aug 2016 14:08:29 +0000 (16:08 +0200)]
Show all status messages in a popup top bar

8 years agoClean up panel open/close API
Pierre Ossman [Thu, 25 Aug 2016 13:23:46 +0000 (15:23 +0200)]
Clean up panel open/close API

8 years agoMake "selected" an extra CSS class
Pierre Ossman [Thu, 25 Aug 2016 12:49:05 +0000 (14:49 +0200)]
Make "selected" an extra CSS class

Avoid duplicating stuff in the style sheet by making the "selected"
property an extra class, rather than a replacement for the base one.

8 years agoHarmonise CSS names
samhed [Thu, 25 Aug 2016 12:41:53 +0000 (14:41 +0200)]
Harmonise CSS names

Follow the same naming convention for all CSS ids and classes.

8 years agoLet CSS control what it means to be hidden/closed
Pierre Ossman [Thu, 25 Aug 2016 12:22:44 +0000 (14:22 +0200)]
Let CSS control what it means to be hidden/closed

This avoids hard-coding layout information in the JavaScript code.
It also opens up possibilities for more control in the CSS, e.g. for
animation.

8 years agoSimplify modifier button display
Pierre Ossman [Thu, 25 Aug 2016 15:32:57 +0000 (17:32 +0200)]
Simplify modifier button display

8 years agoShow/hide logo in updateVisualState()
samhed [Thu, 25 Aug 2016 11:21:33 +0000 (13:21 +0200)]
Show/hide logo in updateVisualState()

We control the visibility of almost everything else in this function,
so move the logo handling there as well.

8 years agoRemove unnecessary span:s
samhed [Thu, 25 Aug 2016 11:02:24 +0000 (13:02 +0200)]
Remove unnecessary span:s

They were probably also incorrect to have around block elements
anyway.

8 years agoFix name for panel CSS class
samhed [Thu, 25 Aug 2016 09:10:25 +0000 (11:10 +0200)]
Fix name for panel CSS class

8 years agoRemove unused description
samhed [Thu, 25 Aug 2016 08:51:43 +0000 (10:51 +0200)]
Remove unused description

8 years agoAvoid ambigious optional arguments
samhed [Wed, 24 Aug 2016 16:03:32 +0000 (18:03 +0200)]
Avoid ambigious optional arguments

Some functions weren't obvious what they would do if an argument was
omitted. Split them up in to separate functions in those cases to
make the API clearer.

8 years agoRemove beforeunload handler
Pierre Ossman [Thu, 1 Sep 2016 10:35:22 +0000 (12:35 +0200)]
Remove beforeunload handler

Support for this is spotty and it is getting more and more restricted
by the day. Give up on this approach.

8 years agoSeparate UI.start() in to sub-functions
samhed [Wed, 24 Aug 2016 15:23:11 +0000 (17:23 +0200)]
Separate UI.start() in to sub-functions

8 years agoAdd events to objects the modern way
samhed [Wed, 24 Aug 2016 15:01:03 +0000 (17:01 +0200)]
Add events to objects the modern way

The old way only allows a single event handler per event, so switch
over everything to the new model.

8 years agoRemove unused event handlers
samhed [Thu, 25 Aug 2016 10:58:58 +0000 (12:58 +0200)]
Remove unused event handlers

These do not work and the mechanism for releasing keyboard grab on
the settings panel needs more work.

8 years agoTrigger autoconnect at proper time
samhed [Wed, 24 Aug 2016 14:35:44 +0000 (16:35 +0200)]
Trigger autoconnect at proper time

It needs to happen after everything is fully initialised.

8 years agoSort style sheet
samhed [Wed, 24 Aug 2016 10:17:53 +0000 (12:17 +0200)]
Sort style sheet

Sort and group the entries in the style sheet the same way as in
the HTML document. Makes it easier to find things.

8 years agoPlace related elements together
samhed [Wed, 24 Aug 2016 09:10:40 +0000 (11:10 +0200)]
Place related elements together

In order to clarify the HTML we group related panels together with
the corresponding buttons.

8 years agoStrict positioning of panels
samhed [Wed, 24 Aug 2016 09:06:23 +0000 (11:06 +0200)]
Strict positioning of panels

The panels were never meant to be positioned relative their container,
so make sure they pop up exactly where we want in the viewport, no
matter where they are in the structure.

8 years agoRemove unused CSS
samhed [Tue, 23 Aug 2016 15:53:21 +0000 (17:53 +0200)]
Remove unused CSS

8 years agoCreate separate style sheet for vnc_auto.html
Pierre Ossman [Fri, 2 Sep 2016 14:16:04 +0000 (16:16 +0200)]
Create separate style sheet for vnc_auto.html

The style sheet is intimately connected to the Javascript code and
HTML so trying to share it between both sets is not sensible.

8 years agoFix TIGHT negotiation with zero sub-auth types
Dmitry Sankevich [Wed, 16 Dec 2015 09:35:23 +0000 (15:35 +0600)]
Fix TIGHT negotiation with zero sub-auth types

According to the RFB protocol, when in TIGHT auth negotation,
if the client receives a sub-auth count of zero, it should proceed
as if the `None` sub-auth type had already been selected (and not
send a message selecting that type).

Closes #564

8 years agoMerge pull request #661 from kanaka/feature/realvnc5-version-number
Solly Ross [Fri, 16 Sep 2016 21:50:04 +0000 (17:50 -0400)]
Merge pull request #661 from kanaka/feature/realvnc5-version-number

Detect RealVNC's VNC 5.0 Protocol Version

8 years agoDetect RealVNC's RFB 5.0 Protocol Version
Lars Ole Hurlen [Fri, 11 Mar 2016 07:32:50 +0000 (08:32 +0100)]
Detect RealVNC's RFB 5.0 Protocol Version

The RFB protocol specifies a max version of 3.8, but RealVNC likes to
increment their version when they add new features.  RealVNC 5.3 sends
"005.000" as the version string, since they've extended their
implementation upon RFB v3.8.  We can detect that, and just tell them we
only speak 3.8, instead of barfing on "005.000" as an invalid version.

8 years agoMerge pull request #603 from WardF/master
Solly Ross [Fri, 16 Sep 2016 21:16:43 +0000 (17:16 -0400)]
Merge pull request #603 from WardF/master

Added option for --ssl-only noVNC session to launch.sh

8 years agoMerge pull request #496 from kanaka/refactor/modularized
Solly Ross [Fri, 16 Sep 2016 20:16:09 +0000 (16:16 -0400)]
Merge pull request #496 from kanaka/refactor/modularized

Enable noVNC to become Browserifiable

8 years agoMove input-related files into core/input
Solly Ross [Wed, 14 Sep 2016 17:45:08 +0000 (13:45 -0400)]
Move input-related files into core/input

This commit moves all the input-related files from `core/`
to `core/input/`, and renames a couple as relevant
(input.js --> input/devices.js, keyboard.js --> input/util.js).

8 years agoRemove unecessary event-related code from Util
Solly Ross [Sat, 3 Sep 2016 18:06:42 +0000 (14:06 -0400)]
Remove unecessary event-related code from Util

The event-related wrapper functions in Util existed mainly for
backwards-compat.  However, all currently supported browsers
support the standard functions, so these wrappers are no longer needed.

8 years agoUtil shouldn't modify window object
Solly Ross [Sat, 3 Sep 2016 17:58:32 +0000 (13:58 -0400)]
Util shouldn't modify window object

This commits prevents Util from modifying the window object.

- `window.requestAnimFrame` was removed (no polyfill is needed anymore)
- the potential redefinition of `console.log` and friends was removed
  (all supported browsers have `console.xyz` defined anyway)

8 years agoSwitch to PhantomJS 2.x for testing
Solly Ross [Sat, 3 Sep 2016 17:53:47 +0000 (13:53 -0400)]
Switch to PhantomJS 2.x for testing

This commit switches over to use PhantomJS 2.x, bringing in a whole host
of improvements (including `Function#bind`, so we can remove the
`Function#bind` shim in core/util.js).

8 years agoDon't modify Array prototype
Solly Ross [Sat, 3 Sep 2016 17:49:55 +0000 (13:49 -0400)]
Don't modify Array prototype

This commit removes our modification of the Array prototype.
It wasn't actually used much in the main code, anyway, and it's a
bad practice to modify built-in prototypes.

8 years agoClean up Util
Solly Ross [Sat, 3 Sep 2016 17:39:12 +0000 (13:39 -0400)]
Clean up Util

This commit removes unused code from Util, and moves the script-loading
functionality to WebUtil.

8 years agoClean up unused files in tests
Solly Ross [Wed, 14 Sep 2016 17:53:13 +0000 (13:53 -0400)]
Clean up unused files in tests

There were quite a few old/irrelevant files in `tests/`.
This commit removes them.

8 years agoEnable noVNC to become Browserifiable
Solly Ross [Wed, 14 Sep 2016 17:52:53 +0000 (13:52 -0400)]
Enable noVNC to become Browserifiable

This commit restructures noVNC, splitting it into the core directory
and the app directory, with the former containing core noVNC parts,
and the latter containing parts specific to the application.

8 years agoUpdate copyright
Samuel Mannehed [Sat, 3 Sep 2016 17:26:29 +0000 (19:26 +0200)]
Update copyright

8 years agoFix indentation in list of encodings
Samuel Mannehed [Thu, 1 Sep 2016 14:00:22 +0000 (16:00 +0200)]
Fix indentation in list of encodings

8 years agoMove QEMUExtendedKeyEvent encoding
Samuel Mannehed [Thu, 1 Sep 2016 13:59:01 +0000 (15:59 +0200)]
Move QEMUExtendedKeyEvent encoding

The encoding list is ordered by number.

8 years agoAdd missing commas and semicolons
Samuel Mannehed [Thu, 1 Sep 2016 13:56:28 +0000 (15:56 +0200)]
Add missing commas and semicolons

8 years agoMerge pull request #596 from danielhb/master
Solly Ross [Mon, 29 Aug 2016 17:28:15 +0000 (13:28 -0400)]
Merge pull request #596 from danielhb/master

QEMU RFB extension

Fixes #21 ðŸŽ‰ (again)

8 years agoQEMU RFB extension - keyboard.js changes
Daniel Henrique Barboza [Mon, 11 Apr 2016 10:11:43 +0000 (07:11 -0300)]
QEMU RFB extension - keyboard.js changes

Added a 'QEMUKeyEventDecoder' method to deal with the
key events generated when the QEMU extension is active. Another
method, 'TrackQEMUKeyState', was also created with this same
goal.

Although both methods have similaries with the existing methods
'KeyEventDecoder' and 'TrackKeyState', specially when dealing
with 'supress' and 'releaseall', the logic behind the QEMU extension
does not required keysym generation for most cases (some NumPad keys
are an exception) and, as such, there is no need to treat 'keyPressed'
events and to handle char modifiers.

'TrackQEMUKeyState' also handles a Windows scenario where the
'AltGR' key generates CtrlLeft and AltRight keystrokes. The solution
was to avoid this specific combination to be sent to the VNC server,
discarding the extra 'CtrlLeft' key. Considering that the user can
send CtrlLeft+AltLeft, CtrlRight+AltRight and even CtrlRight+AltLeft,
this workaround to allow Windows users to use AltGR in their noVNC
sessions is worthwhile.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
8 years agoQEMU RFB extension - rfb.js and input.js changes
Daniel Henrique Barboza [Mon, 11 Apr 2016 10:11:05 +0000 (07:11 -0300)]
QEMU RFB extension - rfb.js and input.js changes

In input.js, a new keyboard handler was added to deal exclusively
with the QEMU key event extension. '_onKeyPress()' signature
was changed to allow the same method to treat both cases.

The extension will only be enabled if the browser has support
for the KeyboardEvent.code property.

Changes in rfb.js:

- added a new extension code, QEMUExtendedKeyEvent, value -258.

- handleKeyPress now receives 'keyevent' instead of 'keysym' and
'down'. Both values are retrieved from keyevent as they were
in the previous signature. This method now can send QEMU RFB
extended key messages if the flag was set to 'true'.

- tests/test.rfb.js were changed folowing the onKeyPress() signature
change.

- added a new function to send the QEMU extended key message.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
8 years agoQEMU RFB extension - new file xtscancodes.js
Daniel Henrique Barboza [Fri, 26 Aug 2016 18:47:03 +0000 (15:47 -0300)]
QEMU RFB extension - new file xtscancodes.js

This new file contains the XT scancode mapping that
the extension will use in rfb.js file.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
8 years agoAdd missing return values
samhed [Fri, 26 Aug 2016 10:20:51 +0000 (12:20 +0200)]
Add missing return values

8 years agoRemove unnecessary debug logging
samhed [Fri, 26 Aug 2016 10:19:30 +0000 (12:19 +0200)]
Remove unnecessary debug logging

8 years agoRemove bad trailing commas
samhed [Fri, 26 Aug 2016 10:18:28 +0000 (12:18 +0200)]
Remove bad trailing commas

8 years agoMerge branch 'continuousupdates' into noVNCmaster
samhed [Fri, 26 Aug 2016 10:06:05 +0000 (12:06 +0200)]
Merge branch 'continuousupdates' into noVNCmaster

8 years agoRemoving unused import (#642)
Trần Tuấn Anh [Fri, 26 Aug 2016 09:09:22 +0000 (16:09 +0700)]
Removing unused import (#642)

8 years agoAdd support for ContinuousUpdates
samhed [Thu, 2 Jun 2016 14:41:38 +0000 (16:41 +0200)]
Add support for ContinuousUpdates

Instead of requesting frame buffer updates we can, if the server
supports it, continuously recieve frame buffer updates at a rate
determined by the server.

The server can use fencing messages and measure response times to
determine how often it will continue to send updates.

8 years agoAdd missing event argument and curly bracket
Samuel Mannehed [Thu, 25 Aug 2016 14:49:02 +0000 (16:49 +0200)]
Add missing event argument and curly bracket

8 years agoFix window close warning
Samuel Mannehed [Thu, 25 Aug 2016 13:32:15 +0000 (15:32 +0200)]
Fix window close warning

The code didn't follow current API for the beforeunload event.

8 years agoProper spacing
Samuel Mannehed [Thu, 25 Aug 2016 13:16:04 +0000 (15:16 +0200)]
Proper spacing

8 years agoFix the extra keys
Samuel Mannehed [Thu, 25 Aug 2016 12:40:21 +0000 (14:40 +0200)]
Fix the extra keys

Commit 529c64e1036b622ff971b1a0cd13856837d3a9eb broke this. #shame#

8 years agoMerge pull request #583 from kanaka/bug/misc-fixes
Solly Ross [Tue, 23 Aug 2016 20:00:48 +0000 (16:00 -0400)]
Merge pull request #583 from kanaka/bug/misc-fixes

Misc Fixes (ImageData Constructor Detection and Firefox Nightly Bug Workaround)

8 years agoMerge pull request #632 from patrakov/master
Solly Ross [Tue, 23 Aug 2016 19:11:03 +0000 (15:11 -0400)]
Merge pull request #632 from patrakov/master

Fixed BLIT RGB data buffer size

The RGB buffer size was incorrectly marked as `pixels * 4` instead of the correct `pixels * 3`

Fixes #615

8 years agoRevert poor workaround for brief Firefox bug
Solly Ross [Wed, 24 Feb 2016 21:13:06 +0000 (16:13 -0500)]
Revert poor workaround for brief Firefox bug

This commit reverts a fix for a bug which briefly occured on certain
nightlies of Firefox.  It was never intended to persist in the code
base, and is causing other actual errors to be swallowed.

8 years agoFix ImageData Constructor Support Detection
Solly Ross [Tue, 22 Dec 2015 20:16:52 +0000 (15:16 -0500)]
Fix ImageData Constructor Support Detection

Our support detection for the `ImageData(data, width, height)` constructor
would fail in certain browsers because the size of a 1x1 ImageData's
Uint8ClampedArray is 4, not 1.

8 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

8 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

8 years agoFixed RGB data buffer size (#615)
Alexander E. Patrakov [Sun, 31 Jul 2016 16:55:04 +0000 (21:55 +0500)]
Fixed RGB data buffer size (#615)

8 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

8 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

8 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.

8 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.

8 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.

8 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

8 years agoAdd support for fences
samhed [Thu, 2 Jun 2016 14:00:33 +0000 (16:00 +0200)]
Add support for fences

We don't actually use these, but servers may require this for other
features.

8 years agoLower level check for framebuffer update requests
samhed [Fri, 3 Jun 2016 13:22:19 +0000 (15:22 +0200)]
Lower level check for framebuffer update requests

Try to avoid using helper functions with complex logic when verifying
results as those helper functions are also something we want to verify.

Also add a test for a mix of clean and dirty areas specifically to make
sure that helper function behaves properly.

8 years agoAlways flush socket after each message
samhed [Thu, 2 Jun 2016 13:09:00 +0000 (15:09 +0200)]
Always flush socket after each message

Make sure our messages go away right away, rather than having to
remember to call flush from the caller, or causing extra delays by
waiting for the send timer. This should result in a more responsive
system.

8 years agoFix 'sent' assertion
samhed [Fri, 3 Jun 2016 12:13:35 +0000 (14:13 +0200)]
Fix 'sent' assertion

We were completely mishandling the length of the data. Make sure
we look at the length of the websocket rather than the websock object,
and also compare with the expected length.

8 years agoFix typo in pointer event test
samhed [Fri, 3 Jun 2016 12:13:15 +0000 (14:13 +0200)]
Fix typo in pointer event test

8 years agoAvoid unnecessary delays
samhed [Thu, 2 Jun 2016 12:57:44 +0000 (14:57 +0200)]
Avoid unnecessary delays

We only use setTimeout() to avoid hanging the browser, not because we
actually want a delay. So let's use the smallest delay there is.

8 years agoClean up encodings array
samhed [Thu, 2 Jun 2016 12:53:22 +0000 (14:53 +0200)]
Clean up encodings array

List pseudo-encodings seperately and sorted by encoding number.

8 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

8 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().

8 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

8 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_

8 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".

8 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.

8 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.