summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Bump version numbers to 1.0.1.Adam Tkac2010-01-191-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3950 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Some systems (notably OS X Leopard) have fls() already, so renameAdam Tkac2010-01-191-2/+2
| | | | | | | ours to avoid conflict (dcommander). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3947 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Work around alignment issue with OS X linker which was causingAdam Tkac2010-01-1931-0/+93
| | | | | | | | problems on Leopard and Snow Leopard (dcommander). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3946 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fix crash in TcpSocket::sameMachine for IPv6 connections (alan dot ↵Adam Tkac2009-11-121-5/+19
| | | | | | coopersmith at sun dot com) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3918 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Pass correct address length to connect(2) call (alan dot ↵Adam Tkac2009-10-301-1/+1
| | | | | | | | | coopersmith at sun dot com) Reference: http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00449.html git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3917 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump release number to 1.0.0.Adam Tkac2009-08-191-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3873 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version to 0.0.91 and add doc/version_numbers file which lists occurrencesAdam Tkac2009-06-121-1/+1
| | | | | | | of version number. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3838 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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
* Test fast upsamplingDRC2009-04-054-10/+23
| | | | | | | "4:1:1 = 4:2:0" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3757 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add colorspace extensions to merged upsampling routinesDRC2009-04-057-993/+1353
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3756 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unnecessary codeDRC2009-04-051-6/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. jcolsamp.inc should be included from j[c|d]clr[mmx|ss2].asm so it ↵DRC2009-04-044-2/+4
| | | | | | received the effect of the redefined RGB_* macros git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. jcolsamp.inc needs to be included from j[c|d]clr[mmx|ss2].asm so that ↵DRC2009-04-044-2/+4
| | | | | | it receives the effect of the redefined RGB_* macros git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3752 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't install test programs, build them only.Adam Tkac2009-04-031-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3751 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Check if C++ compiler is present.Adam Tkac2009-04-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3750 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
* Include low-level unit tests borrowed from VirtualGLDRC2009-04-039-1/+1972
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3745 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement new colorspaces to allow directly compressing from/decompressing ↵DRC2009-04-0319-1889/+2486
| | | | | | to RGB/RGBX/BGR/BGRX/XBGR/XRGB without conversion git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3744 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add environment variables to force MMX/SSE2 code path selectionDRC2009-04-031-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3743 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
* Build libjpeg/SIMD by default and replace --with-included-jpeg switch with ↵DRC2009-04-021-7/+7
| | | | | | --with-system-jpeg switch git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3735 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build for RGB_PIXELSIZE==4DRC2009-04-011-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3734 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
* fix build on POSIX strict platformsPierre Ossman2009-03-261-1/+1
| | | | | | | | socklen_t is defined in sys/socket.h, which isn't among autoconf's standard headers. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3721 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