]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
4 years agoMerge pull request #1318 from chrisjdev/emptyPassword
Samuel Mannehed [Thu, 5 Dec 2019 11:15:43 +0000 (12:15 +0100)]
Merge pull request #1318 from chrisjdev/emptyPassword

Allow connecting with empty string credentials

4 years agoAllow connecting with empty string credentials
Chris J [Thu, 7 Nov 2019 20:15:15 +0000 (15:15 -0500)]
Allow connecting with empty string credentials

Checking for undefined instead of falsy. That way an empty strings are allowed.

4 years agoAdd encodeUTF8 function to core/util/strings.js
Samuel Mannehed [Wed, 4 Dec 2019 09:13:25 +0000 (10:13 +0100)]
Add encodeUTF8 function to core/util/strings.js

4 years agoMake Cursor.detach() safe to call when not attached
Pierre Ossman [Fri, 29 Nov 2019 09:08:15 +0000 (10:08 +0100)]
Make Cursor.detach() safe to call when not attached

Avoids having checks in higher layers.

4 years agoFix chinese translation errors
Samuel Mannehed [Thu, 28 Nov 2019 11:51:32 +0000 (12:51 +0100)]
Fix chinese translation errors

Thanks to @QQ2017 for providing the translation strings

4 years agoSimplify logic for status hierarchy
Samuel Mannehed [Mon, 25 Nov 2019 16:03:55 +0000 (17:03 +0100)]
Simplify logic for status hierarchy

Removes unnecessary variable

4 years agoEnsure warning status timeouts are honored
Samuel Mannehed [Mon, 25 Nov 2019 15:38:03 +0000 (16:38 +0100)]
Ensure warning status timeouts are honored

When showing a new status popup we want to set a timer for how long to
show it. In cases where we show many statuses in a fast succession we
need to remove any running timeouts when showing a new one.

There are exceptions when new statuses won't be shown, and thats if a
more severe status is already showing, i.e and error or a warning.

Warnings can still have timeouts. There was a bug that occured when we
tried to show a normal status while a warning was showing. The bug
caused the warning status timeout to be removed even if the normal
status was never shown. We should only remove running timeouts if we're
actually going to show a new status.

4 years agoMerge branch 'babel' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Tue, 12 Nov 2019 13:12:18 +0000 (14:12 +0100)]
Merge branch 'babel' of https://github.com/CendioOssman/noVNC

4 years agoDon't use arrow functions in legacy loader
Pierre Ossman [Tue, 12 Nov 2019 09:25:18 +0000 (10:25 +0100)]
Don't use arrow functions in legacy loader

The browsers that need the legacy code do not support such fancy
modern things.

4 years agoLoad support scripts first
Pierre Ossman [Tue, 12 Nov 2019 09:24:40 +0000 (10:24 +0100)]
Load support scripts first

E.g. SystemJS requires the Promise polyfill, so make sure all our
support files are loaded first.

4 years agoUpgrade to latest babel
Pierre Ossman [Mon, 11 Nov 2019 14:46:12 +0000 (15:46 +0100)]
Upgrade to latest babel

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.

4 years agoMerge pull request #1319 from wavezhang/patch-2
Samuel Mannehed [Mon, 11 Nov 2019 15:46:36 +0000 (16:46 +0100)]
Merge pull request #1319 from wavezhang/patch-2

Update zh_CN.po

4 years agoAlways include Promise polyfill for legacy browsers
Pierre Ossman [Mon, 11 Nov 2019 12:36:30 +0000 (13:36 +0100)]
Always include Promise polyfill for legacy browsers

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.

4 years agoClean up handling of untransformed files
Pierre Ossman [Mon, 11 Nov 2019 12:33:47 +0000 (13:33 +0100)]
Clean up handling of untransformed files

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.

4 years agoRemove redundant "no copy" check
Pierre Ossman [Mon, 11 Nov 2019 12:32:19 +0000 (13:32 +0100)]
Remove redundant "no copy" check

We also check this list as a filter to walkDir(), so no need for the
extra check here.

