]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
6 years agoMerge branch 'fixes/polyfill' of https://github.com/qmfrederik/noVNC
Pierre Ossman [Fri, 29 Sep 2017 14:29:00 +0000 (16:29 +0200)]
Merge branch 'fixes/polyfill' of https://github.com/qmfrederik/noVNC

6 years agoMerge branch 'optional-port' of https://github.com/bkylerussell/noVNC
Pierre Ossman [Fri, 29 Sep 2017 14:26:02 +0000 (16:26 +0200)]
Merge branch 'optional-port' of https://github.com/bkylerussell/noVNC

6 years agoOnly load ES6 module loader polyfill if needed
Frederik Carlier [Fri, 29 Sep 2017 12:09:25 +0000 (14:09 +0200)]
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.

6 years agoRestore logging properly after log tests
Samuel Mannehed [Thu, 28 Sep 2017 12:11:44 +0000 (14:11 +0200)]
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.

6 years agoSetup chai extensions centrally
Samuel Mannehed [Thu, 28 Sep 2017 12:10:19 +0000 (14:10 +0200)]
Setup chai extensions centrally

They have global effects so make that clear by doing the setup in a
single place.

6 years agoUpgrade and fix sinon.js
Samuel Mannehed [Thu, 28 Sep 2017 12:05:20 +0000 (14:05 +0200)]
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.

6 years agoMerge pull request #896 from novnc/combinemousewheel
Samuel Mannehed [Wed, 27 Sep 2017 13:37:04 +0000 (15:37 +0200)]
Merge pull request #896 from novnc/combinemousewheel

Combine small mouse wheel events

6 years agoRemove unused imports
Samuel Mannehed [Sun, 17 Sep 2017 14:25:15 +0000 (16:25 +0200)]
Remove unused imports

6 years agoCombine small mouse wheel events
Samuel Mannehed [Tue, 12 Sep 2017 09:16:24 +0000 (11:16 +0200)]
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.

6 years agoSplit devices.js into keyboard.js and mouse.js
Samuel Mannehed [Tue, 12 Sep 2017 09:03:39 +0000 (11:03 +0200)]
Split devices.js into keyboard.js and mouse.js

6 years agoAdd tests for mouse module
Samuel Mannehed [Sun, 17 Sep 2017 14:29:59 +0000 (16:29 +0200)]
Add tests for mouse module

6 years agoRename setting_clip to setting_view_clip
Samuel Mannehed [Fri, 1 Sep 2017 12:52:26 +0000 (14:52 +0200)]
Rename setting_clip to setting_view_clip

Clarifies the purpose of the setting in order to avoid mix ups with
clipboard related things.

6 years agoRemove unused variable
Samuel Mannehed [Fri, 1 Sep 2017 11:59:10 +0000 (13:59 +0200)]
Remove unused variable

The use of this variable was removed in b18ef8162ea5fd0a72f4aa910f7fc9236a8f81f1

6 years agoInclude optional log message on errors
Pierre Ossman [Tue, 5 Sep 2017 12:31:37 +0000 (14:31 +0200)]
Include optional log message on errors

6 years agoHandle new style recordings
Pierre Ossman [Tue, 5 Sep 2017 12:31:10 +0000 (14:31 +0200)]
Handle new style recordings

Newer recordings are always binary and don't include the encoding
specifier.

6 years agoAdjust scaling when session size changes
Pierre Ossman [Wed, 16 Aug 2017 09:00:04 +0000 (11:00 +0200)]
Adjust scaling when session size changes

Session size changes can be initiated from the server, and not just
from the client. Make sure we update the scaling when this happens.

