mirror_novnc.git
12 months agoUse newer macOS test machine for Travis master
Pierre Ossman [Mon, 16 Jul 2018 11:46:48 +0000 (13:46 +0200)]
Use newer macOS test machine for Travis

12 months agoStop transpiling karma tests
Pierre Ossman [Fri, 13 Jul 2018 13:06:34 +0000 (15:06 +0200)]
Stop transpiling karma tests

This runs our code in the same manner as it would be used if loaded
directly in the browser. Includes the same kind of fallback for older
browsers.

12 months agoFix proper triggering of module fallback
Pierre Ossman [Fri, 13 Jul 2018 13:02:04 +0000 (15:02 +0200)]
Fix proper triggering of module fallback

We might be in the "interactive" readyState, which means that
DOMContentLoaded has already fired and we'll hang.

12 months agoDon't stub out ES module imports
Pierre Ossman [Fri, 13 Jul 2018 12:21:52 +0000 (14:21 +0200)]
Don't stub out ES module imports

It is not allowed and only happens to work because babel doesn't
strictly follow the specification. It doesn't seem necessary for the
tests to run, so just remove it.

12 months agoBetter currentScript fallback
Pierre Ossman [Fri, 13 Jul 2018 12:20:52 +0000 (14:20 +0200)]
Better currentScript fallback

The previous heuristic didn't work under all circumstances, so try
something more robust.

12 months agoMove sinon to karma framework
Pierre Ossman [Fri, 13 Jul 2018 11:12:04 +0000 (13:12 +0200)]
Move sinon to karma framework

This frees us from manual imports, and makes things less magical
as those aren't ES modules even if the code suggest that the are.

12 months agoUse the classic `function foo() { ... }` for top level functions or functions that...
Juanjo Diaz [Mon, 9 Jul 2018 20:48:22 +0000 (22:48 +0200)]
Use the classic `function foo() { ... }` for top level functions or functions that depend on the scope

12 months agoUse fat arrow functions `const foo = () => { ... };` for callbacks
Juanjo Diaz [Mon, 9 Jul 2018 20:47:29 +0000 (22:47 +0200)]
Use fat arrow functions `const foo = () => { ... };` for callbacks
and any other function that is passed around and it's not a top level function

12 months agoUse ES6 classes
Juanjo Diaz [Thu, 5 Jul 2018 19:31:56 +0000 (21:31 +0200)]
Use ES6 classes
Always use the shorthand notation if the function is a method of an object or class `{ foo() { ... } }` or `class bar { foo() { ... } }`
unless it's a callback in which case you a fat arrow function should be used `{ cb: () => { ... } }`

12 months agoMerge branch 'cursor' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Wed, 11 Jul 2018 11:39:37 +0000 (13:39 +0200)]
Merge branch 'cursor' of https://github.com/CendioOssman/noVNC

12 months agoProvide fallback cursor method
Pierre Ossman [Wed, 28 Feb 2018 15:38:09 +0000 (16:38 +0100)]
Provide fallback cursor method

Some browsers don't support custom cursors, and there are cases
where the browsers refuse to show the cursor. Handle both of these
cases by letting the browser render the cursor via a floating
canvas.

This allows us to support a local cursor at all times.

12 months agoSort vkeys table
Pierre Ossman [Wed, 4 Jul 2018 13:53:41 +0000 (15:53 +0200)]
Sort vkeys table

12 months agoMerge branch 'fix/ie11-numpad5-compatibility' of https://github.com/vlastoun/noVNC
Pierre Ossman [Wed, 4 Jul 2018 13:53:30 +0000 (15:53 +0200)]
Merge branch 'fix/ie11-numpad5-compatibility' of https://github.com/vlastoun/noVNC

12 months agoFixes #1075
Henry Vindin [Sun, 1 Jul 2018 05:32:46 +0000 (15:32 +1000)]
Fixes #1075