4 years agoUse proper backticks for generating legacy script tags
Pierre Ossman [Mon, 11 Nov 2019 09:01:43 +0000 (10:01 +0100)]
Use proper backticks for generating legacy script tags

4 years agoUpdate zh_CN.po
wavezhang [Fri, 8 Nov 2019 06:08:23 +0000 (14:08 +0800)]
Update zh_CN.po

fix spell errors, improve translations

4 years agoFix missing caps lock events on iOS
Alex Tanskanen [Thu, 7 Nov 2019 15:19:08 +0000 (16:19 +0100)]
Fix missing caps lock events on iOS

Caps Lock on iOS only trigged key release or key press events.
When it's clicked it would only send keydown, and next time
it would only send keyup and so on. It should send both a key press
and a key release.

Also added the unit tests for macOS since those were missing.

Co-Authored-By: Alex Tanskanen <aleta@cendio.se>
4 years agoAdd README to app/locale warning not to modify
Samuel Mannehed [Thu, 7 Nov 2019 11:49:41 +0000 (12:49 +0100)]
Add README to app/locale warning not to modify

4 years agoAdd "macOS shuffle" to iOS as well
Alex Tanskanen [Mon, 4 Nov 2019 13:22:46 +0000 (14:22 +0100)]
Add "macOS shuffle" to iOS as well

Since iOS functions like macOS with regards to Alt behaving like AltGr,
we need the same workaround on iOS as well.

4 years agoHandle missing Shift events on Windows
Pierre Ossman [Mon, 4 Nov 2019 09:17:45 +0000 (10:17 +0100)]
Handle missing Shift events on Windows

This is a bug in the OS that leaks through to the browsers. We need
to fake a Shift release here to avoid Shift getting stuck in the remote
session.

4 years agoSend NumLock on macOS, even though the key is Clear
Pierre Ossman [Fri, 1 Nov 2019 12:13:35 +0000 (13:13 +0100)]
Send NumLock on macOS, even though the key is Clear

There is no obvious choice what works best here, but this is what
TigerVNC has been doing for years without complaints. Let's follow
them until we get reports that this doesn't work well.

4 years agoFix typo for MailSend key
Pierre Ossman [Fri, 1 Nov 2019 09:49:19 +0000 (10:49 +0100)]
Fix typo for MailSend key

4 years agoUpdate to latest UI Events key specification
Pierre Ossman [Fri, 1 Nov 2019 09:25:23 +0000 (10:25 +0100)]
Update to latest UI Events key specification

4 years agoFix AltGr for a few more keys in IE and Edge
Pierre Ossman [Fri, 1 Nov 2019 08:59:02 +0000 (09:59 +0100)]
Fix AltGr for a few more keys in IE and Edge

Some keys apparently send 'Unidentified' rather than an unshifted value.
Make sure those are also handled. Examples are \ and | on a Swedish
keyboard.

4 years agoKeep the virtual keyboard after using extra keys
Samuel Mannehed [Thu, 31 Oct 2019 15:24:06 +0000 (16:24 +0100)]
Keep the virtual keyboard after using extra keys

If using the extra keys always gives focus to the screen then an
on-screen keyboard would be closed. When using on-screen keyboards we
instead want to give focus to our virtual keyboard input element.

4 years agoRevert iOS keyup workaround
Pierre Ossman [Thu, 31 Oct 2019 14:36:40 +0000 (15:36 +0100)]
Revert iOS keyup workaround

It seems Apple has fixed their buggy keyup events, so remove the
workaround and allow keys to be kept pressed again.

This is a revert of 9e99ce126ca8f6f350fa015c0e58d35103c62f7e.

4 years agoHandle broken numpad delete key in Chrome
Pierre Ossman [Thu, 31 Oct 2019 13:51:36 +0000 (14:51 +0100)]
Handle broken numpad delete key in Chrome

4 years agoExplain why Clear maps to KP_Begin
Pierre Ossman [Thu, 31 Oct 2019 13:08:36 +0000 (14:08 +0100)]
Explain why Clear maps to KP_Begin