6 years agofix typscript error - the only one. (#837)
shaneharris [Sat, 5 Aug 2017 00:29:50 +0000 (01:29 +0100)]
fix typscript error - the only one. (#837)

* fix typscript error TypeScript error: novnc/core/rfb.js(1012,17): Error TS7027: Unreachable code detected.

* Update rfb.js

6 years agoMake sure the control bar hint is centered
Samuel Mannehed [Wed, 26 Jul 2017 15:06:27 +0000 (17:06 +0200)]
Make sure the control bar hint is centered

Fixed positioned flex boxes are not positioned correctly in Safari. Add
the normal top 50% translate -50% method.

Fixes issue #848.

6 years agoIE compatibility fix for babel workers
Pierre Ossman [Fri, 21 Jul 2017 13:03:52 +0000 (15:03 +0200)]
IE compatibility fix for babel workers

IE doesn't support document.currentScript, so we need to have a fallback.

6 years agoOnly send QEMU Extended Key Event if we have a scan code
Pierre Ossman [Fri, 7 Jul 2017 13:06:13 +0000 (15:06 +0200)]
Only send QEMU Extended Key Event if we have a scan code

Servers will assume that a scan code is present if this message type
is used, so fall back to the standard key event message if we don't
know the scan code.

6 years agoIgnore compositing key
Pierre Ossman [Fri, 7 Jul 2017 13:04:44 +0000 (15:04 +0200)]
Ignore compositing key

keyCode 229 is commonly used with virtual keyboards when the
system cannot map things to a specific key. As such we should
treat it as 'Unidentified'.

6 years agoMerge branch 'qemufix' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 6 Jul 2017 11:07:19 +0000 (13:07 +0200)]
Merge branch 'qemufix' of https://github.com/CendioOssman/noVNC

6 years agotry/catch guard for QEMU keyboard test
Pierre Ossman [Thu, 6 Jul 2017 10:55:26 +0000 (12:55 +0200)]
try/catch guard for QEMU keyboard test

Safari on older iOS doesn't support creating KeyboardEvent objects,
so put a guard in to avoid crashes.

6 years agoFallback for missing keypress events
Pierre Ossman [Thu, 6 Jul 2017 10:53:31 +0000 (12:53 +0200)]
Fallback for missing keypress events

IE and Edge have some corner cases (e.g. Ctrl+key) where we get
insufficient information in the keydown event, and we never get
a keypress event. Try to make a guess of the key in those cases.

6 years agoTrack keys using keyIdentifier
Pierre Ossman [Thu, 6 Jul 2017 10:52:42 +0000 (12:52 +0200)]
Track keys using keyIdentifier

This is necessary on older iOS where code isn't provided.

6 years agoAdjust import of vendor/ modules in NPM package
Pierre Ossman [Tue, 4 Jul 2017 08:10:36 +0000 (10:10 +0200)]
Adjust import of vendor/ modules in NPM package

We move the files in core/ up one directory level so we need to adjust
the imports from vendor libraries.

6 years agoProperly use babel opts
Pierre Ossman [Tue, 4 Jul 2017 08:09:04 +0000 (10:09 +0200)]
Properly use babel opts

We prepared an options object for babel, but didn't include it properly
in the final call to babel.

6 years agoDon't include unmodified vendor directory in NPM package
Pierre Ossman [Tue, 4 Jul 2017 08:08:21 +0000 (10:08 +0200)]
Don't include unmodified vendor directory in NPM package

It contains ES6 modules, so it won't be useful as-is on NPM.

6 years agoHandle iOS special keys
Pierre Ossman [Wed, 21 Jun 2017 12:02:24 +0000 (14:02 +0200)]
Handle iOS special keys

6 years agoFake key release for iOS hardware keyboards
Pierre Ossman [Wed, 21 Jun 2017 11:50:03 +0000 (13:50 +0200)]
Fake key release for iOS hardware keyboards

iOS sends decent key down events, but junk key up events when a
hardware keyboard is used. This confuses the key tracking as a
corresponding release is then never detected. To work around this
we'll treat the hardware keyboard like the virtual ones and send
the key release right away.

6 years agoScroll error stack trace
Pierre Ossman [Thu, 15 Jun 2017 11:49:27 +0000 (13:49 +0200)]
Scroll error stack trace

Make sure we get the stack trace without distortions by wrapping, or
cropping because it flows out of the screen.

6 years agoMerge branch 'ios9' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 8 Jun 2017 08:43:53 +0000 (10:43 +0200)]
Merge branch 'ios9' of https://github.com/CendioOssman/noVNC

6 years agoMerge pull request #838 from novnc/infra/fix-travis-sauce
Solly Ross [Mon, 5 Jun 2017 18:28:28 +0000 (14:28 -0400)]
Merge pull request #838 from novnc/infra/fix-travis-sauce

Fix Travis-Sauce Connection

6 years agoFix Travis-Sauce Connection
Solly Ross [Mon, 5 Jun 2017 17:33:39 +0000 (13:33 -0400)]
Fix Travis-Sauce Connection

