]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
6 years agoAvoid nested function declarations
Pierre Ossman [Fri, 2 Jun 2017 12:44:20 +0000 (14:44 +0200)]
Avoid nested function declarations

Not supported in older browsers, e.g. iOS 9.

6 years agoFix traffic management in playback tests
Pierre Ossman [Thu, 1 Jun 2017 10:50:00 +0000 (12:50 +0200)]
Fix traffic management in playback tests

6 years agoMerge branch 'record' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 1 Jun 2017 08:29:19 +0000 (10:29 +0200)]
Merge branch 'record' of https://github.com/CendioOssman/noVNC

6 years agoMerge pull request #831 from samhed/visualhint
Samuel Mannehed [Tue, 30 May 2017 08:19:42 +0000 (10:19 +0200)]
Merge pull request #831 from samhed/visualhint

Add hint that the control bar can be moved

6 years agoAdd hint that the control bar can be moved
Samuel Mannehed [Mon, 22 May 2017 06:24:41 +0000 (08:24 +0200)]
Add hint that the control bar can be moved

The control bar can be dragged to the other side, this isn't obvious
however. This adds a hint on the opposite side in the form of a subtle
glowing half-ellipse.

6 years agoUse one entry per file in transpile cache
Pierre Ossman [Mon, 22 May 2017 12:01:44 +0000 (14:01 +0200)]
Use one entry per file in transpile cache

This avoids any risk of the cache key and contents getting out
of sync.

6 years agoRemove #nocache system as it is unused
Pierre Ossman [Mon, 22 May 2017 11:48:59 +0000 (13:48 +0200)]
Remove #nocache system as it is unused

6 years agoRevert recording file format changes
Pierre Ossman [Mon, 22 May 2017 11:44:48 +0000 (13:44 +0200)]
Revert recording file format changes

Change back to the old, non-modular recording file format. The new
method doesn't work reliably and there are existing recordings already
out there that we might want to handle.

7 years agoClear the password input field
Samuel Mannehed [Sat, 20 May 2017 16:59:47 +0000 (18:59 +0200)]
Clear the password input field

If a user disconnects but leaves the browser tab open, the password
input field would still contain the password for future connections.
We now clear the input field after reading the password into memory.

7 years agoHandle loading web workers in any path
Pierre Ossman [Fri, 19 May 2017 12:39:49 +0000 (14:39 +0200)]
Handle loading web workers in any path

The URL is interpreted relative the current page, not relative
the current script. So we need to have some extra code in order to
allow the module loader to be agnostic to its path.

7 years agoDon't fail on babel cache storage errors
Pierre Ossman [Tue, 16 May 2017 12:07:03 +0000 (14:07 +0200)]
Don't fail on babel cache storage errors

It is just a cache after all, so failures are not fatal. Users will get longer
load times, but at least they'll get a page.

7 years agoRevert "Remove shadow from logo"
Samuel Mannehed [Mon, 15 May 2017 12:57:33 +0000 (14:57 +0200)]
Revert "Remove shadow from logo"

This reverts commit 7c44f86dcd77bff811d9619fd5341938cfa8d69f.

7 years agoFix bootstart of input field
Pierre Ossman [Mon, 15 May 2017 12:40:28 +0000 (14:40 +0200)]
Fix bootstart of input field

It wasn't working properly anymore because it expected to be triggered
by the "load". But we now register that event listener long after the
"load" event has already fired.

7 years agoAdd missing semicolon
Samuel Mannehed [Fri, 12 May 2017 23:56:35 +0000 (01:56 +0200)]
Add missing semicolon

7 years agoRemove trailing whitespace
Samuel Mannehed [Fri, 12 May 2017 23:45:23 +0000 (01:45 +0200)]
Remove trailing whitespace

7 years agoRemove shadow from logo
Samuel Mannehed [Fri, 12 May 2017 23:43:02 +0000 (01:43 +0200)]
Remove shadow from logo