4 years agoTry to handle Meta key properly
Pierre Ossman [Thu, 31 Oct 2019 13:07:30 +0000 (14:07 +0100)]
Try to handle Meta key properly

The standards have unfortunatly caused some confusion between the Windows
key and the original Meta key. Try to handle the common case sanely at least.

4 years agoMerge pull request #1312 from samhed/master
Samuel Mannehed [Mon, 28 Oct 2019 09:45:08 +0000 (10:45 +0100)]
Merge pull request #1312 from samhed/master

Fix so that you can use the keyboard after using the extra keys

4 years agoMove focus to the screen when using extra keys
Samuel Mannehed [Fri, 25 Oct 2019 15:44:20 +0000 (17:44 +0200)]
Move focus to the screen when using extra keys

A regression from 2afda54 and friends was that you couldn't use the
extra keys and then directly use the keyboard, you would have to click
in the session first.

This commit restores the correct behavior and also adds a visual queue
to the fact that the screen got the focus by fading the controlbar.

4 years agoAdd missing scancode for sendTab
Samuel Mannehed [Mon, 28 Oct 2019 08:59:58 +0000 (09:59 +0100)]
Add missing scancode for sendTab

4 years agoRename document.capturedElem to captureElement
Samuel Mannehed [Wed, 23 Oct 2019 13:59:43 +0000 (15:59 +0200)]
Rename document.capturedElem to captureElement

To better fit most naming.

4 years agoImprove Windows key image
Pierre Ossman [Wed, 23 Oct 2019 13:51:41 +0000 (15:51 +0200)]
Improve Windows key image

The previous one didn't have sharp lines, or follow pixel boundaries
properly.

4 years agoMerge pull request #1309 from samhed/disappearing_cursor
Samuel Mannehed [Mon, 21 Oct 2019 12:16:48 +0000 (14:16 +0200)]
Merge pull request #1309 from samhed/disappearing_cursor

Fix disappearing cursor

4 years agoHide the emulated cursor when target is null
Samuel Mannehed [Mon, 21 Oct 2019 09:27:43 +0000 (11:27 +0200)]
Hide the emulated cursor when target is null

Makes it easier to understand what happens when a real element isn't
passed as a target to updateVisibility(). Also makes the code more
robust to future changes.

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
4 years agoFix disappearing cursor after click
Samuel Mannehed [Mon, 21 Oct 2019 09:26:40 +0000 (11:26 +0200)]
Fix disappearing cursor after click

In the cursor emulation when deciding if the cursor should be hidden -
Instead of checking what's under the cursor, we check the element that
has capture.

This introduced another bug in the cursor emulation. The cursor did not
always disappear properly when using our cursor emulation together with
our setCapture polyfill. More specifically, we saw a problem when a
capture ended on an element without cursor emulation.

We solved this by introducing another visibility check on a timer in
the cursor emulation. However this led to yet another problem where
this timer conflicted with the timer in the setCapture polyfill.

We removed the timeout in the setCapture polyfill and created a
variable to make sure that all the events remaining in the queue can be
completed.

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
4 years agoCheck next elem at mouseleave in cursor emulation
Samuel Mannehed [Mon, 21 Oct 2019 09:25:01 +0000 (11:25 +0200)]
Check next elem at mouseleave in cursor emulation

It's not obvious that we want to hide the cursor when we get a leave,
it depends on the element that we're leaving to. This makes the code
more robust.

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
4 years agoRename variables in setCapture proxy
Samuel Mannehed [Mon, 21 Oct 2019 09:23:21 +0000 (11:23 +0200)]
Rename variables in setCapture proxy

The names of many variables were too similar. To make the code easier
to follow we renamed:

* _captureElem to _capturedElem
* _captureElemChanged() to _capturedElemChanged()
* captureElem to proxyElem
* elem to target

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
4 years agoFix alt text for drag button
Pierre Ossman [Mon, 14 Oct 2019 08:17:44 +0000 (10:17 +0200)]
Fix alt text for drag button

We had left an old placeholder text on this button.