Somethings got messed up in the Travis-Sauce tunnel setup.  This should
fix it by re-adding the Sauce credentials.  It also updates the config
to explicitly pass auth information instead of via environment
variables.

6 years agoAvoid use of 'let' and 'const'
Pierre Ossman [Fri, 2 Jun 2017 13:11:05 +0000 (15:11 +0200)]
Avoid use of 'let' and 'const'

They are not supported on older browsers, e.g. iOS 9.

6 years agoAvoid nested function declarations
Pierre Ossman [Fri, 2 Jun 2017 12:44:20 +0000 (14:44 +0200)]
Avoid nested function declarations

Not supported in older browsers, e.g. iOS 9.

6 years agoLimit use of keypress fallback
Pierre Ossman [Fri, 2 Jun 2017 12:38:16 +0000 (14:38 +0200)]
Limit use of keypress fallback

It was preventing key events for dead keys, so try to reduce it to
only cases where we must use it.

6 years agoAllow key events without symbols
Pierre Ossman [Fri, 2 Jun 2017 12:37:36 +0000 (14:37 +0200)]
Allow key events without symbols

They can still be useful if the server makes use of the keycode instead.

6 years agoFix traffic management in playback tests
Pierre Ossman [Thu, 1 Jun 2017 10:50:00 +0000 (12:50 +0200)]
Fix traffic management in playback tests

6 years agoMerge branch 'record' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 1 Jun 2017 08:29:19 +0000 (10:29 +0200)]
Merge branch 'record' of https://github.com/CendioOssman/noVNC

6 years agoGet XT scan code mappings from the keycodemapdb project
Pierre Ossman [Wed, 31 May 2017 14:20:24 +0000 (16:20 +0200)]
Get XT scan code mappings from the keycodemapdb project

This way we can work together with other projects that need this kind
of mapping.

6 years agoMerge pull request #831 from samhed/visualhint
Samuel Mannehed [Tue, 30 May 2017 08:19:42 +0000 (10:19 +0200)]
Merge pull request #831 from samhed/visualhint

Add hint that the control bar can be moved

7 years agoAdd hint that the control bar can be moved
Samuel Mannehed [Mon, 22 May 2017 06:24:41 +0000 (08:24 +0200)]
Add hint that the control bar can be moved

The control bar can be dragged to the other side, this isn't obvious
however. This adds a hint on the opposite side in the form of a subtle
glowing half-ellipse.

7 years agoUse one entry per file in transpile cache
Pierre Ossman [Mon, 22 May 2017 12:01:44 +0000 (14:01 +0200)]
Use one entry per file in transpile cache

This avoids any risk of the cache key and contents getting out
of sync.

7 years agoRemove #nocache system as it is unused
Pierre Ossman [Mon, 22 May 2017 11:48:59 +0000 (13:48 +0200)]
Remove #nocache system as it is unused

7 years agoRevert recording file format changes
Pierre Ossman [Mon, 22 May 2017 11:44:48 +0000 (13:44 +0200)]
Revert recording file format changes

Change back to the old, non-modular recording file format. The new
method doesn't work reliably and there are existing recordings already
out there that we might want to handle.

7 years agoClear the password input field
Samuel Mannehed [Sat, 20 May 2017 16:59:47 +0000 (18:59 +0200)]
Clear the password input field

If a user disconnects but leaves the browser tab open, the password
input field would still contain the password for future connections.
We now clear the input field after reading the password into memory.

7 years agoHandle loading web workers in any path
Pierre Ossman [Fri, 19 May 2017 12:39:49 +0000 (14:39 +0200)]
Handle loading web workers in any path

The URL is interpreted relative the current page, not relative
the current script. So we need to have some extra code in order to
allow the module loader to be agnostic to its path.

7 years agoDon't fail on babel cache storage errors
Pierre Ossman [Tue, 16 May 2017 12:07:03 +0000 (14:07 +0200)]
Don't fail on babel cache storage errors

It is just a cache after all, so failures are not fatal. Users will get longer
load times, but at least they'll get a page.

7 years agoRevert "Remove shadow from logo"
Samuel Mannehed [Mon, 15 May 2017 12:57:33 +0000 (14:57 +0200)]
Revert "Remove shadow from logo"

