]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
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.

5 years agoFix up errors and warnings in vnc_playback.html
Pierre Ossman [Tue, 26 Mar 2019 14:21:31 +0000 (15:21 +0100)]
Fix up errors and warnings in vnc_playback.html

Remove the styling, as it isn't really needed, and fix some minor
things that the w3c validator complains about.

5 years agoValidate HTML and CSS in Travis
Pierre Ossman [Tue, 26 Mar 2019 08:42:22 +0000 (09:42 +0100)]
Validate HTML and CSS in Travis

5 years agoAdd translations as a feature
Samuel Mannehed [Thu, 21 Mar 2019 12:57:16 +0000 (13:57 +0100)]
Add translations as a feature

5 years agoMerge pull request #1218 from samhed/htmlformat
Samuel Mannehed [Thu, 14 Mar 2019 13:44:10 +0000 (14:44 +0100)]
Merge pull request #1218 from samhed/htmlformat

Some formatting fixes for HTML files

5 years agoRemove trailing whitespace
Samuel Mannehed [Thu, 14 Mar 2019 13:17:04 +0000 (14:17 +0100)]
Remove trailing whitespace

5 years agoConsistently end self closing tags with />
Samuel Mannehed [Wed, 13 Mar 2019 15:51:42 +0000 (16:51 +0100)]
Consistently end self closing tags with />

Even though this isn't strictly required by the standard its nice to be
consistent.

5 years agoRemove invalid HTML attributes from textarea
Samuel Mannehed [Wed, 13 Mar 2019 13:36:23 +0000 (14:36 +0100)]
Remove invalid HTML attributes from textarea

5 years agoimg elements must have alt attributes
Samuel Mannehed [Wed, 13 Mar 2019 13:33:42 +0000 (14:33 +0100)]
img elements must have alt attributes

5 years agoFix invalid input type 'input'
Samuel Mannehed [Wed, 13 Mar 2019 13:31:17 +0000 (14:31 +0100)]
Fix invalid input type 'input'

5 years agoInput type image is not allowed to have values
Samuel Mannehed [Wed, 13 Mar 2019 13:25:08 +0000 (14:25 +0100)]
Input type image is not allowed to have values

5 years agoRemove unnecessary type attributes
Samuel Mannehed [Thu, 14 Mar 2019 13:11:52 +0000 (14:11 +0100)]
Remove unnecessary type attributes

5 years agoRemove X-UA-Compatible meta tag
Samuel Mannehed [Wed, 13 Mar 2019 13:20:12 +0000 (14:20 +0100)]
Remove X-UA-Compatible meta tag

It's only required if we wanted support IE8, IE9 or older. We require at
least IE11 at the moment.

5 years agoAdd default language
Samuel Mannehed [Wed, 13 Mar 2019 13:19:51 +0000 (14:19 +0100)]
Add default language

5 years agoAdd check for bad values for Display.autoscale()
Samuel Mannehed [Fri, 8 Mar 2019 15:30:43 +0000 (16:30 +0100)]
Add check for bad values for Display.autoscale()

5 years agoMerge pull request #1204 from juanjoDiaz/small_improvements
Samuel Mannehed [Mon, 4 Mar 2019 08:32:11 +0000 (09:32 +0100)]
Merge pull request #1204 from juanjoDiaz/small_improvements

Small improvements

5 years agoRemove callbacks from UI in favour of promises
Juanjo Diaz [Sun, 17 Feb 2019 12:12:28 +0000 (14:12 +0200)]
Remove callbacks from UI in favour of promises

5 years agoReplace unnecessary function supportsCursorURIs by a constant variable
Juanjo Diaz [Wed, 27 Feb 2019 08:14:50 +0000 (10:14 +0200)]
Replace unnecessary function supportsCursorURIs by a constant variable

5 years agoMove support check from display to browser
Juanjo Diaz [Wed, 27 Feb 2019 08:13:50 +0000 (10:13 +0200)]
Move support check from display to browser

