summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/x0vncserver.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Return TcpListener pointers rather than objectsPierre Ossman2015-09-291-8/+8
| | | | | | It is easier to control object life time and avoid magical socket duplication by having a single TcpListener object to pass around. We have to be more careful about deleting the object though.
* Fixed IPv6 support.Tim Waugh2015-03-131-9/+22
| | | | | | | | | | | | The TcpListener constructor now takes a 'struct sockaddr*' instead of a string, and the createTcpListeners function creates TcpListener instances for an address based on the results from getaddrinfo(). The XserverDesktop class now takes a list of TcpListener instances for each of the RFB and HTTP sockets. The TcpListener::closeFd member variable is not used and has been removed.
* Handler still needs to return something even with XDamagePierre Ossman2015-03-031-0/+2
|
* Remove full support for colour mapsPierre Ossman2014-07-071-16/+2
| | | | | | | | | 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.
* Accidentally removed some code in the previous commit.Pierre Ossman2014-06-251-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5186 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add XDAMAGE support to x0vncserver. Makes it more efficientPierre Ossman2014-06-251-15/+57
| | | | | | and more responsive to changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5185 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-261-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Replace SSecurityFactoryStandard class by simplier Security class.Adam Tkac2010-04-231-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add possibility to define viewer/server specific parameters viaAdam Tkac2010-04-231-0/+2
| | | | | | | Configuration class. Change needed viewer/server code appropriately. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add new "-i" and "-interface" parameters to Xvnc. Now Xvnc is ableAdam Tkac2010-02-051-1/+1
| | | | | | | to listen on specific interface. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3963 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert previous commit (r3889). Windows code has to be cleaned before thisAdam Tkac2009-09-041-1/+1
| | | | | | | change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace rfb::strDup by safe_strdup and remove rfb::strFree in favor of free()Adam Tkac2009-09-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the "video" feature and its associated custom JPEG handling.Pierre Ossman2009-03-051-2/+0
| | | | | | | | Having the client specifiy the video region is conceptually wrong and a problem like this should be handled by better encoding selection. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3635 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rebrand the source as TigerVNC. It is my hope that this patch isPeter Åstrand2009-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minimal but still complete. The rebranding was done using a script: find trunk -name .svn -prune -o -type f -exec rep.sh \{\} \; pushd trunk svn revert doc/TODO doc/registered-codes.txt doc/ft-protocol-problems.txt doc/rfbtight.tex perl -pi -e 's|tightvnc|tigervnc|g' unix/configure.ac win/configure.ac unix/README With rep.sh looking like: perl -pi -e 's|TightVNC|TigerVNC|g' "$@" perl -pi -e 's|www\.tightvnc\.com/bugs\.html|www\.tigervnc\.org|g' "$@" perl -pi -e 's|www\.tightvnc\.com|www\.tigervnc\.org|g' "$@" perl -pi -e 's|devteam\@tightvnc\.com|tigervnc-devel\@lists\.sourceforge\.net|g' "$@" perl -pi -e 's|TigerVNC Team|TightVNC Team|g' "$@" perl -pi -e 's|TigerVNC Group|TightVNC Group|g' "$@" perl -pi -e 's|TigerVNC protocol|TightVNC protocol|g' "$@" perl -pi -e 's|TigerVNC-specific|TightVNC-specific|g' "$@" perl -pi -e 's|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TigerVNC|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TightVNC|g' "$@" perl -pi -e 's|TigerVNC vendor|TightVNC vendor|g' "$@" perl -pi -e 's|TigerVNC extension|TightVNC extension|g' "$@" perl -pi -e 's|protocolTigerVNC|protocolTightVNC|g' "$@" perl -pi -e 's|TigerVNC additions were|TightVNC additions were|g' "$@" perl -pi -e 's|TigerVNC 1\.2|TightVNC 1\.2|g' "$@" perl -pi -e 's|TigerVNC authentication type|TightVNC authentication type|g' "$@" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3621 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Merged changes from branches/1.5-xserver (revision range 2432:2631) back to ↵Constantin Kaplinsky2008-09-281-1/+1
|\ | | | | | | | | | | trunk. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2829 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - use PACKAGE_NAME/PACKAGE_VERSION macros instead PACKAGE/VERSION (AC_INIT() ↵Adam Tkac2008-04-171-1/+1
| | | | | | | | | | | | compatibility) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2489 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438Adam Tkac2008-03-221-4/+0
| | | | | | | | | | | | | | | | (build automation and i18n changes). Latest server changes (2439 and 2440) are OK. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - use Makefile.am and configure.acAdam Tkac2008-03-201-0/+4
| | | | | | | | | | | | | | | | - removed unwanted files - internationalization and jpeg library doesn't work yet git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Bugfix] When terminating x0vncserver by pressing Ctrl+C in a remote viewer, ↵Constantin Kaplinsky2008-09-051-0/+2
| | | | | | | | | | | | x0vncserver used to leave the Ctrl modifier "pressed". Now it should be "released" properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2758 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Enhancements, refactoring] Rationalized functions to control videoConstantin Kaplinsky2008-09-051-1/+1
| | | | | | | | | | | | | | | | rectangle selection and default video rectangle. Added more logging and improved error checking in the related code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Passing VideoArea parameter to VNCServerST object. VNCServerST saves theConstantin Kaplinsky2008-08-211-2/+3
| | | | | | | | | | | | | | | | rectangle but does not use it yet. does not do anything more. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2692 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Fixed a few more memory leaks.Constantin Kaplinsky2008-08-201-3/+6
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2680 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Implemented support for command-line options that print version informationConstantin Kaplinsky2008-06-041-3/+15
| | | | | | | | | | | | | | on stdout: -version, --version and -v are all equivalent. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2578 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Minor cleanup, no code changes: updated a comment and moved XDesktop::poll()Constantin Kaplinsky2008-06-041-7/+6
| | | | | | | | | | | | | | declaration. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2577 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Refactoring: now PollingManager is owned by XPixelBuffer. No other classesConstantin Kaplinsky2008-06-041-13/+3
| | | | | | | | | | | | | | know about PollingManager. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2576 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring: PollingManager should not know anything aboutConstantin Kaplinsky2008-06-041-1/+1
| | | | | | | | | | | | | | XPixelBuffer. This commit partially reverts the changes from r2567. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2575 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring: passing geometry to XPixelBuffer as a Rect instead of fourConstantin Kaplinsky2008-06-041-4/+1
| | | | | | | | | | | | | | int values. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2574 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code improvements and better error checking in the Geometry class:Constantin Kaplinsky2008-06-041-0/+4
| | | | | | | | | | | | | | | | | | | | coordinates are now kept as a Rect, added new getRect() method. Also, when the "Geometry" parameter is present but not valid, the constructor will not set the geometry to full screen, zero-size rectangle will be used instead. In that case, x0vncserver will exit with error. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2573 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring: maintaining the Image object representing the framebufferConstantin Kaplinsky2008-06-041-8/+7
| | | | | | | | | | | | | | in XPixelBuffer instead of XDesktop. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2572 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring: setting pixel format in XPixelBuffer instead of XDesktop.Constantin Kaplinsky2008-06-031-13/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2571 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring: passing VNCServer pointer to PollingManager methodsConstantin Kaplinsky2008-06-031-3/+1
| | | | | | | | | | | | | | instead of maintaining it as a member variable. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2569 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Code refactoring - PollingManager's constructor is given an XPixelBuffer*Constantin Kaplinsky2008-05-301-9/+8
| | | | | | | | | | | | | | instead of an Image*. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2567 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Support for VideoRectangleSelection client message in the server code. The ↵Constantin Kaplinsky2008-04-241-0/+2
|/ | | | | | message is read but ignored (only a message will be written to stderr). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2559 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Prepared the XPixelBuffer class for grabbing the screen in its grabRegion() ↵Constantin Kaplinsky2007-12-271-5/+3
| | | | | | method. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2383 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Moved XPixelBuffer class into a separate file.Constantin Kaplinsky2007-12-261-21/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2381 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed unreasonably high CPU utilization in cases when new connection hasConstantin Kaplinsky2006-12-051-2/+4
| | | | | | | been accepted but polling was not activated yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2182 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reporting build time in x0vncserver usage.Constantin Kaplinsky2006-12-011-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes in reporting version numbers and copyrights.Constantin Kaplinsky2006-06-021-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@628 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated build scripts in unix/ for new directory layout.Constantin Kaplinsky2006-06-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@617 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+580
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519