aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Update min version of gettext required to build with .desktop filesBrian P. Hinz2017-08-081-1/+1
| | | | .desktop files support was not added to msgfmt until v0.19
* Add fallbacks for translating .desktop filePierre Ossman2017-07-211-6/+27
| | | | | | Only fairly recent versions of gettext can translate .desktop files. So fall back to the older intltool on older systems, or just a plain copy if intltool is also missing.
* Increase default pointer event intervalPierre Ossman2017-07-192-2/+2
| | | | | | Some systems (e.g. macOS) send massive amounts of pointer events, so we need to start rate limiting things to something sensible by default. One event per screen refresh should be more than sufficient.
* Allow removal of GUI prompt on fatal errorsDr. David Alan Gilbert2017-07-195-6/+21
| | | | | | | | | | | | | | | | | | | | Add a new parameter 'alertOnFatalError' which guards the displaying of the GUI alert on fatal errors, and thus when false just gives the textual error. Now I can do: while true do vncviewer alertOnFatalError=false vm:0 sleep 1 done and it'll reappear when my VM appears without me getting error dialogs. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --
* Add generic name to .desktop filePierre Ossman2017-07-191-0/+1
| | | | | This often gives the user more information about what kind of application this is.
* Generate translations in .desktop file from po filesPierre Ossman2017-07-192-5/+8
|
* Add danish translationscootergrisen2017-07-141-0/+2
|
* Remove "Print" from keys that can open F8 menuSamuel Mannehed2017-06-022-3/+1
| | | | Since it is caught by the local system on most platforms.
*-. Merge branches 'fix-fullscreen-scroll' and 'fix-scrollbar-visibility' of ↵Pierre Ossman2017-05-311-13/+28
|\ \ | | | | | | | | | https://github.com/LukeShu/tigervnc
| | * vncviewer: Fix scrollbar visibilityLuke Shumaker2017-05-241-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have a window that is sized to the remote screen. Now shrink the window vertically, making it shorter than the remote screen in one axis. The vertical scrollbar appears. However, the horizontal scrollbar does not appear, despite the rightmost ~24 pixels (Fl::scrollbar_size()) being hidden by the vertical scroll bar. Fix that. For clarity, move the fullscreen checks into a separate `if` statement, rather than keeping the size and fullscreen checks together. I think the comment does a decent job of explaining and justifying the check's logic, but if you require further convincing, perhaps this alternate explanation will help: The check for the X-axis is if ((w() - (h() < viewport->h() ? Fl::scrollbar_size() : 0) < viewport->w()) To be a bit more verbose and repetitive, we can split that ternary in to two separate checks, and add some comments: if ( (w() - < viewport->w()) // X needs a scrollbar || ( (w() - Fl::scrollbar_size() < viewport->w()) && (h() < viewport->h()) ) //( X doesn't need a scrollbar unless Y does ) && ( Y does need one ) ) ) Within the "Y does need one" check, we don't need to worry about the case where `h() - Fl::scrollbar_size() < viewport-h()` is true, because if both axes are saying "I don't need a scrollbar unless you do", then neither needs one.
| * | vncviewer: Fix fullscreen scrollingLuke Shumaker2017-05-241-6/+1
| |/
* / Compatibility with macOS 10.12 SDKPierre Ossman2017-05-241-1/+4
|/ | | | | They finally added kVK_RightCommand, so our workaround needs to be conditional.
* Mark strings for translationAlexander Shopov2017-04-291-6/+6
|
* Filter out alpha channel for normal draw() operationPierre Ossman2017-04-281-3/+11
| | | | | | | macOS actually uses the alpha channel on windows, so we can get visual artifacts if we feed it bogus alpha data. This filtering unfortunately causes some CPU usage, but it's necessary until we can make sure the framebuffer always contains proper 0xff for alpha.
* Use correct color space for current monitorPierre Ossman2017-04-283-26/+46
| | | | | | We won't always be on the primary monitor, so check which color space we're actually using right now. For offscreen stuff we assume a standard sRGB color space.
* Create new CGImage for each drawPierre Ossman2017-04-282-36/+46
| | | | | | The system expects these to be immutable, so changing the data after creation only works in some special cases. We need to recreate the CGImage object each time we've changed something.
* Use sub-image instead of clippingPierre Ossman2017-04-281-18/+18
| | | | It seems to be more efficient.
* Only draw overlays when neededPierre Ossman2017-04-281-8/+12
| | | | Some backends don't like empty draw operations, so have an early check.
* Be more restrictive with shared memory mode bitsPierre Ossman2017-03-291-1/+1
| | | | Everyone else seems to get by with using 0600, so let's do the same.
* Avoid leaking shared memory via X serverPierre Ossman2017-03-291-0/+1
| | | | | It's not enough that we detach from the shared memory, we must also tell the X server to do so for it to be freed properly.
* Update visible copyright year to 2017Samuel Mannehed2017-03-202-2/+2
|
* Fix for "Invalid use of member 'stats' in static member function"Brian P. Hinz2017-03-101-2/+2
|
* Display performance statistics in viewerPierre Ossman2017-02-244-2/+199
| | | | | | Adds an optional graph to the viewer to display current frame rate, pixel rate and network bandwidth. Makes it easier to debug and test performance related issues.
* Get correct text width for overlayPierre Ossman2017-02-241-0/+1
| | | | Incoming width specifies wrapping width, and we do not want any wrapping.
* Change cursor API to use RGBA dataPierre Ossman2017-02-226-41/+15
| | | | | This will allow us to use better formats that preserve the entire alpha channel.
* Add missing headersAlexander Zakharov2017-02-141-0/+3
|
* Fade overlay in and outPierre Ossman2017-02-106-28/+84
|
* Add overlay tip to help find the context menuPierre Ossman2017-02-102-10/+173
|
* Add alpha blending support to surfacesPierre Ossman2017-02-105-17/+129
|
* Render on a temporary surface when neededPierre Ossman2017-02-108-32/+133
| | | | | | Some platforms draw directly to the screen, which means that updates will flicker if we draw multiple layers. Prevent this by first composing the update on a hidden surface.
* Abstract platform rendering to "surfaces"Pierre Ossman2017-02-1014-560/+695
| | | | This will allow us to render more things than just the framebuffer.
* Handle scrolling manuallyPierre Ossman2017-02-102-56/+146
| | | | | Stop fighting with the FLTK scroll widget and handle layout ourselves. This opens up the possibility of doing more complex drawing as well.
* Remove support for old macOSPierre Ossman2017-02-091-176/+81
| | | | Raising the requirement to 10.5 allows us to clean up the code a bit.
* Fix for shared memory leakage.TSUKAHARA Ken2017-01-201-4/+2
|
* Do explict sync after XShmPutImage()Pierre Ossman2017-01-115-89/+5
| | | | | The complex logic waiting for events didn't result in any added performance, so use the simpler approach.
* Improve graphics performance on macOSPierre Ossman2017-01-042-35/+40
| | | | | Use the APIs the way Apple wants us to, in order to avoid slow fallback code paths in Quartz.
* Remove unused declarations from Viewport.hPierre Ossman2017-01-031-4/+0
|
* Avoid translating simple error exceptionsPierre Ossman2017-01-033-10/+10
| | | | | These are very rare and very low level. Might as well just print the offending call to keep things easily maintained.
* More robust event and close handlingPierre Ossman2017-01-031-5/+9
| | | | | | There were still some circumstances where we could get stuck reading data and not respect close events properly. Move that logic to a more central place in order to make it more reliable.
* Respect SendClipboard settingPierre Ossman2017-01-021-0/+3
|
* Disable checkboxes for primary selection when relevantPierre Ossman2017-01-022-1/+21
|
* Documents $HOME/.vnc/default.tigervnc formatJeff Blaine2016-05-231-1/+4
| | | Fixes #270
* Don't reference Xregion unless used directlyPierre Ossman2016-05-131-1/+1
|
* Properly reference ShmCompletion event indexPierre Ossman2016-05-041-1/+1
|
* Be more paranoid about ShmCompletion eventsPierre Ossman2016-05-042-1/+12
| | | | | | | Unfortunately HP ships a buggy X server on their thin clients that send out extra, bogus ShmCompletion events. This screws up our logic so we need to filter them out. Fortunately they are sent with an invalid drawable id, so simply verify that.
* Don't mention cut buffersPierre Ossman2016-03-293-4/+4
| | | | | We haven't supported them in a long time so we shouldn't mention them in the interface and documentation.
* Add option to set primary selection for cut textPierre Ossman2016-03-296-1/+28
| | | | | | Previously the incoming clipboard was unconditionally set to both the PRIMARY and CLIPBOARD selection. This isn't always what the user want, so make it configurable.
* change the Copyright year on Top README.TXT and vncviewer.cxxBojan Memetovic2016-03-211-1/+1
|
* change the Copyright yearBojan Memetovic2016-03-181-1/+1
|
* Install viewer .desktop file and icons on all Unix systemsPierre Ossman2016-01-112-0/+17
| | | | | These files are not Red Hat or Ubuntu specific, so install them on all Unix systems where the viewer is installed.