Rather than trying to pick a utility, we should be able to just use bash to check if a port is available or not.

We can probably assume bash is available due to the shebang declaring it.

13 months agoAvoid TypedArray.slice() because of IE11
Samuel Mannehed [Fri, 15 Jun 2018 10:00:43 +0000 (12:00 +0200)]
Avoid TypedArray.slice() because of IE11

13 months agoUse string assignment operator instead of concat()
Samuel Mannehed [Fri, 15 Jun 2018 09:59:28 +0000 (11:59 +0200)]
Use string assignment operator instead of concat()

The assignment operator is a lot faster.

13 months agoUse the correct slicing for rQshiftStr
Samuel Mannehed [Fri, 15 Jun 2018 09:56:56 +0000 (11:56 +0200)]
Use the correct slicing for rQshiftStr

This didn't result in any error however since slice() handles such
mistakes gracefully.

13 months agoAdd rQshiftStr unit test for large strings
Samuel Mannehed [Fri, 15 Jun 2018 09:53:51 +0000 (11:53 +0200)]
Add rQshiftStr unit test for large strings

13 months agoAvoid big strings on the stack
Samuel Mannehed [Thu, 14 Jun 2018 14:52:36 +0000 (16:52 +0200)]
Avoid big strings on the stack

Previous code resulted in RangeErrors by potentially creating big
strings.

Fixes issue #1065

13 months agoCall rQshiftBytes to avoid code duplication
Samuel Mannehed [Thu, 14 Jun 2018 14:51:29 +0000 (16:51 +0200)]
Call rQshiftBytes to avoid code duplication

13 months agoRemove typedArrayToString
Samuel Mannehed [Thu, 14 Jun 2018 14:43:48 +0000 (16:43 +0200)]
Remove typedArrayToString

We don't use PhantomJS anymore

13 months agoMerge branch 'issue_templates' of https://github.com/novnc/noVNC
Pierre Ossman [Thu, 7 Jun 2018 14:07:54 +0000 (16:07 +0200)]
Merge branch 'issue_templates' of https://github.com/novnc/noVNC

13 months agoProperly force clipping on touch
Samuel Mannehed [Thu, 7 Jun 2018 13:52:46 +0000 (15:52 +0200)]
Properly force clipping on touch

It shouldn't depend on what's saved in webstorage nor save the forced
value to webstorage.

Includes a revert of 0342e4f4891a0c29f10b25a53258bf40890bc9fd

13 months agoWork around Siemens touch panel authentication bug
Pierre Ossman [Thu, 7 Jun 2018 13:03:34 +0000 (15:03 +0200)]
Work around Siemens touch panel authentication bug

Siemens' touch panels support Tight authentication as well as NOTUNNEL,
but they fail to advertise the latter. Work around this issue by detecting
a Siemens device (through their custom tunnel types) and assume NOTUNNEL
support even if not advertised.

13 months agoAdd debug logging for Tight authentication
Pierre Ossman [Thu, 7 Jun 2018 12:57:17 +0000 (14:57 +0200)]
Add debug logging for Tight authentication

Makes it easier to diagnose user issues when we can see what the
server and noVNC are trying to negotiate.

13 months agoMerge branch 'travis-lint' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Thu, 7 Jun 2018 12:53:02 +0000 (14:53 +0200)]
Merge branch 'travis-lint' of https://github.com/CendioOssman/noVNC

13 months agoClipping should be enabled on touch
Samuel Mannehed [Mon, 4 Jun 2018 19:22:51 +0000 (21:22 +0200)]
Clipping should be enabled on touch

This was always the intention and the main use case of 'clipping'. It
seems like it got lost somewhere along the way.

13 months agoStop combining test platforms
Pierre Ossman [Fri, 1 Jun 2018 12:31:58 +0000 (14:31 +0200)]
Stop combining test platforms

Sauce is very unstable, so spread things out so we can more easily
throttle things to more sane levels.