7 years agoUpdate readme with new screenshots
Samuel Mannehed [Fri, 12 May 2017 15:10:27 +0000 (17:10 +0200)]
Update readme with new screenshots

7 years agoCatch errors for when we can't play bell
Samuel Mannehed [Fri, 12 May 2017 10:52:05 +0000 (12:52 +0200)]
Catch errors for when we can't play bell

Many browsers, for example Chrome on Android will not allow audio to
play unless it's initiated from a user action. It is not reasonable to
display an error for this. Fixes issue #821.

7 years agoAdd vnc_lite to npmignore
Samuel Mannehed [Fri, 12 May 2017 07:01:20 +0000 (09:01 +0200)]
Add vnc_lite to npmignore

7 years agoRename vnc_auto to vnc_lite
Samuel Mannehed [Fri, 12 May 2017 06:57:23 +0000 (08:57 +0200)]
Rename vnc_auto to vnc_lite

7 years agoAdd missing semi colon
Samuel Mannehed [Fri, 12 May 2017 06:48:41 +0000 (08:48 +0200)]
Add missing semi colon

7 years agoDon't capture touch events
Samuel Mannehed [Thu, 11 May 2017 11:34:43 +0000 (13:34 +0200)]
Don't capture touch events

They are implicitly captured anyway, and we get problems if we try
to explicitly capture them.

7 years agoStop tracking mouse capture state
Samuel Mannehed [Thu, 11 May 2017 11:30:40 +0000 (13:30 +0200)]
Stop tracking mouse capture state

Was a workaround for other bugs which are now fixed.

7 years agoStop grabbing mouse events globally
Samuel Mannehed [Thu, 11 May 2017 11:27:10 +0000 (13:27 +0200)]
Stop grabbing mouse events globally

Not necessary anymore since we have proper capture.

7 years agoFix update-pot so that it can handle UTF-8
Samuel Mannehed [Tue, 9 May 2017 09:59:23 +0000 (11:59 +0200)]
Fix update-pot so that it can handle UTF-8

It crashed on non-ascii characters before, for example the "®"
character.

7 years agoUpdate German translation
David Gnedt [Wed, 8 Feb 2017 13:29:27 +0000 (14:29 +0100)]
Update German translation

From Pull Request #771.

7 years agoMerge pull request #819 from martinpitt/master
Samuel Mannehed [Mon, 8 May 2017 08:38:06 +0000 (10:38 +0200)]
Merge pull request #819 from martinpitt/master

Fix license name in package.json

7 years agoFix license name in package.json
Martin Pitt [Mon, 8 May 2017 07:46:38 +0000 (09:46 +0200)]
Fix license name in package.json

It's spelled "MPL-2.0" according to https://spdx.org/licenses/.

7 years agoRemove colour map support
Pierre Ossman [Thu, 4 May 2017 13:13:33 +0000 (15:13 +0200)]
Remove colour map support

It was broken and unused. Remove it so we can simplify the code.

7 years agoRemove browser engine detection
Pierre Ossman [Thu, 4 May 2017 12:52:05 +0000 (14:52 +0200)]
Remove browser engine detection

It is out of date and not used anyway.

7 years agoSkip some keyboard tests on IE and Edge
Pierre Ossman [Thu, 4 May 2017 11:26:39 +0000 (13:26 +0200)]
Skip some keyboard tests on IE and Edge

IE and Edge has some broken behaviour for keyboard events that
prevent the standard tests from running properly.

7 years agoMerge branch 'png_cursor' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 4 May 2017 11:13:02 +0000 (13:13 +0200)]
Merge branch 'png_cursor' of https://github.com/CendioOssman/noVNC

7 years agoMerge branch 'keyboard' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 4 May 2017 10:18:55 +0000 (12:18 +0200)]
Merge branch 'keyboard' of https://github.com/CendioOssman/noVNC

7 years agoError.error can be null in some cases
Pierre Ossman [Thu, 13 Apr 2017 12:49:42 +0000 (14:49 +0200)]
Error.error can be null in some cases

