| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Our settings are not a fatal requirement, we can fall back on the
default values if they can't be accessed. A scenario where we've seen
this happen is when cookies are disabled in the browser. It seems
localStorage is disabled along with cookies in these settings.
Fixes issue #1577.
|
|
|
|
|
|
|
|
| |
Without this fix we still get a "pointer" cursor on disabled inputs of
type "image" in Firefox. Currently, all our noVNC_buttons are
<input type="image">. Reported to firefox here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1798304
|
|
|
|
|
|
| |
We depend un such modern things anyway, having these kinds of properties
are more confusing than helpful. Let's not give the impression that we
make any attempt to work in old browsers.
|
|
|
|
|
| |
Make it slightly taller and not as wide, this makes it stand out less
compared to the other panels.
|
|
|
|
|
|
| |
The clipboard textarea could potentially shrink further than what was
possible for the header text elements, which looked a bit broken. In
that regard, a min width is introduced for the textarea.
|
|
|
|
|
| |
There are scrollbars inside the textarea in case there's a lot of text
in there. We can limit the height of the element, it looks better.
|
|
|
|
|
| |
It should not be able to "eat" its parent-panel's padding. By setting
box-sizing: border-box we can prevent this.
|
|
|
|
|
| |
If we use box-sizing: border-box we can avoid having to account for the
padding when calculcating the max-width.
|
|
|
|
|
|
|
| |
All panels should be limited in this way, not just the clipboard panel.
One additional upside of this is that the numbers used to calculate the
max-width are closer by, in the code. This hopefully makes it easier to
avoid mistakes in the future.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
JavaScript strings use UTF-16 encoding under the hood, but we only want
a single '?' per character we replace. So we need to be more careful
which methods we use when iterating over the clipboard string.
|
| |
| |
| |
| |
| | |
Add a more explicit '?' for characters that the clipboard cannot handle,
instead of getting random junk.
|
| |
| |
| |
| | |
We do this for all RFB tests now, not just these specific assertions.
|
| |
| |
| |
| | |
This was accidentally removed in 0a6aec3578.
|
|/
|
|
|
| |
Newer versions of the test framework use the inspect() method instead of
toString() for overriding the default output.
|
|
|
|
|
|
| |
Makes it a more independent element responsible for it's own positioning
and vertical centering. This makes the hint easier to adapt for external
CSS styles and makes it possible to remote the fixed size if needed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the user has "followed" the hint by dragging the handle to the
other side, the control bar will switch to that side. Once this has
happened, we will now hide the hint until the user starts over by
dragging the handle again.
This change was added to make the hint feel more like a "hint" and less
like a permanent GUI element. It isn't as persistent and intrusive now.
Note that we don't want the act of hiding the hint to result in a
transition animation here.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Instead of hard coding the height of this touch area we can just use
its parent's height.
|
| |
| |
| |
| |
| |
| | |
This makes it easier for integrators of vnc.html to write their own
input and button styles.
It's also positive to cut a bit off from the size of the large base.css.
|
| |
| |
| |
| |
| | |
Try to make it a bit less messy by trying to get more general rules in
place.
|
| |
| |
| |
| | |
The older ones are getting deprecated, so make the switch.
|
| |
| |
| |
| |
| | |
These styles are meant to be complete, that we didn't have a style for
<button> was a mistake.
|
| |
| |
| |
| | |
These buttons only exist in the control bar.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the error handler itself causes an exception, it falls back to a
simple document.write(). This means the proper error dialog isn't shown
when this happens.
The focus changes that were added to the error handler in e1f8232b are
not crucial for its function. If these focus changes causes an exception
we can just ignore that.
|
| |
| |
| |
| |
| | |
According to MDN, document.activeElement can be null if there is no
focused element.
|
| |
| |
| |
| |
| | |
The browsers override these instead of using the normal inheritance. So
make sure our global font settings are respected.
|
| |
| |
| |
| |
| | |
We want some space between elements to avoid things getting cramped, so
add some minimal margins.
|
| |
| |
| |
| | |
The text gets a bit cramped otherwise. Extra so at larger font sizes.
|
| |
| |
| |
| |
| | |
Margins behave badly on inline elements, so let's try to avoid using
them. Margins should be handled by the block elements anyway.
|
| |
| |
| |
| |
| | |
Avoid making assumptions on how much space is available for the stack
dump, and instead handle the overflow on the top element.
|
| |
| |
| |
| | |
Typo from commit e1f8232bc90c77e5746f6f8356613962021cc862
|
| |
| |
| |
| |
| |
| |
| | |
When this error is shown, something has gone very wrong. It shows when
a bug in the JavaScript causes an uncaught error. In these scenarios we
dont want the user to be able to interact with the GUI or the remote
session, since we can't guarantee that things work.
|
|/
|
|
|
| |
Disabled buttons should not change appearance on mouse hover, click or
on keyboard focus. Doing so destroys the "disabled" impression.
|
|
|
|
|
| |
On many systems you get a poor substitute, so let's instead instruct the
browser that we merely want a sans serif font for our interface.
|
|
|
|
|
| |
This is a very global setting, so let's put it on the top node for
clarity.
|
|
|
|
| |
It often results in a blurry result on WebKit based browsers.
|
|
|
|
| |
Makes it a bit easier to understand all the magic in this CSS.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Make it easier to build a snap from your working copy by removing the
restriction of having to modify the version field first.
|
|/
|
|
|
|
| |
This button fills no real purpose. It's easy to mark everything and
delete with either "Ctrl + A -> Delete" or, on touch devices, "long
press -> mark everything -> Delete".
|
| |
|
| |
|
|\ |
|
| |
| |
| | |
Currently novnc will only retry once (assuming the server is unavailable) and then stop (as the detail from is unclean, usually "failed to connect"). Minor change will continue to reconnect every reconnect_delay seconds until either reconnected or user intervention cancels the attempt.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
VeNCrypt is a superset of the original security types, so it should be
fine to send any of the classical values here as well.
|
| |
| |
| |
| |
| | |
This is how TigerVNC has been behaving for years and has worked well
there, so let's follow them.
|