13 months agoRun eslint in travis
Pierre Ossman [Fri, 1 Jun 2018 12:19:14 +0000 (14:19 +0200)]
Run eslint in travis

Makes sure we get early feedback for lint violations.

13 months agoMerge pull request #1013 from juanjoDiaz/es6_refactor_2
Samuel Mannehed [Fri, 25 May 2018 08:22:36 +0000 (10:22 +0200)]
Merge pull request #1013 from juanjoDiaz/es6_refactor_2

Add eslint and update noVNC to ES6

13 months agoPrefer const/let over var
Juanjo Diaz [Wed, 23 May 2018 21:27:09 +0000 (00:27 +0300)]
Prefer const/let over var

13 months agoAdd transpilation for IE11 and skip linux tests
Juanjo Diaz [Wed, 23 May 2018 21:26:34 +0000 (00:26 +0300)]
Add transpilation for IE11 and skip linux tests

13 months agoAdd eslint and fix reported issues
Juanjo Diaz [Wed, 23 May 2018 21:25:44 +0000 (00:25 +0300)]
Add eslint and fix reported issues

14 months agoAdd issue templates
Pierre Ossman (Work account) [Mon, 21 May 2018 07:37:37 +0000 (09:37 +0200)]
Add issue templates

We often have to ask for the same information for every new issue. Try to avoid this by using github's templates for issues.

14 months agoFix: IE11 Numpad5 compatibility when numlock off
Vlastimil Sadilek [Fri, 4 May 2018 12:23:45 +0000 (14:23 +0200)]
Fix: IE11 Numpad5 compatibility when numlock off

This fix Numpad5 in Internet Explorer 11 if numlock state of host differs with numlock state of
VNC console.

14 months agoMerge pull request #1074 from samhed/largeclipboard
Samuel Mannehed [Mon, 7 May 2018 11:25:46 +0000 (13:25 +0200)]
Merge pull request #1074 from samhed/largeclipboard

Handle sending large clipboards

14 months agoHandle sending large clipboards
Samuel Mannehed [Fri, 4 May 2018 14:21:27 +0000 (16:21 +0200)]
Handle sending large clipboards

Pasting clipboard texts that were larger than 10240 bytes didnt work and
caused a crash in noVNC. This commit fixes the crash and adds handling
for sending large clipboard texts. Fixes issue #1065.

14 months agoFix: undefined err, undefined Exception
Vlastimil Sadilek [Fri, 4 May 2018 12:23:02 +0000 (14:23 +0200)]
Fix: undefined err,  undefined Exception

14 months agoMerge pull request #1066 from colin-zhou/master
Samuel Mannehed [Sun, 29 Apr 2018 18:18:52 +0000 (20:18 +0200)]
Merge pull request #1066 from colin-zhou/master

Update the internationalization module

14 months agoUpdate browser test list
Pierre Ossman [Fri, 27 Apr 2018 14:19:40 +0000 (16:19 +0200)]
Update browser test list

We want to also test Microsoft Edge, and Internet Explorer on Windows 10
is really a reskinned Edge so we also need to test on Windows 7.

14 months agoUpdate the noVNC translation part
Zhou Chaolin [Mon, 23 Apr 2018 18:29:51 +0000 (02:29 +0800)]
Update the noVNC translation part

fix the specification in zh_CN.po

15 months agoMerge pull request #1048 from ghostplant/master
Samuel Mannehed [Mon, 9 Apr 2018 07:26:52 +0000 (09:26 +0200)]
Merge pull request #1048 from ghostplant/master

Add translation in zh_CN

15 months agoAdd translation in zh_CN
CUI Wei [Sat, 7 Apr 2018 10:16:00 +0000 (06:16 -0400)]
Add translation in zh_CN

Signed-off-by: CUI Wei <ghostplant@qq.com>
15 months agoClarify which Chinese translation we have
Pierre Ossman [Tue, 3 Apr 2018 12:51:12 +0000 (14:51 +0200)]
Clarify which Chinese translation we have

