summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Fix build issues with Visual C++ (implemented macro version of snprintf + ↵DRC2011-06-247-14/+33
| | | | | | re-ordered headers to ensure that winsock is included ahead of windows.h) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4527 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Call Fl::args() to properly parse the "hidden" arguments that FLTK ↵DRC2011-06-231-13/+16
| | | | | | understands. This has two primary benefits: (1) On X11 systems, you can now override the X display by passing '-display {display}' as the first argument, as is the case for most other X11 apps, and (2) on OS X, this allows the application to run within an application (.app) bundle, because Fl::args() parses the hidden arguments passed to the app by the launcher. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4525 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Call setMenuKey before initContextMenu to avoid uninitialisedPeter Åstrand2011-06-231-2/+1
| | | | | | | | menuKeyCode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4520 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Turns out that TXImage wasn't just being overly cautious with the custom errorPierre Ossman2011-06-171-0/+24
| | | | | | | | | handler; the shared memory extension is actually this broken so it will return success all the way through even when you're on a remote connection where things cannot possibly work. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4505 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement optimised drawing operations for OS X. Didn't see any reduction inPierre Ossman2011-06-174-2/+150
| | | | | | | | CPU usage unfortunately, but at least we're now using the native pixel format of our server which avoids a conversion on the server side. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4504 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused structure definition.Pierre Ossman2011-06-171-12/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4503 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Translate the default menu items we get on OS X.Pierre Ossman2011-06-161-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4502 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement a more robust method to handle the keyboard grab/focus voodoo asPierre Ossman2011-06-144-21/+58
| | | | | | | it didn't catch some cases on OS X. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4496 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Flushing screen updates after 100 ms turned out to be too aggressive andPierre Ossman2011-06-131-1/+1
| | | | | | | | | just gave an annoying window blinds effect that made things difficult to read. Reduce things to 500 ms, which should be sufficient to tell that the session isn't completely frozen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4495 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimised drawing routines for Win32, based on the old Windows viewer.Pierre Ossman2011-06-134-2/+136
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4494 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimised drawing routines for X11, roughly based on how the old Unix viewerPierre Ossman2011-06-134-1/+240
| | | | | | | did things. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4493 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic framework for more optimised, platform specific, drawing routines.Pierre Ossman2011-06-133-19/+66
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4492 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We can get 0x0 cursor sometimes when the server wants to hide it.Pierre Ossman2011-06-091-24/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4481 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copied the dot cursor logic over from the Unix viewer incorrectly.Pierre Ossman2011-06-091-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4480 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Default to fully respecting the remote cursor in order to be closer to a localPierre Ossman2011-06-091-1/+1
| | | | | | | experience. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4479 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We have no cursor initially, and never if the server doesn't support localPierre Ossman2011-06-091-1/+2
| | | | | | | cursors, so make sure we don't pass a NULL pointer to FLTK. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4478 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement dot cursor in new viewer.Pierre Ossman2011-06-091-28/+56
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4477 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The default value of local cursor support is false, so we couldn't justPierre Ossman2011-06-091-0/+4
| | | | | | | remove these lines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4476 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bah, not enough coffee today. I had already implemented the pointer ratePierre Ossman2011-06-085-12/+4
| | | | | | | | control, so it can be allowed to stay for now. And there were a bunch of references to the local cursor option. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4475 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Local cursors are a pain to deal with and I doubt it's worth the effort toPierre Ossman2011-06-082-7/+0
| | | | | | | | keep around in the new viewer. Remove that option and the pointer rate limiting (for similar reasons). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4474 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for cursors to the new viewer.Pierre Ossman2011-06-085-14/+78
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the popup menu is reset to the same state each go.Pierre Ossman2011-06-031-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4463 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle framebuffer resize requests.Pierre Ossman2011-06-013-28/+89
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4460 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow resize of the viewport widget.Pierre Ossman2011-06-012-0/+46
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4459 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix some misbehaviour with the scroll widget caused by the popup menu.Pierre Ossman2011-06-011-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4458 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we can handle clipboard data of any size.Pierre Ossman2011-05-262-12/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4454 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to start in full screen mode.Pierre Ossman2011-05-261-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4453 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Toggle full screen based on changes in the options window.Pierre Ossman2011-05-261-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4452 3789f03b-4d11-0410-bbf8-ca57d06f2519
* As we also fall through for FL_FOCUS, we need to do an extra check of thePierre Ossman2011-05-261-1/+2
| | | | | | | event code here. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4451 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update the full screen setting when the state is toggled by other means.Pierre Ossman2011-05-261-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4450 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for grabbing the keyboard when in full screen mode.Pierre Ossman2011-05-2612-0/+423
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix some graphics bugs that occurred on Win32 when using the popup menu.Pierre Ossman2011-05-261-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4448 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement full screen support in new vncviewer.Pierre Ossman2011-05-261-1/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4447 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handling a full range of keys for the menu key is not as trivial in FLTK asPierre Ossman2011-05-245-9/+90
| | | | | | | | with raw X11, so do what the Windows client did and restrict the available keys to just the function keys. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4444 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle horizontal wheel events and not just vertical.Pierre Ossman2011-05-241-3/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4443 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be careful about feeding FLTK @:s when they will be used in aPierre Ossman2011-05-233-6/+50
| | | | | | | label as that is a formatting character. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4440 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This bug has been fixed upstream, so remove the comment.Pierre Ossman2011-05-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4439 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Undo accidental commit of premature fullscreen code.Pierre Ossman2011-05-201-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4438 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for multimedia keys.Pierre Ossman2011-05-201-0/+38
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4437 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove no longer used code.Pierre Ossman2011-05-203-33/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4435 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Better handling of the numpad by looking at FLTK's "original key code".Pierre Ossman2011-05-202-12/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4434 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add keyboard debugging output.Pierre Ossman2011-05-191-1/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for sending the local clipboard to the server.Pierre Ossman2011-05-192-0/+36
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4432 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do some proper cleanup and delete the desktop window on close.Pierre Ossman2011-05-191-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4431 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for clipboard data coming from the server.Pierre Ossman2011-05-191-1/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4430 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement dialog for when both username and password is needed.Pierre Ossman2011-05-171-4/+62
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4424 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we can display all the possible dialog types the RFB core needs.Pierre Ossman2011-05-171-1/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4423 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update connection parameters when the user has changed things in the optionsPierre Ossman2011-05-172-3/+60
| | | | | | | dialog. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4422 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a callback mechanism to the options dialog so that other parts of vncviewerPierre Ossman2011-05-172-0/+28
| | | | | | | can pick up on changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4421 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for storing settings from the options dialog.Pierre Ossman2011-05-161-0/+81
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4419 3789f03b-4d11-0410-bbf8-ca57d06f2519