7 years agoUse KeyboardEvent.key too look up keysyms
Pierre Ossman [Thu, 13 Apr 2017 12:50:55 +0000 (14:50 +0200)]
Use KeyboardEvent.key too look up keysyms

And emulate it on browsers where it is missing or incorrect. This
makes the code more future oriented as it primarily uses the standardised
fields.

7 years agoHandle CapsLock on macOS
Pierre Ossman [Thu, 4 May 2017 09:52:40 +0000 (11:52 +0200)]
Handle CapsLock on macOS

Modifiers behave a bit oddly on macOS, causing weird CapsLock events
to be sent by the browsers.

7 years agoClean up AltGraph handling
Pierre Ossman [Fri, 27 Jan 2017 11:52:24 +0000 (12:52 +0100)]
Clean up AltGraph handling

It doesn't need to be this general as the issue is mostly about
Windows. Also use the same modifier shuffle that RealVNC and
TigerVNC uses to get macOS working well.

7 years agoSimplify pressed key handling
Pierre Ossman [Fri, 27 Jan 2017 11:26:55 +0000 (12:26 +0100)]
Simplify pressed key handling

Prefer avoid having the server simulate multiple key presses by
refusing to use multiple keysyms for the same physical key.

7 years agoSimplify handling of keypress
Pierre Ossman [Fri, 27 Jan 2017 11:24:20 +0000 (12:24 +0100)]
Simplify handling of keypress

Use a dedicated variable to track a two stage key rather than
piggy-backing on the key state array.

7 years agoMove keyboard handling in to Keyboard class
Pierre Ossman [Fri, 27 Jan 2017 09:36:10 +0000 (10:36 +0100)]
Move keyboard handling in to Keyboard class

Replace the multi stage pipeline system with something simpler.
That level of abstraction is not needed.

7 years agoRemove modifier synchronisation
Pierre Ossman [Fri, 27 Jan 2017 09:49:04 +0000 (10:49 +0100)]
Remove modifier synchronisation

The fields provided cannot tell us if it is the left or right
version of the key that's pressed, so they are inherently unreliable.
It is also not a huge problem in practice as we'll get in sync on
the next press or release of the modifier.

7 years agoRemove QEMU key event handler
Pierre Ossman [Thu, 26 Jan 2017 17:20:19 +0000 (18:20 +0100)]
Remove QEMU key event handler

The normal event handler provides all the necessary information
now, so it is no longer needed.

7 years agoSimplify keyboard event API
Pierre Ossman [Thu, 26 Jan 2017 17:09:40 +0000 (18:09 +0100)]
Simplify keyboard event API

No need for an object for three static fields.

7 years agoSend keyboard events from single place
Pierre Ossman [Thu, 26 Jan 2017 16:59:25 +0000 (17:59 +0100)]
Send keyboard events from single place

This makes it easier to handle any needed variations, like different
types of messages.

7 years agoImprove lookup of special keys
Pierre Ossman [Tue, 24 Jan 2017 16:18:43 +0000 (17:18 +0100)]
Improve lookup of special keys

Look up keys that are independent of layout and state first,
followed by keys that are only mild variations in layouts.
This is more robust as there might be multiple physical keys
generating the same symbols, and Keysyms don't map directly to
Unicode in all cases.

At the same time switch over to using the modern, standardised
'code' field for lookup.

7 years agoImprove character keysym lookup
Pierre Ossman [Wed, 25 Jan 2017 10:29:08 +0000 (11:29 +0100)]
Improve character keysym lookup

Use the more modern 'key' field, and remove some legacy fallbacks
that are no longer required. This also removes the "stall" mechanism
as it is not needed with current browsers.

7 years agoUse standard DOM identifiers for physical keys
Pierre Ossman [Tue, 24 Jan 2017 14:16:10 +0000 (15:16 +0100)]
Use standard DOM identifiers for physical keys