Chinese has several writing systems so we need to be clear which one
our translation covers. The one we currently have is for Traditional
Chinese so make sure it uses the matching language tag.

16 months agoOnly show error stack if it is not empty
Pierre Ossman [Wed, 21 Mar 2018 14:33:14 +0000 (15:33 +0100)]
Only show error stack if it is not empty

Parsing errors will not have a stack, and we don't want an empty
box in those cases.

16 months agoSeparate out cursor handling
Pierre Ossman [Wed, 28 Feb 2018 15:08:25 +0000 (16:08 +0100)]
Separate out cursor handling

Make cursor handling more generic in preparation for generic handling
of corner cases.

16 months agoMove VERSION to top-level
Samuel Mannehed [Thu, 15 Mar 2018 13:33:09 +0000 (14:33 +0100)]
Move VERSION to top-level

16 months agoRemove docs/release.txt
Samuel Mannehed [Thu, 15 Mar 2018 13:28:08 +0000 (14:28 +0100)]
Remove docs/release.txt

Instructions has been moved to the wiki:

https://github.com/novnc/noVNC/wiki/Development:-Making-a-release

16 months agoFix docs/VERSION
Samuel Mannehed [Thu, 15 Mar 2018 08:28:18 +0000 (09:28 +0100)]
Fix docs/VERSION

16 months agoMerge branches 'ffalt' and 'altgr' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Tue, 13 Mar 2018 15:03:01 +0000 (16:03 +0100)]
Merge branches 'ffalt' and 'altgr' of https://github.com/CendioOssman/noVNC

16 months agoWork around broken Alt keyup in Firefox
Pierre Ossman [Fri, 9 Mar 2018 15:51:23 +0000 (16:51 +0100)]
Work around broken Alt keyup in Firefox

Firefox no longer sends keyup events properly for the Alt keys. Try
to sniff out the state of the Alt key by monitoring other events that
include its state.

16 months agoGet localStorage tests running on more browsers
Pierre Ossman [Fri, 9 Mar 2018 11:15:21 +0000 (12:15 +0100)]
Get localStorage tests running on more browsers

16 months agoBetter detection of AltGr on Windows
Pierre Ossman [Fri, 9 Mar 2018 11:14:23 +0000 (12:14 +0100)]
Better detection of AltGr on Windows

Try to properly detect the fake CtrlL+AltR sequence Windows sends
when pressing AltGr. This allows us to send more accurate key
events over to the server.

16 months agoHandle _keyDownList in _sendKeyEvent()
Pierre Ossman [Fri, 9 Mar 2018 11:13:21 +0000 (12:13 +0100)]
Handle _keyDownList in _sendKeyEvent()

This makes sure it never gets out of sync with what we've actually
sent.

16 months agoOnly disable animation when element is displayed
Samuel Mannehed [Thu, 8 Mar 2018 15:52:53 +0000 (16:52 +0100)]
Only disable animation when element is displayed

The transitionend event will not fire when display=none. This can
prevent the initial animation for hiding the controlbar in some cases.

16 months agoMerge pull request #989 from PeterDaveHelloKitchen/update-travis-ci
Samuel Mannehed [Tue, 6 Mar 2018 15:22:27 +0000 (16:22 +0100)]
Merge pull request #989 from PeterDaveHelloKitchen/update-travis-ci

Update Travis CI configuration

16 months agoMerge branch 'userequire' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Wed, 28 Feb 2018 12:34:28 +0000 (13:34 +0100)]
Merge branch 'userequire' of https://github.com/CendioOssman/noVNC

16 months agoOnly use converted modules as legacy fallback for app
Pierre Ossman [Mon, 11 Dec 2017 15:35:40 +0000 (16:35 +0100)]
Only use converted modules as legacy fallback for app

