| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
v1.0.0-testing.2 is the "make sure all of our autopublishing works
properly" release. Assuming everything goes well, it should shortly be
followed by v1.0.0 proper.
|
|
|
|
|
| |
This commit sets up Travis to publish to NPM on tags, to the
@novnc/novnc repository.
|
|
|
|
|
|
|
|
|
| |
This updates the .npmignore file to ignore some new files that were
recently added, and to keep the `core` directory, so that noVNC can be
used as an ES6 module from NPM.
This also updates package.json to clean when generating lib files in the
`prepare` phase (which has replaced the `prepublish` phase).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
[infra] Fix Travis Sauce Auth
|
|/
|
|
|
| |
Travis-Sauce authentication somehow broke along the way. This PR
fixes that by resetting the credentials.
|
|\ |
|
| |
| |
| |
| | |
Safari and Chrome now have native support for modules, so we need to make sure we only load our polyfill when actually needed.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Supports server configurations that might prefer wss:// connections
on the default port, then proxies them through the web server to the
VNC server.
This proxy configuration is helpful on servers using self-signed
certificates. Accessing the https://host/vnc_auto.html page and
adding an exception for that host is sufficient to also satisfy the
wss://host/ request, unlike requests to wss://host:port/ which
may require an extra certificate exception.
|
| |
| |
| |
| |
| | |
Our logging module keeps its own copy so we need to call init_logging in
the test cleanup to update things.
|
| |
| |
| |
| |
| | |
They have global effects so make that clear by doing the setup in a
single place.
|
| |
| |
| |
| |
| |
| | |
Converted version downloaded from sinonjs.org. Fixed version that
doesn't register itself on the global object. This forces all modules to
do a proper import.
|
|\ \
| | |
| | | |
Combine small mouse wheel events
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The VNC protocol can't handle different deltas or speeds for a mouse
wheel event. When using a device that sends a lot of small mouse wheel
events, instead of fewer larger steps, the effect was that mouse wheel
scrolling was way to sensitive.
This patch looks at the delta of wheel events and doesn't send events
until the combined delta has passed a threshold. Single events that
doesn't pass the threshold get sent after a timeout in order to not
loose any events.
Fixes #577.
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
Clarifies the purpose of the setting in order to avoid mix ups with
clipboard related things.
|
| |
| |
| |
| | |
The use of this variable was removed in b18ef8162ea5fd0a72f4aa910f7fc9236a8f81f1
|
| | |
|
| |
| |
| |
| |
| | |
Newer recordings are always binary and don't include the encoding
specifier.
|
| |
| |
| |
| |
| | |
Session size changes can be initiated from the server, and not just
from the client. Make sure we update the scaling when this happens.
|
| |
| |
| |
| |
| |
| | |
* fix typscript error TypeScript error: novnc/core/rfb.js(1012,17): Error TS7027: Unreachable code detected.
* Update rfb.js
|
| |
| |
| |
| |
| |
| |
| | |
Fixed positioned flex boxes are not positioned correctly in Safari. Add
the normal top 50% translate -50% method.
Fixes issue #848.
|
| |
| |
| |
| | |
IE doesn't support document.currentScript, so we need to have a fallback.
|
| |
| |
| |
| |
| |
| | |
Servers will assume that a scan code is present if this message type
is used, so fall back to the standard key event message if we don't
know the scan code.
|
| |
| |
| |
| |
| |
| | |
keyCode 229 is commonly used with virtual keyboards when the
system cannot map things to a specific key. As such we should
treat it as 'Unidentified'.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Safari on older iOS doesn't support creating KeyboardEvent objects,
so put a guard in to avoid crashes.
|
| | |
| | |
| | |
| | |
| | |
| | | |
IE and Edge have some corner cases (e.g. Ctrl+key) where we get
insufficient information in the keydown event, and we never get
a keypress event. Try to make a guess of the key in those cases.
|
| | |
| | |
| | |
| | | |
This is necessary on older iOS where code isn't provided.
|
| | |
| | |
| | |
| | |
| | | |
It was preventing key events for dead keys, so try to reduce it to
only cases where we must use it.
|
| | |
| | |
| | |
| | | |
They can still be useful if the server makes use of the keycode instead.
|
| | |
| | |
| | |
| | |
| | | |
This way we can work together with other projects that need this kind
of mapping.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
It contains ES6 modules, so it won't be useful as-is on NPM.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
iOS sends decent key down events, but junk key up events when a
hardware keyboard is used. This confuses the key tracking as a
corresponding release is then never detected. To work around this
we'll treat the hardware keyboard like the virtual ones and send
the key release right away.
|
| | |
| | |
| | |
| | |
| | | |
Make sure we get the stack trace without distortions by wrapping, or
cropping because it flows out of the screen.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
They are not supported on older browsers, e.g. iOS 9.
|
| | | |
| | | |
| | | |
| | | | |
Not supported in older browsers, e.g. iOS 9.
|
|\ \ \ \
| |/ / /
|/| | | |
Fix Travis-Sauce Connection
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Somethings got messed up in the Travis-Sauce tunnel setup. This should
fix it by re-adding the Sauce credentials. It also updates the config
to explicitly pass auth information instead of via environment
variables.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|