4 years agoNever show drag icon if clipping is disabled
Pierre Ossman [Mon, 14 Oct 2019 08:15:19 +0000 (10:15 +0200)]
Never show drag icon if clipping is disabled

Toggling the enabled state is a remnant from an earlier version
of the code where we could determine if the the session is actually
clipped, and not just that the setting is enabled.

Right now we only change things based on the setting, so let's
completely hide the button when clipping is disabled.

4 years agoUpdate copyright to 2019 for modified files
Samuel Mannehed [Mon, 30 Sep 2019 13:35:33 +0000 (15:35 +0200)]
Update copyright to 2019 for modified files

4 years agoCode comments for how the receieve queue works
Samuel Mannehed [Wed, 25 Sep 2019 19:04:46 +0000 (21:04 +0200)]
Code comments for how the receieve queue works

4 years agoClarify why we ENABLE_COPYWITHIN is false
Samuel Mannehed [Wed, 25 Sep 2019 19:03:37 +0000 (21:03 +0200)]
Clarify why we ENABLE_COPYWITHIN is false

4 years agoMerge pull request #1298 from CendioNiko/edgeCursorURI
Samuel Mannehed [Wed, 25 Sep 2019 12:46:58 +0000 (14:46 +0200)]
Merge pull request #1298 from CendioNiko/edgeCursorURI

Fix url cursor detection on Edge

4 years agoMerge pull request #1299 from CendioNiko/vmwarecursor
Samuel Mannehed [Wed, 25 Sep 2019 12:45:29 +0000 (14:45 +0200)]
Merge pull request #1299 from CendioNiko/vmwarecursor

Add support for VMware cursor encoding

4 years agoMerge pull request #1289 from CendioNiko/master
Samuel Mannehed [Wed, 25 Sep 2019 12:43:55 +0000 (14:43 +0200)]
Merge pull request #1289 from CendioNiko/master

Desktop name improvements

4 years agoMerge pull request #1281 from jalfd/optimize-receive-buffer
Samuel Mannehed [Wed, 25 Sep 2019 11:26:02 +0000 (13:26 +0200)]
Merge pull request #1281 from jalfd/optimize-receive-buffer

Optimize receive buffer

4 years agoClarify comments for broken alt in FF on Windows
Samuel Mannehed [Tue, 24 Sep 2019 14:00:05 +0000 (16:00 +0200)]
Clarify comments for broken alt in FF on Windows

4 years agoMerge pull request #1280 from jalfd/alt-key-recursion
Samuel Mannehed [Tue, 24 Sep 2019 13:56:13 +0000 (15:56 +0200)]
Merge pull request #1280 from jalfd/alt-key-recursion

Avoid recursion in Alt check on Firefox

4 years agoMerge pull request #1279 from CendioOssman/nomodule
Samuel Mannehed [Tue, 24 Sep 2019 13:40:05 +0000 (15:40 +0200)]
Merge pull request #1279 from CendioOssman/nomodule

Use "nomodule" instead of manual check

4 years agoUse "nomodule" instead of manual check
Pierre Ossman [Fri, 16 Aug 2019 09:18:45 +0000 (11:18 +0200)]
Use "nomodule" instead of manual check

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.

4 years agoAdd support for VMware cursor encoding
Niko Lehto [Tue, 17 Sep 2019 07:28:30 +0000 (09:28 +0200)]
Add support for VMware cursor encoding

Supports both classic cursor type and alpha cursor type. In classic
mode the server can send 'inverted' pixels for the cursor, our code
does not support this but handles these pixels as opaque black.

Co-authored-by: Samuel Mannehed <samuel@cendio.se>
4 years agoFix url cursor detection on Edge
Niko Lehto [Mon, 23 Sep 2019 08:50:45 +0000 (10:50 +0200)]
Fix url cursor detection on Edge

_supportCursorURIs was set to true even when Edge didn't support
URIs because the fallback value "default" was used.

4 years agoRestore page name after disconnect
Niko Lehto [Wed, 4 Sep 2019 13:05:14 +0000 (15:05 +0200)]
Restore page name after disconnect

