summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow resize setting to be changed while connectedsaveimmediatelySamuel Mannehed2017-01-271-1/+4
| | | | There is no reason to why this shouldn't be possible.
* Separate init functions from event handling setupSamuel Mannehed2017-01-271-23/+29
| | | | Adds a new section for all functions that add event handlers.
* Rename function for adding resize handlersSamuel Mannehed2017-01-271-5/+4
| | | | | Moves the one handler for the status out of the function as well. It didn't fit in with the function's old name either.
* Rename and move init function for fullscreenSamuel Mannehed2017-01-271-16/+17
|
* Save settings immediatelySamuel Mannehed2017-01-272-50/+32
| | | | | | | Retire the old settingsApply. This also allows UI logic to check the state of things using the settings instead of having to look at the values of HTML elements (we couldn't be sure if the changes were applied yet or not).
* Remove unused toggleConnectPanel functionSamuel Mannehed2017-01-241-9/+0
|
* Add UI wrapper for Webutil.init_loggingSamuel Mannehed2017-01-241-2/+6
|
* Merge branch 'add-reconnect' of https://github.com/fd0/noVNCPierre Ossman2017-01-233-4/+73
|\
| * Add reconnect optionAlexander Neumann2017-01-233-4/+73
| | | | | | | | | | | | | | Add an option to automatically reconnect after a delay when the connection is closed. Closes #746
* | Set pointer cursor for status barPierre Ossman2017-01-201-0/+2
| | | | | | | | | | It can be dismissed by clicking on it, so hint this by setting the pointer cursor type.
* | Replace TigerVNC with MobileVNCSamuel Mannehed2017-01-191-1/+1
| | | | | | TigerVNC doesn't have a built in websocket proxy
* | Fix global error handlerPierre Ossman2017-01-181-12/+20
|/ | | | | | It stopped working when we switched to textContent as it relies on being able to add new HTML elements. Do things properly by adding new elements via createElement().
* Fix screenshot URL'sSamuel Mannehed2017-01-141-4/+3
|
* Change server exampleSamuel Mannehed2017-01-141-1/+1
| | | Replaced PocketVNC with TigerVNC since the PocketVNC url was broken and the project isn't active anymore.
* Update to new organization urlsSamuel Mannehed2017-01-141-16/+17
|
* Use textContent instead of innerHTMLSolly Ross2017-01-125-12/+16
| | | | | | | | | Previously, setting `innerHTML` was used to display the statuses. These could include content communicated from the remote VNC server, allowing the remove VNC server to inject HTML into the noVNC page. This commit switches all uses of `innerHTML` to use `textContent`, which is not vulnerable to the HTML injection.
* Add Pierre Ossman to core teamSamuel Mannehed2017-01-121-0/+1
|
* Fix rfb._cleanup() (#743)Samuel Mannehed2017-01-091-9/+7
| | | | | | We don't have to check for _display or context here since this is a private function which is never called under such circumstances. This solves problems caused by display.get_context() which was previously removed in e549ae074fcea9febde32c0fa260a64c15cc1b8e.
* Merge pull request #715 from CendioOssman/cleanupSolly Ross2017-01-067-226/+295
|\ | | | | Cleanup of settings (amongst other things)
| * Avoid wrapping labelsPierre Ossman2017-01-041-0/+1
| |
| * Clean up z index orderingPierre Ossman2017-01-042-6/+31
| | | | | | | | | | | | We have enough layers now that we need to have some system for this. E.g. make sure that dialogs during connect show up in front of the blocking transition layer.
| * Make connect button more prominentPierre Ossman2017-01-043-26/+114
| | | | | | | | | | It's generally the only thing the user needs to click on, so make sure it clearly stands out.
| * Remove connect dialogPierre Ossman2017-01-043-64/+9
| | | | | | | | | | It only contained a password field, which might not be needed, and is handled by a separate dialog if it is.
| * Remove vendor prefix from border-radiusPierre Ossman2017-01-041-4/+0
| | | | | | | | | | It's been standardised for quite some time, so remove the extra noise in the CSS.
| * Group rarely changed settings togetherPierre Ossman2017-01-041-35/+42
| |
| * Group WebSocket settings togetherPierre Ossman2017-01-044-18/+133
| | | | | | | | | | It was easy to confuse them as being VNC settings, so keep them all under one group.
| * Remove alternative style sheetsPierre Ossman2017-01-045-101/+0
| | | | | | | | | | | | Anyone with basic knowledge of CSS will easily figure out how to customise the appearance of the UI, so remove the burden of having to maintain these extra style sheets.
| * Remove unused token settingPierre Ossman2017-01-042-12/+0
| |
| * Center canvas vertically as wellPierre Ossman2017-01-041-2/+3
| |
| * Black out background when connectedPierre Ossman2017-01-041-0/+4
|/
* Fix no auth "this._updateState" bugLee-Feng2016-12-201-1/+1
| | | Fixes #735
* Merge pull request #699 from CendioOssman/doubleSamuel Mannehed2016-12-139-498/+463
|\ | | | | Display double buffering
| * Clean up viewport handlingPierre Ossman2016-12-093-50/+132
| | | | | | | | | | Make sure the viewport is properly updated when necessary, on respects given restrictions.
| * Remove max dimension handlingPierre Ossman2016-12-093-80/+10
| | | | | | | | | | | | The viewport handling is now a lot clearer, so simply limit the size of the viewport in the caller rather than having this extra layer of checks.
| * Prevent access to sensitive display variablesPierre Ossman2016-12-092-15/+3
| | | | | | | | | | These should not be directly accessed. Instead use drawing operation and Display.resize().
| * Double buffering damage trackingPierre Ossman2016-12-091-11/+71
| | | | | | | | | | Optimise the copy from the hidden canvas to the visible one a bit by only copying the modified area.
| * Use double buffering for the displayPierre Ossman2016-12-094-287/+143
| | | | | | | | | | | | | | Do all rendering to a hidden canvas and then copy over the finished frame to the visible canvas once everything is done. This simplifies things and solves some bugs as we can retain a copy of the entire frame buffer.
| * Update all state on session size changePierre Ossman2016-12-091-1/+6
| |
| * Don't violate Display abstractionPierre Ossman2016-12-092-24/+9
| | | | | | | | | | Use the normal API as much as possible instead of poking around in internals that might change.
| * Add test for Display.flush()Pierre Ossman2016-12-091-0/+8
| |
| * Remove blitStringImage() in favour of imageRect()Pierre Ossman2016-12-092-30/+26
| | | | | | | | | | The latter is more generic and can easily be modified for other mechanisms in the future.
| * Flush out rendering after each performance testPierre Ossman2016-12-091-3/+28
| | | | | | | | | | There might be operations pending in the render queue. Make sure these are fully handled before we consider the test run over.
| * Run performance tests at full speedPierre Ossman2016-12-061-1/+37
| | | | | | | | | | | | | | setTimeout() is subject to delays, possible massive ones. As such it is rather useless for performance sensitive code. Use the non-standard setImmediate() API instead, emulating it on postMessage() when it isn't available.
| * Don't grab input when running performance testsPierre Ossman2016-10-251-0/+1
| |
| * Fix performance tests to follow new state APIPierre Ossman2016-10-243-30/+23
| |
* | Merge pull request #727 from CendioOssman/travisSamuel Mannehed2016-12-012-6/+16
|\ \ | | | | | | Fix travis tests
| * | Skip language tests on broken browsersPierre Ossman2016-11-291-0/+12
| | | | | | | | | | | | | | | | | | The hacks needed to run these tests require proper handling of properties. Unfortunately IE and old versions of Chrome mess up, so just skip the tests there.
| * | Update test platformsPierre Ossman2016-11-291-6/+4
|/ / | | | | | | | | Test on the latest version of everything, as new versions are coming out constantly. Also add some missing combinations.
* | Merge pull request #725 from CendioOssman/rightbarSamuel Mannehed2016-11-293-27/+118
|\ \ | | | | | | Allow control bar to be moved to the right side
| * | Remember control bar positionPierre Ossman2016-11-261-1/+12
| | |