5 years agoAdd Russian translation (#1211)
Dmitriy Shweew [Wed, 27 Feb 2019 00:24:22 +0000 (04:24 +0400)]
Add Russian translation (#1211)

By Dmitriy Shweew (shweew)

5 years agoConvert DES into a class
Juanjo Diaz [Sat, 16 Feb 2019 22:25:33 +0000 (00:25 +0200)]
Convert DES into a class

5 years agoUse default argument for base64
Juanjo Diaz [Sat, 16 Feb 2019 21:36:16 +0000 (23:36 +0200)]
Use default argument for base64

5 years agoRemove unnecessary context from eventtarget
Juanjo Diaz [Sat, 16 Feb 2019 21:34:13 +0000 (23:34 +0200)]
Remove unnecessary context from eventtarget

5 years agoRemove unnecessary constructor parameter from Cursor
Juanjo Diaz [Sat, 16 Feb 2019 21:33:49 +0000 (23:33 +0200)]
Remove unnecessary constructor parameter from Cursor

5 years agoRemove intermediate variable from mouse
Juanjo Diaz [Sat, 16 Feb 2019 21:31:58 +0000 (23:31 +0200)]
Remove intermediate variable from mouse

5 years agoRemove error handling in clientCutText()
Pierre Ossman [Fri, 15 Feb 2019 12:14:36 +0000 (13:14 +0100)]
Remove error handling in clientCutText()

It is not necessary as Websock.flush() is guaranteed to succeed and
give us some space. It also remove the call to _fail(), which was
invalid at this place as clientCutText() is not a method on RFB.

5 years agoThrow correct Error object
Pierre Ossman [Fri, 15 Feb 2019 12:01:28 +0000 (13:01 +0100)]
Throw correct Error object

We've already defined the name Error as a logging function, so we
need to be more explicit when we want to refer to the exception
class.

5 years agoMerge branch 'slowdata' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 15 Feb 2019 09:40:49 +0000 (10:40 +0100)]
Merge branch 'slowdata' of https://github.com/CendioOssman/noVNC

5 years agoSend data one byte at a time in tests
Pierre Ossman [Fri, 15 Feb 2019 09:26:27 +0000 (10:26 +0100)]
Send data one byte at a time in tests

This makes sure we don't have code assuming that everything is
neatly packaged in a single WebSocket message.

5 years agoClean up RFB._rfb_auth_schema assignment
Pierre Ossman [Fri, 15 Feb 2019 09:25:50 +0000 (10:25 +0100)]
Clean up RFB._rfb_auth_schema assignment

5 years agoFix security failure reason handling of slow data
Pierre Ossman [Fri, 15 Feb 2019 09:24:41 +0000 (10:24 +0100)]
Fix security failure reason handling of slow data

Things would break if the security result and security reason did
not arrive in the same WebSocket message.

5 years agoFix version handshake to handle slow data
Pierre Ossman [Fri, 15 Feb 2019 09:23:32 +0000 (10:23 +0100)]
Fix version handshake to handle slow data

5 years agoUse arrow function to avoid bind
Pierre Ossman [Fri, 15 Feb 2019 09:22:27 +0000 (10:22 +0100)]
Use arrow function to avoid bind

5 years agoConsume data properly in Hextile decoder
Pierre Ossman [Thu, 14 Feb 2019 15:57:26 +0000 (16:57 +0100)]
Consume data properly in Hextile decoder

We accidentally removed the code updating the data index in 8a189a6,
resulting in the decoder newer consuming any data. So the data would
be parsed as the next rect, causing weird errors.

5 years agoMerge pull request #1190 from saucelabs/screen_background
Samuel Mannehed [Mon, 21 Jan 2019 12:39:31 +0000 (13:39 +0100)]
Merge pull request #1190 from saucelabs/screen_background

Make the screen background customizable

5 years agoMake the screen background cutomizable
Mykola Mokhnach [Fri, 18 Jan 2019 18:36:23 +0000 (19:36 +0100)]
Make the screen background cutomizable

5 years agoFix naming of Korean translation file
Pierre Ossman [Wed, 16 Jan 2019 10:08:45 +0000 (11:08 +0100)]
Fix naming of Korean translation file

5 years agoUpdate translation template file
Pierre Ossman [Wed, 16 Jan 2019 10:07:56 +0000 (11:07 +0100)]
Update translation template file

5 years agoFix copyright tag in translations
Pierre Ossman [Wed, 16 Jan 2019 10:07:31 +0000 (11:07 +0100)]
Fix copyright tag in translations

5 years agoAdd Korean translation
Baw_Appie [Mon, 14 Jan 2019 12:12:40 +0000 (21:12 +0900)]
Add Korean translation

5 years agoMerge pull request #1182 from novnc/scrollbarsfortouch
Samuel Mannehed [Mon, 14 Jan 2019 21:29:47 +0000 (22:29 +0100)]
Merge pull request #1182 from novnc/scrollbarsfortouch

Enable scrollbars for all touch devices aside from Android and iOS

5 years agoMerge branch 'npm' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 11 Jan 2019 12:42:31 +0000 (13:42 +0100)]
Merge branch 'npm' of https://github.com/CendioOssman/noVNC