4 years agoTest unicode desktop names
Niko Lehto [Wed, 4 Sep 2019 12:47:40 +0000 (14:47 +0200)]
Test unicode desktop names

4 years agoAdd support for DesktopName extension
Niko Lehto [Wed, 4 Sep 2019 12:23:37 +0000 (14:23 +0200)]
Add support for DesktopName extension

This extension allows session name to be changed during runtime.

4 years agoSet viewport size for autoscale tests
Pierre Ossman [Fri, 23 Aug 2019 13:48:30 +0000 (15:48 +0200)]
Set viewport size for autoscale tests

We were incorrectly relying on the viewport being indirectly set
for us. Make sure we are explicit in what we want for these tests.

4 years agoMerge branch 'upgrade' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 23 Aug 2019 13:08:56 +0000 (15:08 +0200)]
Merge branch 'upgrade' of https://github.com/CendioOssman/noVNC

4 years agoRemove pointless Display.clear()
Pierre Ossman [Fri, 23 Aug 2019 13:05:58 +0000 (15:05 +0200)]
Remove pointless Display.clear()

It served no meaningful purpose and it had bugs. So let's remove it
rather than try to fix it.

4 years agoRemove unused Display.logo attribute
Pierre Ossman [Fri, 23 Aug 2019 13:03:13 +0000 (15:03 +0200)]
Remove unused Display.logo attribute

4 years agoDeprecate showDotCursor option for RFB constructor
Pierre Ossman [Fri, 23 Aug 2019 11:58:40 +0000 (13:58 +0200)]
Deprecate showDotCursor option for RFB constructor

It is not relevant for the connection stage so it should not have
been a constructor argument to begin with. Ship with a warning for
a release before we remove it.

4 years agoMake sure showDotCursor can be modified before connecting
Pierre Ossman [Fri, 23 Aug 2019 11:57:30 +0000 (13:57 +0200)]
Make sure showDotCursor can be modified before connecting

The cursor object is only attached to our canvas whilst connecting,
so we need to make sure we don't try to update anything when were
not connected or we'll get a crash.

4 years agoRegenerate module loader after tool upgrades
Pierre Ossman [Thu, 15 Aug 2019 13:39:35 +0000 (15:39 +0200)]
Regenerate module loader after tool upgrades

4 years agoUse latest versions of development dependencies
Pierre Ossman [Thu, 15 Aug 2019 13:39:04 +0000 (15:39 +0200)]
Use latest versions of development dependencies

Let's make sure we get the latest features and fixes for all the
tools we are using.

4 years agoUse latest NodeJS version in Travis
Pierre Ossman [Mon, 19 Aug 2019 09:37:18 +0000 (11:37 +0200)]
Use latest NodeJS version in Travis

We want the latest and not be stuck on some old version. Otherwise
our scripts might not execute correctly.

4 years agoMake sure translation tools are lint checked
Pierre Ossman [Thu, 15 Aug 2019 13:53:10 +0000 (15:53 +0200)]
Make sure translation tools are lint checked

They do not have a .js suffix so eslint isn't finding them
automatically.

4 years agoWhen compacting the receive buffer don't copy unused buffer space
Jesper Alf Dam [Wed, 7 Aug 2019 09:12:35 +0000 (11:12 +0200)]
When compacting the receive buffer don't copy unused buffer space

When compacting the receive buffer, we should only copy the bytes
between _rQi and _rQlen (the index of the first unread byte, and the
next write position).

Previously, we copied everything for _rQi up untill the end of the
buffer.

4 years agoDon't compact the receive buffer unless we've actually run out of space
Jesper Alf Dam [Wed, 7 Aug 2019 09:03:12 +0000 (11:03 +0200)]
Don't compact the receive buffer unless we've actually run out of space

Previously, we would compact the buffer (moving unread data to the
start of the buffer) as follows:

- after processing a message, if there are zero unread bytes, just reset
  the indices for first and last unread byte to zero
