| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
There is no reason to why this shouldn't be possible.
|
|
|
|
| |
Adds a new section for all functions that add event handlers.
|
|
|
|
|
| |
Moves the one handler for the status out of the function as well. It
didn't fit in with the function's old name either.
|
| |
|
|
|
|
|
|
|
| |
Retire the old settingsApply. This also allows UI logic to check the
state of things using the settings instead of having to look at the
values of HTML elements (we couldn't be sure if the changes were
applied yet or not).
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Add an option to automatically reconnect after a delay when the
connection is closed.
Closes #746
|
| |
| |
| |
| |
| | |
It can be dismissed by clicking on it, so hint this by setting the
pointer cursor type.
|
| |
| |
| | |
TigerVNC doesn't have a built in websocket proxy
|
|/
|
|
|
|
| |
It stopped working when we switched to textContent as it relies
on being able to add new HTML elements. Do things properly by
adding new elements via createElement().
|
| |
|
|
|
| |
Replaced PocketVNC with TigerVNC since the PocketVNC url was broken and the project isn't active anymore.
|
| |
|
|
|
|
|
|
|
|
|
| |
Previously, setting `innerHTML` was used to display the statuses. These
could include content communicated from the remote VNC server, allowing
the remove VNC server to inject HTML into the noVNC page.
This commit switches all uses of `innerHTML` to use `textContent`, which
is not vulnerable to the HTML injection.
|
| |
|
|
|
|
|
|
| |
We don't have to check for _display or context here since this is a
private function which is never called under such circumstances. This
solves problems caused by display.get_context() which was previously
removed in e549ae074fcea9febde32c0fa260a64c15cc1b8e.
|
|\
| |
| | |
Cleanup of settings (amongst other things)
|
| | |
|
| |
| |
| |
| |
| |
| | |
We have enough layers now that we need to have some system for this.
E.g. make sure that dialogs during connect show up in front of the
blocking transition layer.
|
| |
| |
| |
| |
| | |
It's generally the only thing the user needs to click on, so make
sure it clearly stands out.
|
| |
| |
| |
| |
| | |
It only contained a password field, which might not be needed, and
is handled by a separate dialog if it is.
|
| |
| |
| |
| |
| | |
It's been standardised for quite some time, so remove the extra
noise in the CSS.
|
| | |
|
| |
| |
| |
| |
| | |
It was easy to confuse them as being VNC settings, so keep them all
under one group.
|
| |
| |
| |
| |
| |
| | |
Anyone with basic knowledge of CSS will easily figure out how to
customise the appearance of the UI, so remove the burden of having
to maintain these extra style sheets.
|
| | |
|
| | |
|
|/ |
|
|
|
| |
Fixes #735
|
|\
| |
| | |
Display double buffering
|
| |
| |
| |
| |
| | |
Make sure the viewport is properly updated when necessary, on respects
given restrictions.
|
| |
| |
| |
| |
| |
| | |
The viewport handling is now a lot clearer, so simply limit the size
of the viewport in the caller rather than having this extra layer
of checks.
|
| |
| |
| |
| |
| | |
These should not be directly accessed. Instead use drawing operation
and Display.resize().
|
| |
| |
| |
| |
| | |
Optimise the copy from the hidden canvas to the visible one a bit
by only copying the modified area.
|
| |
| |
| |
| |
| |
| |
| | |
Do all rendering to a hidden canvas and then copy over the finished
frame to the visible canvas once everything is done. This simplifies
things and solves some bugs as we can retain a copy of the entire
frame buffer.
|
| | |
|
| |
| |
| |
| |
| | |
Use the normal API as much as possible instead of poking around in
internals that might change.
|
| | |
|
| |
| |
| |
| |
| | |
The latter is more generic and can easily be modified for other
mechanisms in the future.
|
| |
| |
| |
| |
| | |
There might be operations pending in the render queue. Make sure
these are fully handled before we consider the test run over.
|
| |
| |
| |
| |
| |
| |
| | |
setTimeout() is subject to delays, possible massive ones. As such it
is rather useless for performance sensitive code. Use the non-standard
setImmediate() API instead, emulating it on postMessage() when it
isn't available.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix travis tests
|
| | |
| | |
| | |
| | |
| | |
| | | |
The hacks needed to run these tests require proper handling of
properties. Unfortunately IE and old versions of Chrome mess up,
so just skip the tests there.
|
|/ /
| |
| |
| |
| | |
Test on the latest version of everything, as new versions are
coming out constantly. Also add some missing combinations.
|
|\ \
| | |
| | | |
Allow control bar to be moved to the right side
|
| | | |
|