5 years agoRevert 'prepare' to 'prepublish'
Pierre Ossman [Fri, 11 Jan 2019 11:37:18 +0000 (12:37 +0100)]
Revert 'prepare' to 'prepublish'

Travis uses a so ancient version of npm that it doesn't support
'prepare', so we have to continue using 'prepublish' for now.

5 years agoChange to Ossman's NPM authentication
Pierre Ossman [Thu, 20 Dec 2018 15:08:36 +0000 (16:08 +0100)]
Change to Ossman's NPM authentication

Solly's doesn't seem to work anymore, so switch to mine.

5 years agoAvoid extra environment for Travis deploy stage
Pierre Ossman [Thu, 13 Dec 2018 12:34:49 +0000 (13:34 +0100)]
Avoid extra environment for Travis deploy stage

These are not needed, so keep things more clear by skipping them.

5 years agoList main entry point for our NPM config
Pierre Ossman [Thu, 13 Dec 2018 09:44:52 +0000 (10:44 +0100)]
List main entry point for our NPM config

5 years agoExplicitly list what we want in our NPM package
Pierre Ossman [Thu, 13 Dec 2018 09:43:34 +0000 (10:43 +0100)]
Explicitly list what we want in our NPM package

Switch over to explicitly listing what we want to include, rather
than listing what we don't want to include. There is too much risk
of getting random junk from your working copy otherwise. This should
also hopefully complain if something is missing.

5 years agoOnly disable scrollbars on Android and iOS
Samuel Mannehed [Wed, 9 Jan 2019 12:20:29 +0000 (13:20 +0100)]
Only disable scrollbars on Android and iOS

Previously scrollbars were disabled on all touch devices. This meant
that they were disabled on Windows when touch was detected. Windows does
in fact have useful scrollbars even in touch mode. Fixes Issue #1172

5 years agoMove UI.isSafari into core/util/browser.js
Samuel Mannehed [Wed, 9 Jan 2019 12:08:01 +0000 (13:08 +0100)]
Move UI.isSafari into core/util/browser.js

This is where the rest of these kinds of functions are.

5 years agoReorder browser and platform info functions
Samuel Mannehed [Wed, 9 Jan 2019 12:05:25 +0000 (13:05 +0100)]
Reorder browser and platform info functions

Platform info functions grouped together and browser info functions
grouped together.

5 years agoMerge pull request #1179 from ssebs/super-key-feature
Samuel Mannehed [Wed, 9 Jan 2019 09:41:32 +0000 (10:41 +0100)]
Merge pull request #1179 from ssebs/super-key-feature

Super key feature

5 years agoAdd Windows Key Feature
Sebastian Safari [Fri, 21 Dec 2018 17:33:26 +0000 (09:33 -0800)]
Add Windows Key Feature

5 years agoMerge branch 'user_getters_and_setters_in_websock' of https://github.com/juanjoDiaz...
Pierre Ossman [Tue, 8 Jan 2019 11:26:17 +0000 (12:26 +0100)]
Merge branch 'user_getters_and_setters_in_websock' of https://github.com/juanjoDiaz/noVNC

5 years agoUse CustomEvent for playback events
Pierre Ossman [Tue, 8 Jan 2019 11:25:42 +0000 (12:25 +0100)]
Use CustomEvent for playback events

Stop abusing Event as that doesn't work everwhere.

5 years agoAvoid using String.prototype.startsWith()
Pierre Ossman [Tue, 8 Jan 2019 11:25:01 +0000 (12:25 +0100)]
Avoid using String.prototype.startsWith()

IE doesn't support it.

5 years agoPre-convert recordings for playback
Pierre Ossman [Tue, 8 Jan 2019 10:05:05 +0000 (11:05 +0100)]
Pre-convert recordings for playback

Convert the recordings ahead of time instead of during the playback.
That way we aren't messing up the profiling with time spent converting
data, rather than processing it.

