| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
This script only has one purpose now, let the name reflect that. It
converts to CommonJS for NPM.
|
|
|
|
| |
Options now have to be exlicitly requested.
|
|
|
|
| |
Co-Authored-By: Adam Young <ayoung@redhat.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
We no longer support Internet Explorer so we can now require that
browsers support modules.
Some conversion to commonjs still remains for nodejs.
|
|\ \ |
|
| |/ |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The browsers that need the legacy code do not support such fancy
modern things.
|
|
|
|
|
| |
E.g. SystemJS requires the Promise polyfill, so make sure all our
support files are loaded first.
|
|
|
|
|
|
|
| |
There has been a lot of renaming and restructuring in babel, so we need
to modify our code to handle the latest version. We also need to adjust
the way we build our babel worker as babel itself no longer runs in older
browsers such as Internet Explorer.
|
|
|
|
|
|
| |
It is now used by our general code and not just by the conversion
routines, so we need to make sure it is always included for the
old browsers.
|
|
|
|
|
|
| |
This control flow is difficult enough as it is to follow. Move the
handling of the untransformed files to a separate block to make it
slightly easier to understand.
|
|
|
|
|
| |
We also check this list as a filter to walkDir(), so no need for the
extra check here.
|
| |
|
|
|
|
|
|
|
|
|
| |
Very few browsers are left in the wild that supports modules but not
"nomodule", so let's simplify our handling a bit.
Safari 10 supports modules but not 'nomodule', this means that this
particular version of Safari will be broken. Due to this we have to
bump up the required Safari version to 11.
|
|
|
|
|
| |
Creating an Ubuntu Snap package to make noVNC easier to deploy.
Checks for the websockify binary in both the PATH (using which) and in the location where the Snap package places the binary. This is necessary for noVNC to be usable in a Snap. It doesn't affect the original functionality of git cloning websockify if it's not found in PATH or the Snap location.
|
|
|
|
|
|
|
|
|
|
| |
Previously launch.sh would check both for the existence of a local
websockify file and /websockify/run file.
This initial check should really be for a local websockify directory
as in packaged environments a file could very well be the actual
executable leading to launch.sh incorrectly attempting to use a local
version of websockify.
|
| |
|
| |
|
|
|
|
|
|
| |
* Change copyright header
This updates the copyright header to say "The noVNC Authors". People
who previously had copyright listings are now under the AUTHORS file.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add the `--record` flag to launch.js, for easy recording when testing.
|
|
|
|
| |
and any other function that is passed around and it's not a top level function
|
|
|
|
|
|
| |
Rather than trying to pick a utility, we should be able to just use bash to check if a port is available or not.
We can probably assume bash is available due to the shebang declaring it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Several of the major browsers now natively support modules, so we
only need the converted modules to handle older browsers. Make sure
it's only used when necessary.
|
| |
|
| |
|
|
|
|
|
| |
We had some race conditions between the callbacks that could cause
failures. Order everything properly using promises.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A previous commit started (quasi-correctly) rewriting vendor import
paths on built files. The gist of it was correct, but it incorrectly
rewrote paths in vendor itself.
The babel plugin in use operated on canonical absolute paths. This mean
that it saw no difference between the import
`../vendor/pako/lib/utils/foo` and `../utils/foo`, where the later was
actually in the `vendor/pako/lib/bar` directory. This rewrote imports
in files in the vendor directory itself. However, since those files
were *already* in the correct relative location, the new import was
incorrect by a degree of `..`.
Now, we only rewrite vendor paths on things in the `core` directory.
|
|
|
|
|
|
|
| |
This adds an option to `utils/use_require.js` which cleans the lib
and build directories before regenerating them. This will enable us
to make sure we always have a fresh copy of the lib dir before
publishing.
|
|
|
|
|
| |
We move the files in core/ up one directory level so we need to adjust
the imports from vendor libraries.
|
|
|
|
|
| |
We prepared an options object for babel, but didn't include it properly
in the final call to babel.
|
|\ |
|