summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Export clipping state externallyPierre Ossman2022-12-271-0/+15
| | | | | So that UI can reflect if it is currently possible to drag the viewport or not.
* Sort API alphabeticallyPierre Ossman2022-12-271-199/+199
| | | | So it is easier to find things as the API grows.
* access to raw image dataFrederik Fix2022-09-071-0/+61
|
* Fix bad links in API documentationPierre Ossman2022-03-101-3/+3
|
* Document new API for server verificationPierre Ossman2022-03-101-0/+33
| | | | | The new RSA AES security types have a mechanism for authenticating the server that needs to be properly specified.
* Avoid scrolling on RFB object focusPierre Ossman2021-11-161-1/+8
| | | | | | | | Chrome scrolls the view to show as much as possible of the canvas when we call focus(), which is likely not the desired behaviour. This also exposes the ability to pass on future options when focusing the RFB object manually.
* add Man page and rename launch.sh to novnc_proxy.Jan Zerebecki2021-06-251-0/+37
| | | | Co-Authored-By: Adam Young <ayoung@redhat.com>
* Revert "Fixed a race condition when attaching to an existing socket"Pierre Ossman2021-04-161-5/+0
| | | | | | This reverts commit ef27628c6dff6120b0ed0d4728cc6e8a32b7be53. By bypassing setTimeout() it creates other race conditions so this is not the proper fix for the issue.
* Fixed a race condition when attaching to an existing socketTim Stableford2021-03-301-0/+5
| | | | | | | | | | | | | This is an error that presents itself with RTCDataChannel's, I suspect this could not happen with a pre-existing WebSocket. If the remote connection creates a data channel then the local (VNC) side gets a channel created callback. It may also be the case that in that very same tick the socket is also opened and buffered data received. This meant that (in my tests) about 1/3 of the time noVNC would fail to respond to the initial message from the server because it was received and subsequently not handled during that initial tick. Also made the documentation reflect this new behaviour and document the existing behaviour.
* Added support for RTCDataChannelTim Stableford2021-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work is originally by Ryan Castner <castner.rr@gmail.com> and submitted as a PR here https://github.com/novnc/noVNC/pull/1362 Architecturally it is much the same except it doesn't rename a lot of variables to make this more reviewable. It also avoids unrelated changes such as replacing .onclose with an event listener, which caused numerous test failures. It also adds in ppoffice's fix to initialise the buffers. Like the original author I don't have enough time available to refactor this project to the new style event listeners. Review cleanup for RTCDataChannel support (see below) * More descriptive error when url or channel not set. * Moved websocket property check to WebSock. This had unintended consequences in the tests that required some fixup. Mostly due to some tests not always passing FakeWebsocket. FakeWebsocket also needs to set the listeners to null to be compatible with what is in thw browser and expected by the property check code. The property check code now also takes into account class prototypes for test compatibility. * Removed unreachable code. * Reverted comment. * Cleanup raw channel reference in rfb on websock close. * Use readyState to check whether a socket is open rather than assuming. * Updated RFB constructor documentation Removed an unused boolean passed to attach
* Update conversion documentation for Node.jsPierre Ossman2020-12-301-7/+3
| | | | | We now only support conversion to CommonJS, in order to support Node.js older than version 15.
* Remove documentation about converting the appPierre Ossman2020-12-301-18/+0
| | | | | This is no longer possible as we now require browser support for modules.
* Merge branch 'rgbx' of https://github.com/CendioOssman/noVNCPierre Ossman2020-09-041-5/+0
|\
| * Standardise on a single blit functionPierre Ossman2020-06-081-2/+0
| | | | | | | | | | Keep everything simpler by always blitting in the same pixel format. It's up to the decoders to convert if they need to.
| * Move tile handling to Hextile decoderPierre Ossman2020-06-061-3/+0
| | | | | | | | | | It is only used there so no need for it to be in the general Display class.
* | Remove note about clipboard ISO 8859-1 restrictionPierre Ossman2020-07-071-2/+1
| | | | | | | | | | We now support full Unicode, provided the server also supports the proper extension.
* | Move mouse event handling to RFB classPierre Ossman2020-06-121-33/+7
| | | | | | | | | | Move the last remaining bits to the RFB class to keep things simple, as the Mouse class no longer provides any real value.
* | Add touch gestures for mouse emulationPierre Ossman2020-06-121-6/+0
|/ | | | | | | | Add several single and multitouch gestures to simulate various mouse actions that would otherwise be impossible to perform. This replaces the old system where you could select which mouse button a single touch would generate.
* Add ability to set compression levelSamuel Mannehed2020-05-012-0/+10
| | | | Fixes github issue #1382.
* Document default setting of `focusOnClick`Ingo Blechschmidt2020-04-291-1/+1
|
* Add UI for quality settingPierre Ossman2020-02-281-0/+2
|
* adds qualityLevel property to RFB class for updating JPEG quality level ↵Andrey Trebler2020-02-281-0/+5
| | | | encoding on the fly
* Validate decoded image dimensionsPierre Ossman2019-12-231-1/+1
| | | | | They are expected to be a certain size, so verify this so no server tries to do something broken.
* Remove pointless Display.clear()Pierre Ossman2019-08-231-1/+0
| | | | | It served no meaningful purpose and it had bugs. So let's remove it rather than try to fix it.
* Remove unused Display.logo attributePierre Ossman2019-08-231-2/+1
|
* Deprecate showDotCursor option for RFB constructorPierre Ossman2019-08-231-5/+0
| | | | | | It is not relevant for the connection stage so it should not have been a constructor argument to begin with. Ship with a warning for a release before we remove it.
* Add documentation for the option showDotCursorSamuel Mannehed2019-07-231-0/+5
| | | | This is not only a property, it's also a parameter to the constructor.
* Remove the default value of wsProtocolsSamuel Mannehed2019-07-231-1/+2
| | | | Using the 'binary' protocol by default is very non-standard.
* Merge pull request #1262 from shiramax/sub_protocolsSamuel Mannehed2019-07-231-0/+3
|\ | | | | Add support in websocket sub-protocols
| * Add support in websocket sub-protocolsShira Maximov2019-07-231-0/+3
| |
* | Update link to websock.js APISamuel Mannehed2019-07-151-1/+1
|/
* Make the screen background cutomizableMykola Mokhnach2019-01-181-0/+6
|
* Show dot when there is no visible cursorAlexander E. Patrakov2018-09-142-0/+8
| | | | Disabled by default.
* Documented browser cache issueAlexander E. Patrakov2018-07-221-0/+33
|
* Merge branch 'cursor' of https://github.com/CendioOssman/noVNCPierre Ossman2018-07-111-3/+0
|\
| * Separate out cursor handlingPierre Ossman2018-03-151-3/+0
| | | | | | | | | | Make cursor handling more generic in preparation for generic handling of corner cases.
* | Prefer const/let over varJuanjo Diaz2018-05-241-1/+1
| |
* | Move VERSION to top-levelSamuel Mannehed2018-03-151-1/+0
| |
* | Remove docs/release.txtSamuel Mannehed2018-03-151-34/+0
| | | | | | | | | | | | Instructions has been moved to the wiki: https://github.com/novnc/noVNC/wiki/Development:-Making-a-release
* | Fix docs/VERSIONSamuel Mannehed2018-03-151-1/+1
|/
* Merge branch 'docs' of https://github.com/CendioOssman/noVNCPierre Ossman2017-12-127-1036/+118
|\
| * Add documentation for integrating noVNCPierre Ossman2017-12-122-0/+118
| |
| * Update licensing informationPierre Ossman2017-12-085-1036/+0
| | | | | | | | | | The first page now points to the more complete licensing document, and some no longer used licenses have been removed.
* | Move resize handling in to RFB objectPierre Ossman2017-12-062-96/+45
|/ | | | | Makes the API simpler and makes it easier for other frontends to get this functionality.
* Abstract RFB errors to avoid sending stringsSamuel Mannehed2017-11-141-4/+28
| | | | | | | | | | | | | | | | | The API allowed strings to be passed from the RFB module to the application using the disconnect reason. This caused problems since the application didn't have control over translations for these strings. Most of the information being passed using this string was very technical and not helpful to the end user. One exception to this was the security result information regarding for example authentication failures. The protocol allows the VNC server to pass a string directly to the user in the security result. So the disconnect reason is replaced by a boolean saying if the disconnection was clean or not. And for the security result information from the server, a new event has been added.
* Replace updatestate event with connectSamuel Mannehed2017-11-141-20/+7
| | | | | | | Instead of exposing all the internal connection states, the RFB module will now only send events on connect and on disconnect. This makes it simpler for the application and gets rid of the double events that were being sent on disconnect (previously updatestate and disconnect).
* Remove RFB.notification()Samuel Mannehed2017-11-111-21/+0
| | | | | This interface was a band aid for poor design. The two cases where it was used was replaced by logging.
* Merge branch 'api' of https://github.com/CendioOssman/noVNCPierre Ossman2017-11-102-225/+520
|\
| * Use standard EventTarget interface for eventsPierre Ossman2017-11-091-95/+74
| |
| * Remove unused options argument in onnotification event handlerPierre Ossman2017-11-091-3/+1
| |