5 years agoExtract rQshift to common function
Juanjo Diaz [Sat, 8 Dec 2018 15:32:00 +0000 (17:32 +0200)]
Extract rQshift to common function

5 years agoAdd getters/setter to websock
Juanjo Diaz [Sat, 8 Dec 2018 15:31:20 +0000 (17:31 +0200)]
Add getters/setter to websock

5 years agoMerge pull request #1165 from juanjoDiaz/throw_errors_instead_of_strings
Samuel Mannehed [Mon, 26 Nov 2018 18:09:44 +0000 (19:09 +0100)]
Merge pull request #1165 from juanjoDiaz/throw_errors_instead_of_strings

Throw Error instead of String

5 years agoMerge pull request #1166 from juanjoDiaz/simplify_EventTargetMixin
Samuel Mannehed [Mon, 26 Nov 2018 17:42:10 +0000 (18:42 +0100)]
Merge pull request #1166 from juanjoDiaz/simplify_EventTargetMixin

Simplify EventTargetMixin

5 years agoMerge pull request #1168 from juanjoDiaz/use_new_error
Samuel Mannehed [Mon, 26 Nov 2018 17:36:10 +0000 (18:36 +0100)]
Merge pull request #1168 from juanjoDiaz/use_new_error

Use `new` when constructing errors

5 years agoSimplify EventTargetMixin
Juanjo Diaz [Sat, 24 Nov 2018 18:18:24 +0000 (20:18 +0200)]
Simplify EventTargetMixin

5 years agoUse `new` when constructing errors
Juanjo Diaz [Sat, 24 Nov 2018 19:44:11 +0000 (21:44 +0200)]
Use `new` when constructing errors

5 years agoThrow Error instead of String
Juanjo Diaz [Sat, 24 Nov 2018 17:47:57 +0000 (19:47 +0200)]
Throw Error instead of String

5 years agoDont reset touch mouse button state for view-only
Samuel Mannehed [Thu, 1 Nov 2018 10:22:19 +0000 (11:22 +0100)]
Dont reset touch mouse button state for view-only

Fixes bug introduced in 61f93180c8cbdc6259d0b083b51f169053f66f8c.

5 years agoFix chinese translation of "Connect"
Samuel Mannehed [Thu, 1 Nov 2018 10:04:03 +0000 (11:04 +0100)]
Fix chinese translation of "Connect"

Thanks to Lyon Hu (@chnhyg) for finding the issue.

5 years agoCzech translation
Petr [Fri, 19 Oct 2018 11:01:39 +0000 (13:01 +0200)]
Czech translation

5 years agoChange copyright header (#1138)
Solly Ross [Tue, 9 Oct 2018 10:15:35 +0000 (06:15 -0400)]
Change copyright header (#1138)

* 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.

5 years agoAdd tests for Cursor encoding
Pierre Ossman [Tue, 18 Sep 2018 09:35:48 +0000 (11:35 +0200)]
Add tests for Cursor encoding

5 years agoFix cursor encoding handling from earlier merge
Pierre Ossman [Tue, 18 Sep 2018 09:06:13 +0000 (11:06 +0200)]
Fix cursor encoding handling from earlier merge

Old code snuck in when merging the split of decoders to separate
classes. Restore the proper handling of cursors.

5 years agoMerge branch 'style' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Mon, 17 Sep 2018 11:50:59 +0000 (13:50 +0200)]
Merge branch 'style' of https://github.com/CendioOssman/noVNC

5 years agoMerge branch 'decoders' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Mon, 17 Sep 2018 11:47:12 +0000 (13:47 +0200)]
Merge branch 'decoders' of https://github.com/CendioOssman/noVNC

5 years agoMerge pull request #1119 from patrakov/master
Samuel Mannehed [Sun, 16 Sep 2018 09:20:34 +0000 (11:20 +0200)]
Merge pull request #1119 from patrakov/master

Show dot when there otherwise would be no visible cursor

5 years agoShow dot when there is no visible cursor
Alexander E. Patrakov [Sat, 11 Aug 2018 19:17:16 +0000 (03:17 +0800)]
Show dot when there is no visible cursor

Disabled by default.

5 years agoMoved the "pixels + mask -> RGBA" logic to rfb.js
Alexander E. Patrakov [Sat, 11 Aug 2018 17:43:38 +0000 (01:43 +0800)]
Moved the "pixels + mask -> RGBA" logic to rfb.js

