Commit Graph

1594 Commits

Author SHA1 Message Date
Samuel Mannehed 061488f8f1 Fix Dutch translation for "Reconnecting..." 2017-10-11 16:19:22 +02:00
Samuel Mannehed 76fa34a635 Update .json for Dutch and Swedish translations 2017-10-11 10:52:48 +02:00
Samuel Mannehed a7fbab732a Merge pull request #921 from yvanoers/master
Update Dutch translation
2017-10-11 10:11:55 +02:00
Samuel Mannehed 61c37685f6 Merge pull request #920 from flumm/german
updated german translations
2017-10-11 10:01:34 +02:00
Dominik Csapak b420b966a3 updated german translations
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 07:09:50 +00:00
Samuel Mannehed e4791eac9d Merge pull request #922 from kosmasgiannis/greek
Update Greek translation
2017-10-11 09:04:13 +02:00
Giannis Kosmas 4e2de902e7 Update Greek translation 2017-10-11 09:52:26 +03:00
Samuel Mannehed b461fb7c3a Merge pull request #901 from mariuszjamro/master
Add polish translation
2017-10-11 08:27:27 +02:00
Yuri van Oers bd7125c774 Update Dutch translations 2017-10-10 21:51:23 +02:00
Mariusz Jamro a0513c87c7 Add polish translation 2017-10-10 15:37:31 +02:00
Pierre Ossman bf82644461 Get proper same-origin behaviour when loading modules
The browsers currently do not default to same-origin behaviour for
modules, so we need to be explicit in order for necessary
credentials to be passed along. This seems to be changing though,
but we need to wait for the browsers to actually roll out more
lenient defaults:

https://github.com/whatwg/fetch/pull/585
2017-10-09 16:00:38 +02:00
Samuel Mannehed 544106c596 Use markdown links in README 2017-10-09 11:06:15 +02:00
Samuel Mannehed 395c6f601c Add link to website in README 2017-10-09 10:58:24 +02:00
Samuel Mannehed 9e314b44e2 Merge pull request #913 from kosmasgiannis/missing_quote
Add missing quotes
2017-10-06 23:03:55 +02:00
Samuel Mannehed 9b8f522f15 Merge pull request #917 from kosmasgiannis/autoconnect
autoconnect variable was used before it was defined
2017-10-06 23:03:10 +02:00
Giannis Kosmas 067accb8d9 autoconnect variable was used before it was defined. 2017-10-06 22:53:52 +03:00
Pierre Ossman 69411b9ea3 Add tests for Intel AMT compatible mode 2017-10-06 13:16:36 +02:00
Giannis Kosmas eb533b2b00 Add missing quotes 2017-10-06 14:15:22 +03:00
Pierre Ossman 9ea566225a Update Swedish translation 2017-10-06 10:19:19 +02:00
Pierre Ossman b074178953 Update translation template 2017-10-06 10:09:28 +02:00
Pierre Ossman d593483ecc Make port optional in ui.js as well
It is optional in the RFB object since 1a50f68, so we don't need it
at the UI layer either.
2017-10-06 10:07:47 +02:00
Pierre Ossman 0f897520a2 Update to new jsdom API 2017-10-06 10:05:29 +02:00
Solly Ross 75393e6a77 Merge pull request #910 from novnc/infra/publish
Set up for Publishing on NPM
2017-10-05 17:30:24 -04:00
Samuel Mannehed 4a818a7ddd Merge pull request #893 from CendioOssman/amt
Basic support for Intel AMT
2017-10-05 16:59:53 +02:00
Solly Ross 458d4e6724 [release] v1.0.0-testing.2
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.
2017-10-04 15:36:06 -04:00
Solly Ross 10ab92e1ff [infra] Publish to NPM via Travis
This commit sets up Travis to publish to NPM on tags, to the
@novnc/novnc repository.
2017-10-04 15:36:05 -04:00
Solly Ross f6dd102a14 [infra] updated packaging config
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).
2017-10-04 14:29:54 -04:00
Solly Ross a80955ee7a [infra] fix vendor import paths on built files
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.
2017-10-03 19:30:20 -04:00
Solly Ross c4e5a50e09 [infra] option to clean on use_require.js
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.
2017-10-03 18:21:36 -04:00
Solly Ross b1e26cf4e7 Merge pull request #907 from DirectXMan12/tests/fix-travis
[infra] Fix Travis Sauce Auth
2017-10-03 16:27:38 -04:00
Solly Ross 1701d4b63e [infra] Fix Travis Sauce Auth
Travis-Sauce authentication somehow broke along the way.  This PR
fixes that by resetting the credentials.
2017-10-03 16:14:38 -04:00
Pierre Ossman 1cccf9b0e9 Merge branch 'fixes/polyfill' of https://github.com/qmfrederik/noVNC 2017-09-29 16:29:00 +02:00
Pierre Ossman 8290d3f271 Merge branch 'optional-port' of https://github.com/bkylerussell/noVNC 2017-09-29 16:26:02 +02:00
Frederik Carlier 14ecdc62b4 Only load ES6 module loader polyfill if needed
Safari and Chrome now have native support for modules, so we need to make sure we only load our polyfill when actually needed.
2017-09-29 14:09:25 +02:00
Samuel Mannehed 0242c03280 Restore logging properly after log tests
Our logging module keeps its own copy so we need to call init_logging in
the test cleanup to update things.
2017-09-28 14:11:44 +02:00
Samuel Mannehed 13d9108f91 Setup chai extensions centrally
They have global effects so make that clear by doing the setup in a
single place.
2017-09-28 14:10:19 +02:00
Samuel Mannehed 0aaf59c2f9 Upgrade and fix sinon.js
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.
2017-09-28 14:05:20 +02:00
Samuel Mannehed 05f032d1dd Merge pull request #896 from novnc/combinemousewheel
Combine small mouse wheel events
2017-09-27 15:37:04 +02:00
Pierre Ossman 5a5f5ada58 Basic support for Intel AMT
This restores basic support for Intel AMT servers. They refuse clients
that request more than 16 bits per pixels, so implement a fallback
in just the "Raw" encoding.
2017-09-22 15:17:56 +02:00
Pierre Ossman cd74793b44 Always hide local cursor initally
We don't know if the server will support a client side cursor, so
we have to assume a server side one to start with.
2017-09-22 15:17:56 +02:00
Pierre Ossman c7c6cb196d Remove rect arguments onFBUComplete callback
This callback is for an entire FBU, so it's not really relevant
to include info about just a single of the included rects.
2017-09-22 15:17:56 +02:00
Pierre Ossman 49a8183757 Clean up encoding handling
Allow things to be more explicit and dynamic. Makes it easier to read
and allows us to have more flexible selection of encodings in the future.
2017-09-22 15:17:56 +02:00
Samuel Mannehed d92b701393 Remove unused imports 2017-09-17 18:23:57 +02:00
Samuel Mannehed 28b004fd70 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.
2017-09-17 18:23:57 +02:00
Samuel Mannehed c1e2785fb6 Split devices.js into keyboard.js and mouse.js 2017-09-17 18:23:57 +02:00
Samuel Mannehed c509e6d9c8 Add tests for mouse module 2017-09-17 18:23:57 +02:00
Pierre Ossman c338622719 Build encoding stats array dynamically
Avoids having to hard code which encodings we might see.
2017-09-07 17:18:25 +02:00
Pierre Ossman f8ec2df2bb Add helper for encoding enumeration and names 2017-09-07 17:18:25 +02:00
Pierre Ossman 3e8b26ab58 Remove unused encoding handlers
These should never be sent by a server, so we don't need handlers
for them.
2017-09-07 17:18:25 +02:00
Pierre Ossman bc86b63c24 Remove unused helper for Tight encoding
It's already been inlined where used.
2017-09-07 17:18:25 +02:00