Several of the major browsers now natively support modules, so we
only need the converted modules to handle older browsers. Make sure
it's only used when necessary.

16 months agoMerge branch 'settings' of https://github.com/andrwwbstr/noVNC
Pierre Ossman [Wed, 28 Feb 2018 11:57:48 +0000 (12:57 +0100)]
Merge branch 'settings' of https://github.com/andrwwbstr/noVNC

16 months agoSeparate Tight PNG in stats output
Pierre Ossman [Tue, 27 Feb 2018 09:52:02 +0000 (10:52 +0100)]
Separate Tight PNG in stats output

16 months agoEnforce Tight PNG restrictions
Pierre Ossman [Tue, 27 Feb 2018 09:50:13 +0000 (10:50 +0100)]
Enforce Tight PNG restrictions

Tight PNG rects cannot use the basic compression variants, and PNG
cannot be used in a standard Tight rect.

This is a partial revert of 3e8b26a based on better understanding
of the encoding.

16 months agoadd encoding support for TightPNG
Leslie Qi Wang [Fri, 23 Feb 2018 18:36:15 +0000 (10:36 -0800)]
add encoding support for TightPNG

16 months agonoVNC 1.0.0 v1.0.0
Pierre Ossman [Thu, 22 Feb 2018 13:10:10 +0000 (14:10 +0100)]
noVNC 1.0.0

17 months agoMove writeSetting from updateSetting to initSetting
Andrew Webster [Thu, 1 Feb 2018 16:46:38 +0000 (11:46 -0500)]
Move writeSetting from updateSetting to initSetting

initSetting was the only place that supplied a 'value' to
updateSetting.  So move it to clean up updateSetting.

17 months agoUse localstorage only to initialize settings map
Andrew Webster [Thu, 25 Jan 2018 20:23:08 +0000 (15:23 -0500)]
Use localstorage only to initialize settings map

This only reads from localstorage in order to initialize the settings
map.  After initializaton, reads will return the value from the map.

When writing a value, the settings map and the local storage
are updated, unless the setting is a default value or derived from
the query string.

This has a few advantages:
 1. Saved settings will not be overridden by settings specified in
the query string.  This means a setting could be temporarily changed
using the query string, but once removed from the query string, the
setting would return back to what the user selected.
 2. Default values will not be saved.  If a user has always used
the default value for a setting, then they can move to a new version
with different defaults without clearing localstorage.
 3. Changes made to localstorage in a session running in a different
window will not affect the settings in the current window (until
the page is refreshed).

Regarding eraseSetting:

It is possible that another tab could change the value, leading
to an unexpected value change in the tab that deletes.  However,
this function is currently unused, so this will be evaluted if
and when it used.

17 months agoAdd Spanish and Turkish JSON files
Pierre Ossman [Wed, 7 Feb 2018 08:33:13 +0000 (09:33 +0100)]
Add Spanish and Turkish JSON files

17 months agoDon't crash on translation errors
Pierre Ossman [Wed, 7 Feb 2018 08:23:45 +0000 (09:23 +0100)]
Don't crash on translation errors

A non-translated interface is better than no interface at all.

17 months agonoVNC 1.0.0 beta
Pierre Ossman [Fri, 2 Feb 2018 13:05:51 +0000 (14:05 +0100)]
noVNC 1.0.0 beta

17 months agoRemove as3crypto name from README.md
Pierre Ossman [Fri, 2 Feb 2018 13:04:12 +0000 (14:04 +0100)]
Remove as3crypto name from README.md

We stopped shipping that many years ago.

17 months agoMerge pull request #1009 from juanjoDiaz/move_browser_checks
Solly Ross [Thu, 1 Feb 2018 15:33:28 +0000 (10:33 -0500)]
Merge pull request #1009 from juanjoDiaz/move_browser_checks

Move browser checks to browser.js