As requested by Pierre Ossman - he needs this for supporting other
cursor extensions.

5 years agoEnforce switch colon spacing
Pierre Ossman [Thu, 6 Sep 2018 15:36:48 +0000 (17:36 +0200)]
Enforce switch colon spacing

5 years agoEnforce space after function name
Pierre Ossman [Thu, 6 Sep 2018 15:34:15 +0000 (17:34 +0200)]
Enforce space after function name

5 years agoEnforce space before code block
Pierre Ossman [Thu, 6 Sep 2018 15:29:26 +0000 (17:29 +0200)]
Enforce space before code block

5 years agoEnforce explicit semi-colons
Pierre Ossman [Thu, 6 Sep 2018 15:25:02 +0000 (17:25 +0200)]
Enforce explicit semi-colons

5 years agoEnforce curly braces for control statements
Pierre Ossman [Thu, 6 Sep 2018 15:22:40 +0000 (17:22 +0200)]
Enforce curly braces for control statements

5 years agoEnforce no trailing whitespace
Pierre Ossman [Thu, 6 Sep 2018 15:12:45 +0000 (17:12 +0200)]
Enforce no trailing whitespace

5 years agoEnforce keyword spacing
Pierre Ossman [Thu, 6 Sep 2018 15:08:19 +0000 (17:08 +0200)]
Enforce keyword spacing

5 years agoEnforce object key spacing
Pierre Ossman [Thu, 6 Sep 2018 15:07:11 +0000 (17:07 +0200)]
Enforce object key spacing

5 years agoEnforce function declaration style
Pierre Ossman [Thu, 6 Sep 2018 15:01:43 +0000 (17:01 +0200)]
Enforce function declaration style

5 years agoEnforce function names
Pierre Ossman [Thu, 6 Sep 2018 14:53:40 +0000 (16:53 +0200)]
Enforce function names

5 years agoEnforce function call spacing
Pierre Ossman [Thu, 6 Sep 2018 14:46:38 +0000 (16:46 +0200)]
Enforce function call spacing

5 years agoEnforce comma style
Pierre Ossman [Thu, 6 Sep 2018 14:44:53 +0000 (16:44 +0200)]
Enforce comma style

5 years agoEnforce comma spacing
Pierre Ossman [Thu, 6 Sep 2018 14:43:31 +0000 (16:43 +0200)]
Enforce comma spacing

5 years agoEnforce indentation
Pierre Ossman [Thu, 6 Sep 2018 14:17:43 +0000 (16:17 +0200)]
Enforce indentation

5 years agoDon't lint xtscancodes.js
Pierre Ossman [Thu, 6 Sep 2018 14:36:09 +0000 (16:36 +0200)]
Don't lint xtscancodes.js

It's generated by another project so we cannot control the style
of it.

5 years agoEnforce brace style
Pierre Ossman [Thu, 6 Sep 2018 13:39:26 +0000 (15:39 +0200)]
Enforce brace style

5 years agoMerge pull request #1129 from novnc/vnclitecleanup
Samuel Mannehed [Tue, 28 Aug 2018 08:46:11 +0000 (10:46 +0200)]
Merge pull request #1129 from novnc/vnclitecleanup

Cleanup of vnc_lite.html

5 years agoLimit line length to 80 in vnc_lite
Samuel Mannehed [Tue, 28 Aug 2018 08:34:00 +0000 (10:34 +0200)]
Limit line length to 80 in vnc_lite

5 years agoAdd a screen element for vnc_lite.html
Samuel Mannehed [Tue, 21 Aug 2018 09:29:39 +0000 (11:29 +0200)]
Add a screen element for vnc_lite.html

Makes it clearer where the remote screen will be created.

5 years agoSimplify element names in vnc_lite
Samuel Mannehed [Tue, 21 Aug 2018 09:29:05 +0000 (11:29 +0200)]
Simplify element names in vnc_lite

5 years agoCreate our own button for CtrlAltDel in vnc_lite
Samuel Mannehed [Tue, 21 Aug 2018 09:24:08 +0000 (11:24 +0200)]
Create our own button for CtrlAltDel in vnc_lite

In order to have better control of the layout and to make the code
easier to follow. Using input type button or buttons will imply a lot of
built in styling that differs from browser to browser.