- else, if at least 1/8th of the buffer is used, copy remaining data to the beginning of the buffer

The second option is never actually necessary, as before inserting new data
into the array, we already check if there's enough free space, and
compact the buffer first if necessary. So we've been doing a lot of
copies that weren't actually needed. Let's not do that any more.

4 years agoAvoid recursion in Alt check on Firefox
Jesper Alf Dam [Fri, 16 Aug 2019 12:27:12 +0000 (14:27 +0200)]
Avoid recursion in Alt check on Firefox

The Firefox workaround which checks for missing Alt key events may
synthesise new KeyboardEvents. On these events, checkAlt should not be
recursively triggered. Otherwise, we get "too much recursion" errors
whenever the Alt key is pressed.

4 years agoFix trivial lint issues in translation tools
Pierre Ossman [Thu, 15 Aug 2019 13:51:43 +0000 (15:51 +0200)]
Fix trivial lint issues in translation tools

Indentation, missing semicolon, etc.

4 years agoUpgrade to latest rollup
Pierre Ossman [Thu, 15 Aug 2019 13:38:21 +0000 (15:38 +0200)]
Upgrade to latest rollup

4 years agoRemove unused import from module loader
Pierre Ossman [Thu, 15 Aug 2019 13:37:13 +0000 (15:37 +0200)]
Remove unused import from module loader

4 years agoUpgrade to latest sinon and chai
Pierre Ossman [Thu, 15 Aug 2019 13:35:30 +0000 (15:35 +0200)]
Upgrade to latest sinon and chai

4 years agoAvoid deprecated called.once from sinon-chai
Pierre Ossman [Thu, 15 Aug 2019 13:34:09 +0000 (15:34 +0200)]
Avoid deprecated called.once from sinon-chai

It's been removed in newer versions and will break eventually.