7 years agoMerge pull request #817 from univention/master
Samuel Mannehed [Wed, 3 May 2017 11:57:23 +0000 (13:57 +0200)]
Merge pull request #817 from univention/master

Remove double unescaping of title

7 years agoRemove double unescaping of title
Philipp Hahn [Wed, 3 May 2017 10:01:05 +0000 (12:01 +0200)]
Remove double unescaping of title

Commit fa5b334dcbe7a5dab21580b54cc2f5f142600379 by Joel Martin changed
getQueryVal() to always decode the value using decodeURIComponent(), but
unescape() is still used for extracting the title, leading to
double-unescaping.

As unescape() is deprecated anyway, remove the last user.

Cc: Joel Martin <github@martintribe.org>
Cc: Anthony Young <sleepsonthefloor@gmail.com>
7 years agoOnly load ES6 module loader polyfill if needed
Pierre Ossman [Fri, 28 Apr 2017 12:38:59 +0000 (14:38 +0200)]
Only load ES6 module loader polyfill if needed

Safari now has native support for modules, so we need to make sure
we only load our polyfill when actually needed.

7 years agoFix panning test for high DPI devices
Samuel Mannehed [Fri, 21 Apr 2017 13:23:18 +0000 (15:23 +0200)]
Fix panning test for high DPI devices

There is a drag-threshold in the panning code which the tests didn't
account for. This caused the tests to fail when window.devicePixelRatio
was higher than 1.

7 years agoAdd Pierre as contributor in package.json
Samuel Mannehed [Wed, 19 Apr 2017 13:34:16 +0000 (15:34 +0200)]
Add Pierre as contributor in package.json

7 years agoUpdate url's
Samuel Mannehed [Wed, 19 Apr 2017 13:33:42 +0000 (15:33 +0200)]
Update url's

7 years agoProperly restore the default style
Samuel Mannehed [Tue, 11 Apr 2017 08:53:06 +0000 (10:53 +0200)]
Properly restore the default style

Setting a style to null does restore it in FF, Chrome, Safari and Edge.
But it does not work in Internet Explorer. The proper way to restore to
default values is to set it to the empty string. This works in all
browsers. Fixes issue #808.

7 years agoFixed the issue where novnc can't be relocated
Soichi Hayashi [Mon, 3 Apr 2017 16:31:19 +0000 (16:31 +0000)]
Fixed the issue where novnc can't be relocated

7 years agoAlways send mouseUp events properly
Samuel Mannehed [Wed, 5 Apr 2017 12:00:59 +0000 (14:00 +0200)]
Always send mouseUp events properly

If down is false we can't just toggle the current internal state, even
though this is correct most of the time. There are cases where we don't
get the down event and thus won't have a correct internal state. For
example, when clicking in the session after using the clipboard
textarea.

If down is false, we always want to send a mouse event with the button
in 'up'-state.

7 years agoMerge pull request #801 from CendioOssman/errors
Samuel Mannehed [Mon, 3 Apr 2017 06:18:48 +0000 (08:18 +0200)]
Merge pull request #801 from CendioOssman/errors

Improve fallback error handler

7 years agoGenerate source map for ES module loader rollup
Pierre Ossman [Thu, 2 Mar 2017 14:49:43 +0000 (15:49 +0100)]
Generate source map for ES module loader rollup

Makes it easier to debug things as you get the original source and
proper line numbers.

7 years agoHandle uncaught WebWorker exceptions
Pierre Ossman [Thu, 2 Mar 2017 14:48:47 +0000 (15:48 +0100)]
Handle uncaught WebWorker exceptions

7 years agoTry to populate error location on Promise errors
Pierre Ossman [Thu, 2 Mar 2017 14:48:13 +0000 (15:48 +0100)]
Try to populate error location on Promise errors

7 years agoOnly use unhandledrejection fallback when needed
Pierre Ossman [Thu, 2 Mar 2017 14:47:22 +0000 (15:47 +0100)]
Only use unhandledrejection fallback when needed