This reverts commit 7c44f86dcd77bff811d9619fd5341938cfa8d69f.

7 years agoFix bootstart of input field
Pierre Ossman [Mon, 15 May 2017 12:40:28 +0000 (14:40 +0200)]
Fix bootstart of input field

It wasn't working properly anymore because it expected to be triggered
by the "load". But we now register that event listener long after the
"load" event has already fired.

7 years agoAdd missing semicolon
Samuel Mannehed [Fri, 12 May 2017 23:56:35 +0000 (01:56 +0200)]
Add missing semicolon

7 years agoRemove trailing whitespace
Samuel Mannehed [Fri, 12 May 2017 23:45:23 +0000 (01:45 +0200)]
Remove trailing whitespace

7 years agoRemove shadow from logo
Samuel Mannehed [Fri, 12 May 2017 23:43:02 +0000 (01:43 +0200)]
Remove shadow from logo

7 years agoUpdate readme with new screenshots
Samuel Mannehed [Fri, 12 May 2017 15:10:27 +0000 (17:10 +0200)]
Update readme with new screenshots

7 years agoCatch errors for when we can't play bell
Samuel Mannehed [Fri, 12 May 2017 10:52:05 +0000 (12:52 +0200)]
Catch errors for when we can't play bell

Many browsers, for example Chrome on Android will not allow audio to
play unless it's initiated from a user action. It is not reasonable to
display an error for this. Fixes issue #821.

7 years agoAdd vnc_lite to npmignore
Samuel Mannehed [Fri, 12 May 2017 07:01:20 +0000 (09:01 +0200)]
Add vnc_lite to npmignore

7 years agoRename vnc_auto to vnc_lite
Samuel Mannehed [Fri, 12 May 2017 06:57:23 +0000 (08:57 +0200)]
Rename vnc_auto to vnc_lite

7 years agoAdd missing semi colon
Samuel Mannehed [Fri, 12 May 2017 06:48:41 +0000 (08:48 +0200)]
Add missing semi colon

7 years agoDon't capture touch events
Samuel Mannehed [Thu, 11 May 2017 11:34:43 +0000 (13:34 +0200)]
Don't capture touch events

They are implicitly captured anyway, and we get problems if we try
to explicitly capture them.

7 years agoStop tracking mouse capture state
Samuel Mannehed [Thu, 11 May 2017 11:30:40 +0000 (13:30 +0200)]
Stop tracking mouse capture state

Was a workaround for other bugs which are now fixed.

7 years agoStop grabbing mouse events globally
Samuel Mannehed [Thu, 11 May 2017 11:27:10 +0000 (13:27 +0200)]
Stop grabbing mouse events globally

Not necessary anymore since we have proper capture.

7 years agoFix update-pot so that it can handle UTF-8
Samuel Mannehed [Tue, 9 May 2017 09:59:23 +0000 (11:59 +0200)]
Fix update-pot so that it can handle UTF-8

It crashed on non-ascii characters before, for example the "®"
character.

7 years agoUpdate German translation
David Gnedt [Wed, 8 Feb 2017 13:29:27 +0000 (14:29 +0100)]
Update German translation

From Pull Request #771.

7 years agoMerge pull request #819 from martinpitt/master
Samuel Mannehed [Mon, 8 May 2017 08:38:06 +0000 (10:38 +0200)]
Merge pull request #819 from martinpitt/master

Fix license name in package.json

7 years agoFix license name in package.json
Martin Pitt [Mon, 8 May 2017 07:46:38 +0000 (09:46 +0200)]
Fix license name in package.json

It's spelled "MPL-2.0" according to https://spdx.org/licenses/.

7 years agoRemove colour map support
Pierre Ossman [Thu, 4 May 2017 13:13:33 +0000 (15:13 +0200)]
Remove colour map support

It was broken and unused. Remove it so we can simplify the code.

7 years agoRemove browser engine detection
Pierre Ossman [Thu, 4 May 2017 12:52:05 +0000 (14:52 +0200)]
Remove browser engine detection

It is out of date and not used anyway.

7 years agoSkip some keyboard tests on IE and Edge
Pierre Ossman [Thu, 4 May 2017 11:26:39 +0000 (13:26 +0200)]
Skip some keyboard tests on IE and Edge

IE and Edge has some broken behaviour for keyboard events that
prevent the standard tests from running properly.