17 months agoAdd Turkish translation
Ömer ÇAKMAK [Fri, 5 Jan 2018 16:07:00 +0000 (19:07 +0300)]
Add Turkish translation

17 months agoMerge pull request #1007 from juanjoDiaz/remove_jshints_comments
Solly Ross [Wed, 31 Jan 2018 15:58:20 +0000 (10:58 -0500)]
Merge pull request #1007 from juanjoDiaz/remove_jshints_comments

Remove jshint comments

17 months agoRemove jshint comments
Juanjo Diaz [Tue, 30 Jan 2018 16:07:57 +0000 (08:07 -0800)]
Remove jshint comments

17 months agoUpdate translation template file
Pierre Ossman [Wed, 31 Jan 2018 15:29:52 +0000 (16:29 +0100)]
Update translation template file

17 months agoAdd Spanish translation
Juanjo Diaz [Wed, 31 Jan 2018 03:09:46 +0000 (19:09 -0800)]
Add Spanish translation

17 months agoMerge pull request #1008 from juanjoDiaz/remove_unnecesary_base64_dependency
Solly Ross [Tue, 30 Jan 2018 18:41:28 +0000 (13:41 -0500)]
Merge pull request #1008 from juanjoDiaz/remove_unnecesary_base64_dependency

Remove unnecessary base64 dependency

17 months agoMerge pull request #1011 from juanjoDiaz/remove_console_statements
Solly Ross [Tue, 30 Jan 2018 18:26:48 +0000 (13:26 -0500)]
Merge pull request #1011 from juanjoDiaz/remove_console_statements

Remove console statements

17 months agoRemove console statements
Juanjo Diaz [Tue, 30 Jan 2018 16:53:38 +0000 (08:53 -0800)]
Remove console statements

17 months agoRemove unnecessary Log dependency in events.js
Juanjo Diaz [Tue, 30 Jan 2018 16:38:46 +0000 (08:38 -0800)]
Remove unnecessary Log dependency in events.js

17 months agoMove browser checks to browser.js
Juanjo Diaz [Tue, 30 Jan 2018 16:35:47 +0000 (08:35 -0800)]
Move browser checks to browser.js

17 months agoRemove unnecessary base64 dependency
Juanjo Diaz [Tue, 30 Jan 2018 16:19:39 +0000 (08:19 -0800)]
Remove unnecessary base64 dependency

17 months agoBetter cleanup in vnc_playback.html
Pierre Ossman [Fri, 26 Jan 2018 10:07:58 +0000 (11:07 +0100)]
Better cleanup in vnc_playback.html

Makes sure the cleanup is also properly exercised as part of the
testing.

17 months agoUpdate vnc_playback.html to follow current API
Pierre Ossman [Fri, 26 Jan 2018 10:07:14 +0000 (11:07 +0100)]
Update vnc_playback.html to follow current API

We had tried to update this along the way, but a bunch of things
were overlooked. Should be fully functional again now.

17 months agoRemove old test pages
Pierre Ossman [Thu, 25 Jan 2018 15:14:02 +0000 (16:14 +0100)]
Remove old test pages

These are not maintained or used anymore, so just remove them to
avoid confusion.

17 months agoDrop UI.rfb reference on all disconnects
Pierre Ossman [Thu, 25 Jan 2018 14:32:22 +0000 (15:32 +0100)]
Drop UI.rfb reference on all disconnects

We can be disconnected because of server reasons, not just because
someone clicked the disconnect button. Make sure we clean up the
reference and get a proper state in those cases as well.

17 months agoTemporarily disable SVG favicon
Pierre Ossman [Thu, 25 Jan 2018 14:19:12 +0000 (15:19 +0100)]
Temporarily disable SVG favicon

Firefox currently has a bug where it prefers the SVG icon over a
more exact size. This results in a poorly rendered, downscaled icon.
So disable the SVG icon until this has been fixed.

Firefox bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1419039