7 years agoUse common code to handle Promise errors
Pierre Ossman [Thu, 2 Mar 2017 14:46:05 +0000 (15:46 +0100)]
Use common code to handle Promise errors

7 years agoHandle partial error location information
Pierre Ossman [Thu, 2 Mar 2017 14:44:30 +0000 (15:44 +0100)]
Handle partial error location information

We might not get line or column number, but the file is still
useful information.

7 years agoErrorEvent.error isn't always set
Pierre Ossman [Thu, 2 Mar 2017 13:22:15 +0000 (14:22 +0100)]
ErrorEvent.error isn't always set

It's not just a matter of the browser lacking support.

7 years agoLimit fallback error width to window width
Pierre Ossman [Thu, 2 Mar 2017 13:21:29 +0000 (14:21 +0100)]
Limit fallback error width to window width

Change the layout a bit to make sure the entire message can be read.

7 years agoUse monospace font for unhandled errors
Pierre Ossman [Thu, 2 Mar 2017 13:20:03 +0000 (14:20 +0100)]
Use monospace font for unhandled errors

The browsers uses crude layout formatting that expects this.

7 years agoMerge pull request #738 from patrakov/master
Solly Ross [Sat, 25 Mar 2017 00:40:15 +0000 (17:40 -0700)]
Merge pull request #738 from patrakov/master

Changed the default compression level to 2

7 years agoHide internal keyboard functions
Pierre Ossman [Tue, 24 Jan 2017 12:36:31 +0000 (13:36 +0100)]
Hide internal keyboard functions

These may change and are not part of a stable API.

This also reindents the object functions to make sure they can
access private functions.

7 years agoRemove character substitution
Pierre Ossman [Tue, 24 Jan 2017 11:55:54 +0000 (12:55 +0100)]
Remove character substitution

We can handle any Unicode codepoint now, so stop replacing symbols.

7 years agoSimplify keysymdef.js
Pierre Ossman [Tue, 24 Jan 2017 11:49:29 +0000 (12:49 +0100)]
Simplify keysymdef.js

Some Unicode to Keysym mappings can be computed and can therefore
be left out of the huge lookup table.

7 years agoClean up keysymdef
Pierre Ossman [Tue, 24 Jan 2017 11:39:21 +0000 (12:39 +0100)]
Clean up keysymdef

7 years agoRemove keysym names from keysymdef.js
Pierre Ossman [Tue, 24 Jan 2017 11:07:26 +0000 (12:07 +0100)]
Remove keysym names from keysymdef.js

They were incomplete and turned off in most cases so they served
little use besides adding complexity.

7 years agoGet parse.js in sync with generated code
Pierre Ossman [Fri, 24 Mar 2017 09:49:00 +0000 (10:49 +0100)]
Get parse.js in sync with generated code

The generated keysymdef.js was recently converted to ES modules,
but the generating script was overlooked.

7 years agoDefine an initial shadow for spinner
Pierre Ossman [Thu, 23 Mar 2017 16:53:09 +0000 (17:53 +0100)]
Define an initial shadow for spinner

IE and Edge refuse to animate attributes that weren't present in
the static definition.

7 years agoMerge pull request #774 from novnc/refactor/es6-module-loader
Solly Ross [Wed, 22 Mar 2017 22:28:13 +0000 (15:28 -0700)]
Merge pull request #774 from novnc/refactor/es6-module-loader

[Refactor] ES6 Modules

7 years agoMake vnc_playback.html functional once more
Solly Ross [Thu, 2 Mar 2017 02:10:09 +0000 (21:10 -0500)]
Make vnc_playback.html functional once more

This commit makes vnc_playback.html functional once more, and completely
refactors tests/playback.js to make it usable in other scenarios.

In order for vnc_playback.js to properly load playback files now, they
must `export` their variables.

7 years agoFix vnc_auto.html
Solly Ross [Wed, 1 Mar 2017 21:26:15 +0000 (16:26 -0500)]
Fix vnc_auto.html

