summaryrefslogtreecommitdiffstats
path: root/common/rfb
Commit message (Collapse)AuthorAgeFilesLines
* Changes outside the framebuffer can sometimes be reported so we need toPierre Ossman2009-06-091-1/+5
| | | | | | | make sure that we can deal with them gracefully. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3833 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We should only send ExtendedDesktopSize to a client supporting both it andPierre Ossman2009-05-281-4/+6
| | | | | | | the old DesktopSize. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3816 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Add correct PlainPasswd constructor to avoid vncpasswd crash.Adam Tkac2009-05-182-0/+4
| | | | | | | Reference: https://bugzilla.redhat.com/show_bug.cgi?id=499401 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3811 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The code to utilize our libjpeg's ability to input/output out native formatsv0.0.90Pierre Ossman2009-04-302-38/+43
| | | | | | | | failed to consider everything but the ideal cases. Clean up the code and make sure it handles everything. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3795 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove debugging output that wasn't supposed to be committed.Pierre Ossman2009-04-241-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3788 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Send desktop layout changes separatelyPierre Ossman2009-04-235-84/+167
| | | | | | | | | | Make sure we send any modifications to the desktop layout in a message that does not modify the framebuffer data. This is required to make sure we have a valid state on the client as it drops the framebuffer when it recieves a framebuffer dimension change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3787 3789f03b-4d11-0410-bbf8-ca57d06f2519
* UltraVNC sends a new non-incr. FUR when it gets a DesktopSize rect, andPierre Ossman2009-04-221-2/+8
| | | | | | | | | TightVNC drops the framebuffer, so we can't realistically send it every non-incr FUR. Besides, the client needs to keep track of framebuffer dimensions anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3786 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we handle endian problems in the conversion code.Pierre Ossman2009-04-213-6/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3784 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected line breaks; must only use CRLF.Peter Åstrand2009-04-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3770 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove fttypes.h from Makefile.am, it doesn't exist.Adam Tkac2009-04-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3761 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Take advantage of libjpeg colorspace extensions, if availableDRC2009-04-061-9/+54
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3759 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Take advantage of libjpeg colorspace extensions if availableDRC2009-04-061-12/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3758 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update shift values in pixel format parse routine.Pierre Ossman2009-04-031-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3748 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused pixel format constant.Pierre Ossman2009-04-031-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3747 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initialize SMsgWriterV3.needExtendedDesktopSize variable to fix rare clientAdam Tkac2009-04-021-2/+2
| | | | | | | disconnections (reason "Client does not support extended desktop resize"). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3741 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Brown paper bag time... Forgot to actually store the new screen layout.Pierre Ossman2009-04-021-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3738 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimise the common pixel format conversion RGB24 to RGB32.Pierre Ossman2009-03-314-4/+68
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3730 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Needs to be true colour to be 888.Pierre Ossman2009-03-251-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3720 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A quick optimisation of the common 32-bit to 24-bit pixel conversion.Pierre Ossman2009-03-251-11/+30
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3719 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement server side support for SetDesktopSize.Pierre Ossman2009-03-2310-64/+245
| | | | | | | | It has some warts, but should be feature complete. Most of the magic happens in the desktop class though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3713 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add client method to send SetDesktopSize.Pierre Ossman2009-03-233-0/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3711 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Properly parse the SetDesktopSize message.Pierre Ossman2009-03-215-7/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3708 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move screen layout bootstraping around so that it can handle if all screensPierre Ossman2009-03-201-20/+20
| | | | | | | are purged on framebuffer resize. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3707 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic book keeping of screen layout on server.Pierre Ossman2009-03-205-7/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3706 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused, and improperly reserved message types.Pierre Ossman2009-03-201-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3705 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add official allocations for extended desktop size extension.Pierre Ossman2009-03-202-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3704 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove file transfer callback that was left behind.Pierre Ossman2009-03-202-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3703 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Properly parse the ExtendedDesktopSize rects in the client.Pierre Ossman2009-03-208-8/+122
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3702 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the server a little less DoS:able by validating update regions.Pierre Ossman2009-03-201-0/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3701 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add new file to file lists.Pierre Ossman2009-03-202-6/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3700 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minimal client side support for the extended desktop size protocol.Pierre Ossman2009-03-205-3/+37
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3699 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minimal server side implementation of the extended desktop size protocol.Pierre Ossman2009-03-2014-8/+162
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3698 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove stray file left over from the file transfer support.Pierre Ossman2009-03-201-92/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3697 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move the SetDesktopName parser into CMsgReaderV3 to keep with the separationPierre Ossman2009-03-204-15/+16
| | | | | | | of old and new features. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3696 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove file transfer support.Pierre Ossman2009-03-1334-2750/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3677 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert r3657 (import of autogenerated) files.Adam Tkac2009-03-131-1096/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change JPEG quality/subsampling map to produce meaningful compression ↵DRC2009-03-123-13/+45
| | | | | | ratios, as defined by the VirtualGL project study of rendered frames from SPECviewperf 9 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3666 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we list fallback encodings in a preferable order.Pierre Ossman2009-03-121-2/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3661 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Tweak the quality to JPEG settings mapping a bit.Pierre Ossman2009-03-113-11/+18
| | | | | | | | | The percieved quality isn't really linear compared to the actual quality setting, so make it a bit more top heavy. Also disable color subsampling at some levels and make the highest quality lossless. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3660 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The quality setting goes from 0 to 9, not 1 to 9.Pierre Ossman2009-03-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3659 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Import autogenerated files for unix/ and common/ subdirs to make sourceAdam Tkac2009-03-111-0/+1096
| | | | | | | | compilable without GNU autotools. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't forget the highest byte when reading out pixels.Pierre Ossman2009-03-091-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3641 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Consolidate pixel conversion into the PixelFormat class and optimise thePierre Ossman2009-03-0613-159/+345
| | | | | | | common cases. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3636 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the "video" feature and its associated custom JPEG handling.Pierre Ossman2009-03-0531-1777/+17
| | | | | | | | 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-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* No need to repeat the project home page in every source file. Not SPOT.Peter Åstrand2009-02-2523-23/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3619 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Use rdr::U32 type for length of strings handled by *CutText functions.Adam Tkac2009-02-135-5/+5
| | | | | | | This avoids big buffer overflow when memcpy is called with "-1" argument. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3607 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented support for DesktopName pseudo encoding, which allowsPeter Åstrand2009-01-1514-4/+77
| | | | | | | | | | updating the desktop name on the fly. Tested in ThinLinc since 2008-01-07. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3549 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Previous commit (r3204) included two lines that were left commented ↵Constantin Kaplinsky2008-12-181-2/+2
| | | | | | out by accident. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3403 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Disabling special video encoding when the VideoPriority ↵Constantin Kaplinsky2008-12-182-2/+10
| | | | | | parameter is 0. In this case, video updates will be encoded similarly to normal updates. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3402 3789f03b-4d11-0410-bbf8-ca57d06f2519