summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Properly limit mouse moves to once every 17 mslimitmouseSamuel Mannehed2020-05-314-124/+164
| | | | | | | Previous attempt in c958269 had a number of issues, this is a full rewrite, complete with improved unit tests. Fixes github issue #1402
* Stop send mouse clicks while dragging in view onlySamuel Mannehed2020-05-312-0/+9
|
* Standardize on camelCase for functions in RFBSamuel Mannehed2020-05-312-188/+188
|
* Standardize on camelCase for variables in RFBSamuel Mannehed2020-05-312-547/+546
|
* Remove unused mouse_arr variableSamuel Mannehed2020-05-081-1/+0
|
* Consistently close dialogs on connect/disconnectPierre Ossman2020-05-053-33/+28
| | | | | | | | This was done a bit arbitrarily before which could easily miss things, end up in the wrong state and not trigger animations correctly. This reverts commit c12e5b2b544aff6f662c7f61f82ce40d132e14df and fixes things in a different way.
* Merge pull request #1398 from novnc/compressionlevelSamuel Mannehed2020-05-016-1/+155
|\ | | | | Add ability to set Tight compression level
| * Add ability to set compression levelSamuel Mannehed2020-05-016-1/+155
|/ | | | Fixes github issue #1382.
* Add unit tests for mouse move limitSamuel Mannehed2020-05-011-0/+67
|
* Shorten rows to max 80 chars in mouse.jsSamuel Mannehed2020-05-011-23/+29
|
* Fix wording in commentSamuel Mannehed2020-05-011-1/+1
|
* Merge pull request #1352 from uklatt/masterSamuel Mannehed2020-05-011-1/+15
|\ | | | | Limit mouse move events to one every 17 mS.
| * Limit mouse move events to one every 17 msUwe Klatt2020-05-011-1/+15
|/
* Fix indentation for focus checkSamuel Mannehed2020-05-011-1/+1
|
* Don't fade the control bar if it has focusSamuel Mannehed2020-05-011-0/+7
| | | | Fixes github issue #1369
* Hide the clipboard when not connectedSamuel Mannehed2020-05-011-0/+3
| | | | Fixes github issue #1367.
* Merge pull request #1396 from iblech/patch-1Samuel Mannehed2020-04-291-1/+1
|\ | | | | Document default setting of `focusOnClick`
| * Document default setting of `focusOnClick`Ingo Blechschmidt2020-04-291-1/+1
|/
* rfb: VeNCrypt Plain SecurityType supportFilip Stedronsky2020-04-081-0/+94
| | | | | | | | | | | | This allows using TigerVNC server with PAM authentication (e.g. agains LDAP or other extensible authentication mechanisms) Tested with TigerVNC server (Xvnc -SecurityTypes Plain -PlainUsers '*') Should not break anything else, this method is tried last when all other fail. Tested in Firefox 74 and Chromium 80
* Fix focus problem after closing the toolbarAlex Tanskanen2020-03-121-0/+1
| | | | | | | Closing the toolbar would make the focus remain on the toolbar and not in the session. The only way to switch focus was to click in the session. This commit will automatically switch back focus to the session after closing the toolbar.
* Set a default value for the quality inputPierre Ossman2020-02-281-1/+1
|
* Add UI for quality settingPierre Ossman2020-02-283-0/+24
|
* Merge branch 'quality-level' of https://github.com/eDrillingSolutions/noVNCPierre Ossman2020-02-284-2/+138
|\
| * adds qualityLevel property to RFB class for updating JPEG quality level ↵Andrey Trebler2020-02-284-2/+138
| | | | | | | | encoding on the fly
* | Hide clipboard side bar button when view only modeNiko Lehto2020-02-241-0/+4
|/ | | | | The clipboard side bar button serves no purpose if user uses 'View Only' mode, this commit hides this button in those instances.
* Fix crash with too large clipboard dataAlex Tanskanen2020-02-212-1/+37
| | | | | | | If too much text is copied in the session, String.fromCharCode.apply() would crash in Safari on macOS and Chrome on Linux. This commit fixes this issue by avoiding apply() altogether. Also added test to cover this issue.
* Style all input types for consistent UIPierre Ossman2020-02-181-12/+68
| | | | At least all that the browsers will let us.
* Merge branch 'clipboard_unicode' of https://github.com/CendioNiko/noVNCPierre Ossman2020-02-1811-97/+1017
|\
| * Add extended clipboard Pseudo-EncodingNiko Lehto2020-02-183-39/+741
| | | | | | | | | | Add extended clipboard pseudo-encoding to allow the use of unicode characters in the clipboard.
| * Export constants in inflate.js for easier usageNiko Lehto2020-02-171-17/+17
| |
| * Fix bug where inflate would read too much dataNiko Lehto2020-02-171-1/+1
| |
| * Split api of inflateNiko Lehto2020-02-172-7/+20
| | | | | | | | Added ability to read data chunk wise.
| * Handle errors from zlib/pakoNiko Lehto2020-02-171-1/+4
| |
| * Move error handling to Inflate classNiko Lehto2020-02-172-6/+4
| | | | | | | | Every call wants this check so this should be done inside the class.
| * Add missing copyright header for Inflator.jsNiko Lehto2020-02-171-0/+8
| |
| * Remove unused inflate argumentNiko Lehto2020-02-172-4/+4
| | | | | | | | | | The value true was an invalid flush argument so it was in practice unused.
| * Add util for unsigned and signed int. conversionNiko Lehto2020-02-172-0/+31
| | | | | | | | Will be used in later commit in extended clipboard handling.
| * Add deflator helper class for deflating dataNiko Lehto2020-02-173-30/+189
| | | | | | | | Wraps pako's deflate for easier usage.
| * Make clipBoardPasteFrom() test more specificNiko Lehto2020-02-171-4/+10
| | | | | | | | Don't rely on clientCutText() to test clipboardPasteFrom().
* | Merge pull request #1361 from alvintownsend/masterSamuel Mannehed2020-02-121-1/+1
|\ \ | | | | | | Correcting path to package.json for running at a path other than root.
| * | Correcting path to package.json for running at a path other than root.Alvin Townsend2020-01-311-1/+1
|/ /
* | Fix color channels for VMware alpha cursorsSamuel Mannehed2020-01-302-5/+5
|/ | | | The red and blue channels were incorrectly swapped.
* Make afterEach() hooks work when skipping testsPierre Ossman2020-01-234-10/+30
| | | | | Mocha will now run afterEach() hooks when tests are skipped, so we need to make them more robust against things being partially set up.
* Remove generated HTML by Cursor when it detachesJuanjo Diaz2020-01-231-1/+4
|
* Merge branch 'abstraction_for_detection' of https://github.com/samhed/noVNCPierre Ossman2020-01-142-7/+38
|\
| * Add comment for browser and platform detectionSamuel Mannehed2020-01-021-0/+7
| |
| * Add short description at the top of browser.jsSamuel Mannehed2020-01-021-0/+2
| |
| * Properly detect scrollbar gutterSamuel Mannehed2020-01-022-7/+29
| | | | | | | | | | | | | | | | As a rule, instead of hard-coding a behavior on specific platforms we should do dynamic detection. This commit moves away from always hiding scrollbars on Android and iOS and instead detects the rendered width of scrollbars in the browser.
* | Simplify encodeUTF8/decodeUTF8 unittestsSamuel Mannehed2020-01-031-27/+6
| |
* | Add unit tests for encodeUTF8 and decodeUTF8Samuel Mannehed2020-01-021-1/+42
| |