7 years agoMerge branch 'png_cursor' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 4 May 2017 11:13:02 +0000 (13:13 +0200)]
Merge branch 'png_cursor' of https://github.com/CendioOssman/noVNC

7 years agoMerge branch 'keyboard' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 4 May 2017 10:18:55 +0000 (12:18 +0200)]
Merge branch 'keyboard' of https://github.com/CendioOssman/noVNC

7 years agoError.error can be null in some cases
Pierre Ossman [Thu, 13 Apr 2017 12:49:42 +0000 (14:49 +0200)]
Error.error can be null in some cases

7 years agoUse KeyboardEvent.key too look up keysyms
Pierre Ossman [Thu, 13 Apr 2017 12:50:55 +0000 (14:50 +0200)]
Use KeyboardEvent.key too look up keysyms

And emulate it on browsers where it is missing or incorrect. This
makes the code more future oriented as it primarily uses the standardised
fields.

7 years agoHandle CapsLock on macOS
Pierre Ossman [Thu, 4 May 2017 09:52:40 +0000 (11:52 +0200)]
Handle CapsLock on macOS

Modifiers behave a bit oddly on macOS, causing weird CapsLock events
to be sent by the browsers.

7 years agoClean up AltGraph handling
Pierre Ossman [Fri, 27 Jan 2017 11:52:24 +0000 (12:52 +0100)]
Clean up AltGraph handling

It doesn't need to be this general as the issue is mostly about
Windows. Also use the same modifier shuffle that RealVNC and
TigerVNC uses to get macOS working well.

7 years agoSimplify pressed key handling
Pierre Ossman [Fri, 27 Jan 2017 11:26:55 +0000 (12:26 +0100)]
Simplify pressed key handling

Prefer avoid having the server simulate multiple key presses by
refusing to use multiple keysyms for the same physical key.

7 years agoSimplify handling of keypress
Pierre Ossman [Fri, 27 Jan 2017 11:24:20 +0000 (12:24 +0100)]
Simplify handling of keypress

Use a dedicated variable to track a two stage key rather than
piggy-backing on the key state array.

7 years agoMove keyboard handling in to Keyboard class
Pierre Ossman [Fri, 27 Jan 2017 09:36:10 +0000 (10:36 +0100)]
Move keyboard handling in to Keyboard class

Replace the multi stage pipeline system with something simpler.
That level of abstraction is not needed.

7 years agoRemove modifier synchronisation
Pierre Ossman [Fri, 27 Jan 2017 09:49:04 +0000 (10:49 +0100)]
Remove modifier synchronisation

The fields provided cannot tell us if it is the left or right
version of the key that's pressed, so they are inherently unreliable.
It is also not a huge problem in practice as we'll get in sync on
the next press or release of the modifier.

7 years agoRemove QEMU key event handler
Pierre Ossman [Thu, 26 Jan 2017 17:20:19 +0000 (18:20 +0100)]
Remove QEMU key event handler

The normal event handler provides all the necessary information
now, so it is no longer needed.

7 years agoSimplify keyboard event API
Pierre Ossman [Thu, 26 Jan 2017 17:09:40 +0000 (18:09 +0100)]
Simplify keyboard event API

No need for an object for three static fields.

7 years agoSend keyboard events from single place
Pierre Ossman [Thu, 26 Jan 2017 16:59:25 +0000 (17:59 +0100)]
Send keyboard events from single place

This makes it easier to handle any needed variations, like different
types of messages.

7 years agoImprove lookup of special keys
Pierre Ossman [Tue, 24 Jan 2017 16:18:43 +0000 (17:18 +0100)]
Improve lookup of special keys

Look up keys that are independent of layout and state first,
followed by keys that are only mild variations in layouts.
This is more robust as there might be multiple physical keys
generating the same symbols, and Keysyms don't map directly to
Unicode in all cases.

At the same time switch over to using the modern, standardised
'code' field for lookup.

7 years agoImprove character keysym lookup
Pierre Ossman [Wed, 25 Jan 2017 10:29:08 +0000 (11:29 +0100)]
Improve character keysym lookup

Use the more modern 'key' field, and remove some legacy fallbacks
that are no longer required. This also removes the "stall" mechanism
as it is not needed with current browsers.

