summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove machine control buttons from vnc_literemovexvpfromliteSamuel Mannehed2018-08-091-36/+1
| | | | | The vnc_lite example is intended to be minimal and these buttons are only useful in special cases.
* Remove firebug commentsSamuel Mannehed2018-08-083-15/+0
| | | | | Firebug is discontinued and it's features are included in browser development tools now a days.
* Detail path to icon MakefileSamuel Mannehed2018-08-082-2/+2
|
* Merge branch 'master' of https://github.com/patrakov/noVNCPierre Ossman2018-07-251-0/+33
|\
| * Documented browser cache issueAlexander E. Patrakov2018-07-221-0/+33
| |
* | Use newer macOS test machine for TravisPierre Ossman2018-07-161-1/+1
| |
* | Stop transpiling karma testsPierre Ossman2018-07-163-28/+38
| | | | | | | | | | | | 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.
* | Fix proper triggering of module fallbackPierre Ossman2018-07-133-3/+3
| | | | | | | | | | We might be in the "interactive" readyState, which means that DOMContentLoaded has already fired and we'll hang.
* | Don't stub out ES module importsPierre Ossman2018-07-131-2/+0
| | | | | | | | | | | | 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.
* | Better currentScript fallbackPierre Ossman2018-07-133-1141/+1214
| | | | | | | | | | The previous heuristic didn't work under all circumstances, so try something more robust.
* | Move sinon to karma frameworkPierre Ossman2018-07-1312-14066/+6
|/ | | | | 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.
* Use the classic `function foo() { ... }` for top level functions or ↵Juanjo Diaz2018-07-123-11/+10
| | | | functions that depend on the scope
* Use fat arrow functions `const foo = () => { ... };` for callbacksJuanjo Diaz2018-07-1228-192/+178
| | | | and any other function that is passed around and it's not a top level function
* Use ES6 classesJuanjo Diaz2018-07-1220-992/+997
| | | | | 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: () => { ... } }`
* Merge branch 'cursor' of https://github.com/CendioOssman/noVNCPierre Ossman2018-07-114-65/+240
|\
| * Provide fallback cursor methodPierre Ossman2018-07-062-9/+166
| | | | | | | | | | | | | | | | | | 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.
| * Separate out cursor handlingPierre Ossman2018-03-154-63/+80
| | | | | | | | | | Make cursor handling more generic in preparation for generic handling of corner cases.
* | Sort vkeys tablePierre Ossman2018-07-041-1/+1
| |
* | Merge branch 'fix/ie11-numpad5-compatibility' of ↵Pierre Ossman2018-07-042-1/+2
|\ \ | | | | | | | | | https://github.com/vlastoun/noVNC
| * | Fix: IE11 Numpad5 compatibility when numlock offVlastimil Sadilek2018-05-162-1/+2
| | | | | | | | | | | | | | | This fix Numpad5 in Internet Explorer 11 if numlock state of host differs with numlock state of VNC console.
| * | Fix: undefined err, undefined ExceptionVlastimil Sadilek2018-05-042-2/+2
| | |
* | | Fixes #1075Henry Vindin2018-07-011-5/+8
| | | | | | | | | | | | | | | | | | 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.
* | | Avoid TypedArray.slice() because of IE11Samuel Mannehed2018-06-151-2/+1
| | |
* | | Use string assignment operator instead of concat()Samuel Mannehed2018-06-151-1/+1
| | | | | | | | | | | | The assignment operator is a lot faster.
* | | Use the correct slicing for rQshiftStrSamuel Mannehed2018-06-151-1/+1
| | | | | | | | | | | | | | | This didn't result in any error however since slice() handles such mistakes gracefully.
* | | Add rQshiftStr unit test for large stringsSamuel Mannehed2018-06-151-0/+24
| | |
* | | Avoid big strings on the stackSamuel Mannehed2018-06-141-1/+7
| | | | | | | | | | | | | | | | | | | | | Previous code resulted in RangeErrors by potentially creating big strings. Fixes issue #1065
* | | Call rQshiftBytes to avoid code duplicationSamuel Mannehed2018-06-141-2/+1
| | |
* | | Remove typedArrayToStringSamuel Mannehed2018-06-141-16/+1
| | | | | | | | | | | | We don't use PhantomJS anymore
* | | Merge branch 'issue_templates' of https://github.com/novnc/noVNCPierre Ossman2018-06-072-0/+51
|\ \ \
| * | | Add issue templatesissue_templatesPierre Ossman (Work account)2018-05-212-0/+51
| | | | | | | | | | | | We often have to ask for the same information for every new issue. Try to avoid this by using github's templates for issues.
* | | | Properly force clipping on touchSamuel Mannehed2018-06-071-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It shouldn't depend on what's saved in webstorage nor save the forced value to webstorage. Includes a revert of 0342e4f4891a0c29f10b25a53258bf40890bc9fd
* | | | Work around Siemens touch panel authentication bugPierre Ossman2018-06-072-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add debug logging for Tight authenticationPierre Ossman2018-06-071-0/+6
| | | | | | | | | | | | | | | | | | | | Makes it easier to diagnose user issues when we can see what the server and noVNC are trying to negotiate.
* | | | Merge branch 'travis-lint' of https://github.com/CendioOssman/noVNCPierre Ossman2018-06-072-6/+15
|\ \ \ \
| * | | | Stop combining test platformsPierre Ossman2018-06-012-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Sauce is very unstable, so spread things out so we can more easily throttle things to more sane levels.
| * | | | Run eslint in travisPierre Ossman2018-06-011-0/+6
| | | | | | | | | | | | | | | | | | | | Makes sure we get early feedback for lint violations.
* | | | | Clipping should be enabled on touchSamuel Mannehed2018-06-041-1/+1
|/ / / / | | | | | | | | | | | | | | | | This was always the intention and the main use case of 'clipping'. It seems like it got lost somewhere along the way.
* | | | Merge pull request #1013 from juanjoDiaz/es6_refactor_2Samuel Mannehed2018-05-2550-3215/+14982
|\ \ \ \ | |/ / / |/| | | Add eslint and update noVNC to ES6
| * | | Prefer const/let over varJuanjo Diaz2018-05-2442-1134/+1094
| | | |
| * | | Add transpilation for IE11 and skip linux testsJuanjo Diaz2018-05-245-1993/+13774
| | | |
| * | | Add eslint and fix reported issuesJuanjo Diaz2018-05-2436-109/+135
|/ / /
* | | Merge pull request #1074 from samhed/largeclipboardSamuel Mannehed2018-05-072-12/+44
|\ \ \ | |/ / |/| | Handle sending large clipboards
| * | Handle sending large clipboardsSamuel Mannehed2018-05-072-12/+44
|/ / | | | | | | | | | | 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.
* | Merge pull request #1066 from colin-zhou/masterSamuel Mannehed2018-04-292-1/+70
|\ \ | | | | | | Update the internationalization module
| * | Update the noVNC translation partZhou Chaolin2018-04-242-1/+70
| | | | | | | | | | | | fix the specification in zh_CN.po
* | | Update browser test listPierre Ossman2018-04-271-1/+2
|/ / | | | | | | | | 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.
* | Merge pull request #1048 from ghostplant/masterSamuel Mannehed2018-04-093-2/+286
|\ \ | | | | | | Add translation in zh_CN
| * | Add translation in zh_CNCUI Wei2018-04-073-2/+286
|/ / | | | | | | Signed-off-by: CUI Wei <ghostplant@qq.com>
* | Clarify which Chinese translation we havePierre Ossman2018-04-034-2/+2
| | | | | | | | | | | | 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.