summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Remove "Error:" prefix from error messagePierre Ossman2014-11-191-1/+1
| | | | We had already fixed the others, but this one was overlooked.
* Make sure we do an initial resizePierre Ossman2014-11-111-4/+12
| | | | | | The local window manager might give us a window of a different size than the one we request. Make sure that the remote resize setting gets respected even in this case.
* Merge branch 'build' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-211-5/+2
|\
| * Add Carbon and Cocoa dependencies to vncviewerPierre Ossman2014-10-171-0/+4
| | | | | | | | | | We use both frameworks directly from vncviewer so we should make sure they get pulled in.
| * Move ws2_32 dependency to the correct placePierre Ossman2014-10-171-7/+0
| | | | | | | | It is rdr and network that needs it, not vncviewer.
* | Check the return value from XShmAttach.Tim Waugh2014-10-171-1/+5
| |
* | Don't use MIT-SHM on remote displays.Tim Waugh2014-10-161-0/+5
|/ | | | | | | | | | | | | | | When run from within 'ssh -X' or 'ssh -Y', MIT-SHM will appear to be available even though it won't work: the shared memory will be on the machine running vncviewer, not on the machine running the X server it displays to. Depending on what shm segments are available on the machine running the X server, the failure may not be apparent when checking that MIT-SHM works. Avoid this by not using MIT-SHM when XDisplayName() indicates we may not be running locally. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1072733
* Use exceptions rather than asserts for for "normal" errorsPierre Ossman2014-10-103-8/+11
| | | | | | | Although these are rare, they are still not indicative of bugs so an exception (which ends up in the log and might also be shown to the user) is more appropriate than an assert. Asserts should only be used to catch blatant API misuse and similar.
* Use the same style for exception messagesPierre Ossman2014-10-102-4/+4
|
* Remove unused assert.h includePierre Ossman2014-10-101-1/+0
|
* Handle PrintScreen and SysReq on WindowsPierre Ossman2014-09-302-1/+9
| | | | | | This key requires a bit extra care on Windows. We get wildly different messages depending on if Alt is pressed or not. The symbol chosen now follows the standard behaviour on X11.
* Fix the build timestamp to be more translation friendlyPierre Ossman2014-09-223-25/+4
|
* Move copyright year out of string to avoid re-translationPierre Ossman2014-09-221-2/+3
|
* Don't use tabs for indentationPierre Ossman2014-09-221-80/+84
|
* Make sure user visible strings are translatedPierre Ossman2014-09-228-78/+96
|
* Make some log messages more sane for translatorsPierre Ossman2014-09-221-4/+8
|
* Generate the about text in a single placePierre Ossman2014-09-221-10/+12
|
* Split up the info stringPierre Ossman2014-09-221-22/+56
| | | | | Avoids having to translate the entire thing if just part of it changes.
* Document the client side X509 parametersPierre Ossman2014-09-171-0/+18
|
* Correct naming convention for some parametersPierre Ossman2014-09-172-6/+6
|
* Avoid extra spacing in the generated man pagesPierre Ossman2014-09-171-28/+28
|
* Document default configuration file locationPierre Ossman2014-09-171-0/+5
|
* Update the vncviewer man page with current list of optionsPierre Ossman2014-09-171-16/+62
|
* Remove the date from man pagesPierre Ossman2014-09-171-1/+1
| | | | It's not something we're keeping up to date anyway.
* Clean up the authors section of the man pagesPierre Ossman2014-09-171-3/+4
|
* Update FLTK patches based on feeback from upstreamPierre Ossman2014-09-112-16/+16
|
* Protect the optional IM disabling calls with #ifdef:sPierre Ossman2014-09-111-0/+4
|
* Use different keysyms for left and right alt on OS XPierre Ossman2014-08-221-0/+2
| | | | | The server will get them confused otherwise if they are pressed at the same time.
* Disable input methods when the viewport is focusedPierre Ossman2014-08-221-0/+2
| | | | | | Input methods are way too complex for us to map them to the VNC protocol in any sane manner. Best just to disable them and rely on simple keyboard behaviour when the viewport is active.
* Ignore FLTK events when we have low level hooksPierre Ossman2014-08-221-0/+4
| | | | | Some events can sneak through, e.g. from some virtual keyboards. We need to ignore these to avoid confusion.
* Add OS X keyboard handlerPierre Ossman2014-08-223-1/+423
|
* Add Windows keyboard handlerPierre Ossman2014-08-223-1/+250
|
* Add X11 keyboard handlerPierre Ossman2014-08-222-0/+51
|
* Add xhandler hookPierre Ossman2014-08-222-0/+33
| | | | | Boiler plate code to intercept system events from FLTK so that we can generate proper keyboard messages.
* Add helper to get combining codepoint from a spacing characterPierre Ossman2014-08-222-0/+48
|
* Better codepoint for combining ypogegrammeni (dead iota)Pierre Ossman2014-08-221-1/+1
|
* Attempt to handle Ctrl+keyPierre Ossman2014-08-221-1/+17
| | | | | Hacky attempt to try to figure out the actual key pressed when FLTK is giving us control codes.
* Remove simple keyboard modelPierre Ossman2014-08-224-182/+224
| | | | | Remove the FLTK simple keyboard system and reorganise things in preparation for a more direct approach.
* Windows debug builds of vncviewer should have a consolePierre Ossman2014-07-211-1/+1
| | | | | Makes it easier to debug it by having convenient access to the log output.
* Use NoSymbol as the error codePierre Ossman2014-07-212-4/+10
| | | | | This is how the X11 API does things, so it's clearer if we use the same principle.
* Make keysymtab static and constPierre Ossman2014-07-211-1/+3
| | | | | Static to avoid namespace polution, and const so that it can be shared among instances.
* String literals are constantPierre Ossman2014-07-141-4/+6
|
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-148-194/+46
| | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
* Provide a better R/W base PixelBuffer classPierre Ossman2014-07-075-6/+13
| | | | | Clearly separates the read API from the write API and also from actual implementation.
* Get rid of getStride()Pierre Ossman2014-07-077-17/+9
| | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
* Get rid of the direct access abuse of FullFramePixelBuffer's dataPierre Ossman2014-07-071-4/+10
|
* Create a proper interface base class for the viewport's framebufferPierre Ossman2014-07-0713-73/+195
| | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-1/+1
| | | | | | The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters.
* Push encoder and decoder handling down into the connection objectsPierre Ossman2014-07-072-12/+30
| | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders.
* Remove full support for colour mapsPierre Ossman2014-07-077-58/+10
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.