This commit fixes `vnc_auto.html` to work with the new changes.
Note that it is not translated over when `--with-app` is used
on `util/use_require.js`.  We'll probably want to deprecate it,
or do some longer-term cleanup.

7 years agoVendor in an IE11 polyfill for Promises
Solly Ross [Wed, 1 Mar 2017 16:17:44 +0000 (11:17 -0500)]
Vendor in an IE11 polyfill for Promises

This commit introduces a polyfill to add support for Promises in IE11.
This means IE11 can be tested without first running
`utils/as_require.js`.

7 years agoMove error handler into separate file
Solly Ross [Wed, 1 Mar 2017 01:47:02 +0000 (20:47 -0500)]
Move error handler into separate file

This commit moves the global error handler into a separate file,
so that it can catch module loading errors.

This also adds support for properly displaying error messages with
newlines in them (since the module loader may throw those)

7 years agoOnly apply settings with an RFB object
Solly Ross [Sun, 26 Feb 2017 21:55:24 +0000 (16:55 -0500)]
Only apply settings with an RFB object

We should only apply settings if we have an RFB object available.
Some of the settings handlers didn't respect this, but do now.

7 years agoFix view_only clipboard handling
Solly Ross [Sun, 26 Feb 2017 21:50:54 +0000 (16:50 -0500)]
Fix view_only clipboard handling

We need to actually consume the clipboard event message,
even if we don't act on it.

7 years agoMove scripts in vnc.html head
Solly Ross [Tue, 14 Feb 2017 23:11:55 +0000 (18:11 -0500)]
Move scripts in vnc.html head

This commit moves the vnc.html scripts into head.

7 years agoOptimize ES6 Module Loader Polyfill
Solly Ross [Sat, 11 Feb 2017 21:49:03 +0000 (16:49 -0500)]
Optimize ES6 Module Loader Polyfill

This commit makes the ES6 module loader polyfill use Web Workers,
so that Babel doesn't block the browser from animating.  It also
uses localStorage to cache the compiled results, only recompiling
on source changes, so it makes loading faster while developing noVNC.

This includes a vendored copy of the ES6 module loader, modified as
described above.

7 years agoUse transition animation while loading
Solly Ross [Tue, 14 Feb 2017 23:39:19 +0000 (18:39 -0500)]
Use transition animation while loading

This shows the transition animation while loading, so users can see
something is going on.

7 years agoUpdate tests to work with new structure
Solly Ross [Sun, 5 Feb 2017 17:34:47 +0000 (12:34 -0500)]
Update tests to work with new structure

This updates the tests to work with the new structure, and removes the
old `utils/run_from_console.js` files in favor of just using Karma
directly.  The Karma debug page now displays the normal mocha HTML, so
we can use that instead of the HTML generation functionality of the old
test runner.

Note that PhantomJS does not work at the moment (PhantomJS 1.5 should
make it possible to test on PhantomJS again).

7 years agoRefactor ES6 module structure/split up Util
Solly Ross [Sun, 5 Feb 2017 02:26:00 +0000 (21:26 -0500)]
Refactor ES6 module structure/split up Util

This commit restructures many of the ES6 modules, splitting them
up to actual export multiple functions instead of a single object.

It also splits up Util into multiple sub-modules, to make it easier
to maintain.

Finally, localisation is renamed to localization.

7 years agoRemove WebUtil.load_scripts
Solly Ross [Sat, 4 Feb 2017 22:40:18 +0000 (17:40 -0500)]
Remove WebUtil.load_scripts

The only remaining user of WebUtil.load_scripts was for loading
localisation.  Instead, we now load the localization information
over XHR as a JSON blob.

7 years agoLoad translations over XHR
Solly Ross [Wed, 15 Feb 2017 00:38:54 +0000 (19:38 -0500)]
Load translations over XHR

This commit causes translations to be loaded over XHR instead of
the import system.

7 years agoRemove WebUtil.dirObj
Solly Ross [Sat, 4 Feb 2017 22:16:05 +0000 (17:16 -0500)]
Remove WebUtil.dirObj