7 years agoUse standard DOM identifiers for physical keys
Pierre Ossman [Tue, 24 Jan 2017 14:16:10 +0000 (15:16 +0100)]
Use standard DOM identifiers for physical keys

7 years agoMerge pull request #817 from univention/master
Samuel Mannehed [Wed, 3 May 2017 11:57:23 +0000 (13:57 +0200)]
Merge pull request #817 from univention/master

Remove double unescaping of title

7 years agoRemove double unescaping of title
Philipp Hahn [Wed, 3 May 2017 10:01:05 +0000 (12:01 +0200)]
Remove double unescaping of title

Commit fa5b334dcbe7a5dab21580b54cc2f5f142600379 by Joel Martin changed
getQueryVal() to always decode the value using decodeURIComponent(), but
unescape() is still used for extracting the title, leading to
double-unescaping.

As unescape() is deprecated anyway, remove the last user.

Cc: Joel Martin <github@martintribe.org>
Cc: Anthony Young <sleepsonthefloor@gmail.com>
7 years agoOnly load ES6 module loader polyfill if needed
Pierre Ossman [Fri, 28 Apr 2017 12:38:59 +0000 (14:38 +0200)]
Only load ES6 module loader polyfill if needed

Safari now has native support for modules, so we need to make sure
we only load our polyfill when actually needed.

7 years agoFix panning test for high DPI devices
Samuel Mannehed [Fri, 21 Apr 2017 13:23:18 +0000 (15:23 +0200)]
Fix panning test for high DPI devices

There is a drag-threshold in the panning code which the tests didn't
account for. This caused the tests to fail when window.devicePixelRatio
was higher than 1.

7 years agoAdd Pierre as contributor in package.json
Samuel Mannehed [Wed, 19 Apr 2017 13:34:16 +0000 (15:34 +0200)]
Add Pierre as contributor in package.json

7 years agoUpdate url's
Samuel Mannehed [Wed, 19 Apr 2017 13:33:42 +0000 (15:33 +0200)]
Update url's

7 years agoProperly restore the default style
Samuel Mannehed [Tue, 11 Apr 2017 08:53:06 +0000 (10:53 +0200)]
Properly restore the default style

Setting a style to null does restore it in FF, Chrome, Safari and Edge.
But it does not work in Internet Explorer. The proper way to restore to
default values is to set it to the empty string. This works in all
browsers. Fixes issue #808.

7 years agoFixed the issue where novnc can't be relocated
Soichi Hayashi [Mon, 3 Apr 2017 16:31:19 +0000 (16:31 +0000)]
Fixed the issue where novnc can't be relocated

7 years agoAlways send mouseUp events properly
Samuel Mannehed [Wed, 5 Apr 2017 12:00:59 +0000 (14:00 +0200)]
Always send mouseUp events properly

If down is false we can't just toggle the current internal state, even
though this is correct most of the time. There are cases where we don't
get the down event and thus won't have a correct internal state. For
example, when clicking in the session after using the clipboard
textarea.

If down is false, we always want to send a mouse event with the button
in 'up'-state.

7 years agoMerge pull request #801 from CendioOssman/errors
Samuel Mannehed [Mon, 3 Apr 2017 06:18:48 +0000 (08:18 +0200)]
Merge pull request #801 from CendioOssman/errors

Improve fallback error handler

7 years agoGenerate source map for ES module loader rollup
Pierre Ossman [Thu, 2 Mar 2017 14:49:43 +0000 (15:49 +0100)]
Generate source map for ES module loader rollup

Makes it easier to debug things as you get the original source and
proper line numbers.

7 years agoHandle uncaught WebWorker exceptions
Pierre Ossman [Thu, 2 Mar 2017 14:48:47 +0000 (15:48 +0100)]
Handle uncaught WebWorker exceptions

7 years agoTry to populate error location on Promise errors
Pierre Ossman [Thu, 2 Mar 2017 14:48:13 +0000 (15:48 +0100)]
Try to populate error location on Promise errors

7 years agoOnly use unhandledrejection fallback when needed
Pierre Ossman [Thu, 2 Mar 2017 14:47:22 +0000 (15:47 +0100)]
Only use unhandledrejection fallback when needed

7 years agoUse common code to handle Promise errors
Pierre Ossman [Thu, 2 Mar 2017 14:46:05 +0000 (15:46 +0100)]
Use common code to handle Promise errors