17 months agoApply translations on input type submit
Samuel Mannehed [Wed, 24 Jan 2018 12:00:48 +0000 (13:00 +0100)]
Apply translations on input type submit

Commit 3729976 only updated xgettext.html which generates the .pot file.
This commit also makes sure that the actual translations are applied to
the interface.

Fixes #997

18 months agoShow/hide mouse button selector in updateViewOnly
Samuel Mannehed [Fri, 12 Jan 2018 00:38:22 +0000 (01:38 +0100)]
Show/hide mouse button selector in updateViewOnly

Before this commit, the mouse button selector was hidden when the user
clicked it in view only..

18 months agoUpdate interface on view only toggle
Samuel Mannehed [Fri, 12 Jan 2018 00:12:22 +0000 (01:12 +0100)]
Update interface on view only toggle

Instead of waiting for updateVisualState() to be called in order for the
interface to update, we can call it directly in updateViewOnly(). This
is a better placement logically as well. Another upside of this is that
we can call updateVisualState() earlier on connect, that allows for the
"connecting"-throbber to be shown quicker.

18 months agoMerge pull request #996 from PeterDaveHelloKitchen/zh-tw-translation
Samuel Mannehed [Thu, 11 Jan 2018 22:51:39 +0000 (23:51 +0100)]
Merge pull request #996 from PeterDaveHelloKitchen/zh-tw-translation

Add Chinese (Traditional) translation

18 months agoProcess input type submit for translations
Samuel Mannehed [Thu, 11 Jan 2018 00:10:59 +0000 (01:10 +0100)]
Process input type submit for translations

Fixes #997

18 months agoMerge pull request #991 from PeterDaveHelloKitchen/README.md-Table-of-Contents
Solly Ross [Wed, 10 Jan 2018 18:27:32 +0000 (13:27 -0500)]
Merge pull request #991 from PeterDaveHelloKitchen/README.md-Table-of-Contents

Add README.md "Table of Contents" for readability

18 months agoMerge pull request #998 from novnc/bug/ie11-tests-slice
Solly Ross [Wed, 10 Jan 2018 17:48:16 +0000 (12:48 -0500)]
Merge pull request #998 from novnc/bug/ie11-tests-slice

Fix slice usage in display tests on IE11

18 months agoFix slice usage in display tests on IE11
Solly Ross [Wed, 10 Jan 2018 16:08:21 +0000 (11:08 -0500)]
Fix slice usage in display tests on IE11

IE11 doesn't support the `slice` method on ArrayBufferViews, so
we have to use the old `Array.prototype.slice.call` trick in the
tests instead.

18 months agoAdd Chinese (Traditional) translation
Peter Dave Hello [Tue, 9 Jan 2018 16:50:36 +0000 (00:50 +0800)]
Add Chinese (Traditional) translation

18 months agoAdd README.md "Table of Contents" for readability
Peter Dave Hello [Tue, 9 Jan 2018 02:52:59 +0000 (10:52 +0800)]
Add README.md "Table of Contents" for readability

18 months agoUse node.js 6 instead 6.1 to have the latest v6.x
Peter Dave Hello [Tue, 9 Jan 2018 02:42:43 +0000 (10:42 +0800)]
Use node.js 6 instead 6.1 to have the latest v6.x

18 months agoDon't include icons Makefile when packaging
Pierre Ossman [Sat, 9 Dec 2017 13:14:23 +0000 (14:14 +0100)]
Don't include icons Makefile when packaging

18 months agoRemove intermediate files when bundling
Pierre Ossman [Sat, 9 Dec 2017 13:14:04 +0000 (14:14 +0100)]
Remove intermediate files when bundling

18 months agoConvert use_require.js to use promises
Pierre Ossman [Sat, 9 Dec 2017 12:46:21 +0000 (13:46 +0100)]
Convert use_require.js to use promises

We had some race conditions between the callbacks that could cause
failures. Order everything properly using promises.