4 years agoAdded a Snap package for noVNC (#1231)
Tim Edwards [Thu, 25 Jul 2019 20:22:48 +0000 (06:22 +1000)]
Added a Snap package for noVNC (#1231)

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.

4 years agoAdd missing parentheses for arrow func arg
Samuel Mannehed [Tue, 23 Jul 2019 14:12:22 +0000 (16:12 +0200)]
Add missing parentheses for arrow func arg

Our lint tests expect this when an arrow functino has a body with
curly braces.

4 years agoAdd documentation for the option showDotCursor
Samuel Mannehed [Tue, 23 Jul 2019 14:07:17 +0000 (16:07 +0200)]
Add documentation for the option showDotCursor

This is not only a property, it's also a parameter to the constructor.

4 years agoRemove the default value of wsProtocols
Samuel Mannehed [Tue, 23 Jul 2019 13:40:57 +0000 (15:40 +0200)]
Remove the default value of wsProtocols

Using the 'binary' protocol by default is very non-standard.

4 years agoMerge pull request #1262 from shiramax/sub_protocols
Samuel Mannehed [Tue, 23 Jul 2019 13:24:10 +0000 (15:24 +0200)]
Merge pull request #1262 from shiramax/sub_protocols

Add support in websocket sub-protocols

4 years agoAdd support in websocket sub-protocols
Shira Maximov [Wed, 17 Jul 2019 07:25:05 +0000 (10:25 +0300)]
Add support in websocket sub-protocols

4 years agoMerge pull request #1265 from juanjoDiaz/add_version_number_to_UI_2
Samuel Mannehed [Tue, 23 Jul 2019 09:51:09 +0000 (11:51 +0200)]
Merge pull request #1265 from juanjoDiaz/add_version_number_to_UI_2

Add version number to UI

4 years agoAdd version number to UI
Juanjo Diaz [Fri, 19 Jul 2019 11:21:40 +0000 (14:21 +0300)]
Add version number to UI

4 years agoUpdate link to websock.js API
Samuel Mannehed [Mon, 15 Jul 2019 12:05:24 +0000 (14:05 +0200)]
Update link to websock.js API

4 years agoMerge pull request #1259 from lyarwood/launch.sh
Samuel Mannehed [Sun, 14 Jul 2019 21:31:10 +0000 (23:31 +0200)]
Merge pull request #1259 from lyarwood/launch.sh

launch.sh: Check for a local websockify directory

4 years agolaunch.sh: Check for a local websockify directory
Lee Yarwood [Tue, 9 Jul 2019 11:12:43 +0000 (12:12 +0100)]
launch.sh: Check for a local websockify directory

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.

4 years agoMerge branch 'add-japanese-translation' of https://github.com/nnn1590/noVNC
Pierre Ossman [Thu, 13 Jun 2019 11:59:35 +0000 (13:59 +0200)]
Merge branch 'add-japanese-translation' of https://github.com/nnn1590/noVNC

4 years agoAdd support for separate key file in launch script
Pierre Ossman [Thu, 13 Jun 2019 11:51:56 +0000 (13:51 +0200)]
Add support for separate key file in launch script

4 years agoAdd Japanese translation
nnn1590 [Tue, 11 Jun 2019 19:30:56 +0000 (04:30 +0900)]
Add Japanese translation

4 years agoRevert "Fullscreen from iframe (#1236)" (#1247)
Samuel Mannehed [Sat, 25 May 2019 00:51:38 +0000 (02:51 +0200)]
Revert "Fullscreen from iframe (#1236)" (#1247)

This reverts commit 19cdc15aa314760446866a1bcc2db99a80479683.

5 years agoRemove server pixel format warnings
Pierre Ossman [Fri, 24 May 2019 11:06:26 +0000 (13:06 +0200)]
Remove server pixel format warnings

These are harmless and really only for debugging. So remove them
as they tend to trick people in to thinking something is wrong.
We already print the entire server pixel format earlier anyway in
case we need the details.

5 years agoFullscreen from iframe (#1236)
Ján Jockusch [Mon, 13 May 2019 13:06:32 +0000 (15:06 +0200)]
Fullscreen from iframe (#1236)

* First attempt to make the fullscreen button work inside an iframe.

* Cleaner distinction between document element and document.

* Scoping corrections. Auto-detect correct iframe.

* Added comments to the relevant sections.

* IE issue fixed.

* Same source issue solved. fullscreenToggle now checks if it is permitted to inspect other iframes.

5 years agoDon't do cleanup on deploy
Pierre Ossman [Mon, 15 Apr 2019 13:45:21 +0000 (15:45 +0200)]
Don't do cleanup on deploy

Travis wipes out node_modules otherwise, which we need for the prepare
stages of the deployment to npm.

5 years agonoVNC 1.1.0 v1.1.0
Samuel Mannehed [Tue, 9 Apr 2019 14:29:53 +0000 (16:29 +0200)]
noVNC 1.1.0

5 years agoUpdate generated JS files for translations
Samuel Mannehed [Tue, 9 Apr 2019 14:22:16 +0000 (16:22 +0200)]
Update generated JS files for translations

5 years agoUpdate Dutch translations
Samuel Mannehed [Tue, 9 Apr 2019 14:21:35 +0000 (16:21 +0200)]
Update Dutch translations

Co-authored-by: Arend Lapere <arend.lapere@gmail.com>
5 years agoUpdate Swedish translations
Samuel Mannehed [Tue, 9 Apr 2019 14:21:19 +0000 (16:21 +0200)]
Update Swedish translations

5 years agoAllow autoscale() with zero height or width
Samuel Mannehed [Tue, 2 Apr 2019 14:45:51 +0000 (16:45 +0200)]
Allow autoscale() with zero height or width

Commit 6e7e6f9 stopped the function from running if width or height was
zero, this commit reverts that change. This commit also makes the
resulting canvas 0x0 if autoscale is called with zero. By adding this
special case we can avoid division by zero in the calculations.

5 years agoGet rid of self-closing tags
Pierre Ossman [Tue, 2 Apr 2019 12:22:34 +0000 (14:22 +0200)]
Get rid of self-closing tags

This is a remnant of XHTML and not used in standard HTML. Get rid
of them so that no-one mistakes our files for being XHTML compatible.