`WebUtil.dirObj` wasn't being used anywhere, so this removes it.

7 years agoAllow transforming to any format
Solly Ross [Sat, 4 Feb 2017 22:12:00 +0000 (17:12 -0500)]
Allow transforming to any format

This changes around `utils/use_require.js` to be able to generate any
of AMD (RequireJS), CommonJS, SystemJS, or UMD modules.  The three
former also include support for translating `vnc.html`, producing a full
"app" version of noVNC.

7 years agoUse PNG for mouse cursors
Pierre Ossman [Mon, 6 Mar 2017 14:54:00 +0000 (15:54 +0100)]
Use PNG for mouse cursors

The browsers' support for Microsoft's cursor format is a bit spotty,
so use the more common PNG format instead. This also allows us to
use a Canvas to generate the image, rather than coding it by hand.

7 years agoUse ES6 modules natively via Polyfill
Solly Ross [Sat, 4 Feb 2017 04:59:44 +0000 (23:59 -0500)]
Use ES6 modules natively via Polyfill

This commit introduces the "Browser ES Module Loader" polyfill
to support developing with native ES6 modules, without any compilation
step (files are passed through Babel in the browser).  This should not
be used in production -- a pre-compiled version passed through babel
ahead of time (as produced by the `npm install` hook or
`utils/use_require.js`) should be used instead.

7 years agoVendor an ES6-modules-compatible Pako
Solly Ross [Sat, 4 Feb 2017 04:55:00 +0000 (23:55 -0500)]
Vendor an ES6-modules-compatible Pako

This commit vendors a converted, stripped-down version of Pako which
uses ES6 modules instead of CommonJS modules.

7 years agoUncomment ES6 module syntax
Solly Ross [Sat, 4 Feb 2017 04:17:44 +0000 (23:17 -0500)]
Uncomment ES6 module syntax

This removes the special comment part of the ES6 module syntax,
opting to enable ES6 module syntax by default.

It also appends `.js` to all import paths to better support in-browser
loading.

7 years agoFix typos in imports and i18n
Solly Ross [Sat, 4 Feb 2017 04:12:53 +0000 (23:12 -0500)]
Fix typos in imports and i18n

`app/ui.js` had an incorrect import path which caused issues
when using the ES6 and/or CommonJS builds of noVNC.

`core/util.js` had a non-strict-compatible declaration of a variable
without a `let` or `var` (it now uses `let`).

This fixes both issues.

7 years agoMerge branch 'settingswhileconnected' of https://github.com/samhed/noVNC
Samuel Mannehed [Fri, 24 Feb 2017 14:42:27 +0000 (15:42 +0100)]
Merge branch 'settingswhileconnected' of https://github.com/samhed/noVNC

Closes pull request #778

7 years agoMerge branch 'disableLabels' of https://github.com/samhed/noVNC
Samuel Mannehed [Fri, 24 Feb 2017 14:13:09 +0000 (15:13 +0100)]
Merge branch 'disableLabels' of https://github.com/samhed/noVNC

Closes pull request #776

7 years agoRemove 512x512 icon
Pierre Ossman [Thu, 23 Feb 2017 15:29:16 +0000 (16:29 +0100)]
Remove 512x512 icon

It is not a launcher icon, but rather used for display on Google
Play. As such it is not needed and removing it mitigates the issue
of some buggy browsers downloading each and every listed icon.

7 years agoProtect against race in setCapture() polyfill
Pierre Ossman [Thu, 23 Feb 2017 13:26:50 +0000 (14:26 +0100)]
Protect against race in setCapture() polyfill

It might take a long time for a timer to fire, long enough for a
new grab to be initiated. Clearing out the capture element would
then cause a crash.

7 years agoDisable labels for settings as well
Samuel Mannehed [Fri, 17 Feb 2017 15:16:29 +0000 (16:16 +0100)]
Disable labels for settings as well

Makes the settings UI easier to read.