summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* turbojpeg.h isn't part of the libjpeg.a sourceDRC2010-02-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3985 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix VPATH and out-of-tree buildsDRC2010-02-143-8/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* It works on 2.56 as wellDRC2010-02-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3983 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do a generic check for inet_aton instead of just assuming that only Win32 hasPierre Ossman2010-02-121-2/+2
| | | | | | | the problem. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3982 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reverted the second part of 3971. I suspect that this code is actuallyPeter Åstrand2010-02-101-1/+1
| | | | | | | | broken, so let's keep the warning until we know it's correct. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3975 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated two GCC warnings:Peter Åstrand2010-02-101-4/+3
| | | | | | | | | | | * The return statement in needRenderedCursor was way too complicated, separated into intermediate variable. * Using parenthesis in setStatus bit masks. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3971 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC warning in ScaleFilters:Peter Åstrand2010-02-102-2/+2
| | | | | | | | "deprecated conversion from string constant to 'char*" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3970 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-1021-61/+71
| | | | | | | | | | | | encoding in the RFB protocol has always been signed, and signed values are also used in the specification (ie DesktopName = -307 etc). In the code, however, unsigned types were used in a number of places, but not all, which causes warnings. This patch fixes the problem by switching to signed values everywhere. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate another GCC signed/unsigned warning: Peter Åstrand2010-02-101-1/+1
| | | | | | | * setExtendedDesktopSize reason is signed, but result codes are not. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3967 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Back out r3958 and r3959. They aren't needed anymore, because the ↵DRC2010-02-052-13/+0
| | | | | | libjpeg-turbo SourceForge project is online, and they broke libvnc.so git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3964 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add new "-i" and "-interface" parameters to Xvnc. Now Xvnc is ableAdam Tkac2010-02-052-8/+21
| | | | | | | to listen on specific interface. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3963 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Use EGREP instead of GREP, because GREP is not available in earlier ↵DRC2010-02-051-1/+1
| | | | | | versions of autotools git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3962 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build problems on Solaris 10DRC2010-01-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3961 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable 64-bit libjpeg/SIMD build on SolarisDRC2010-01-281-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3960 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the correct version to name the shared library, and if the shared ↵DRC2010-01-281-2/+3
| | | | | | library build is enabled, allow the headers to be installed git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3959 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow building libjpeg.so if --enable-shared is passed to configure (but ↵DRC2010-01-282-0/+12
| | | | | | disable shared library build by default) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3958 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fix memory leak in Tight decoder.Adam Tkac2010-01-271-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3957 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Mark stack as non-executable in NASM code.Adam Tkac2010-01-271-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3956 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Remove unused Socket::getMyAddress and Socket::getMyEndpoint ↵Adam Tkac2009-12-213-30/+0
| | | | | | functions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3930 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/trunk@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/trunk@3917 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable 64-bit build on Snow LeopardDRC2009-10-083-3/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3911 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Work around alignment issue with OS X linker which was causing problems on ↵DRC2009-10-0845-0/+148
| | | | | | Leopard and Snow Leopard git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3910 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some systems (notably OS X Leopard) have fls() already, so rename ours to ↵DRC2009-10-011-2/+2
| | | | | | avoid conflict git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3903 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Not all platforms define __WORDSIZEDRC2009-09-281-2/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3902 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Greatly improve performance of Huffman decodingDRC2009-09-282-99/+269
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3901 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improve grayscale performanceDRC2009-09-242-14/+95
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3900 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix tarball generation via `make dist`.Adam Tkac2009-09-071-10/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3898 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - use unix/configure.ac as top-level configure.ac baseAdam Tkac2009-09-0415-133/+28
| | | | | | | | - create stub top-level Makefile.am - make common/ subtree compilable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3892 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert previous commit (r3889). Windows code has to be cleaned before thisAdam Tkac2009-09-0415-54/+54
| | | | | | | 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-0415-54/+54
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update (C) notice and fix line feed in usage instructionsDRC2009-09-031-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3888 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected last patch: Use jsimd_none.c instead of jsimd_i386.c onPeter Åstrand2009-08-191-1/+1
| | | | | | | | VC/Windows at this point. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3876 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Windows build fixes: Peter Åstrand2009-08-192-2/+2
| | | | | | | | | | * Use jsimd_i386.c instead of the attic jsimd.c * Corrected include of jsimd.h in jsimd_i386.c. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3875 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Unfortunately, the previous enhancements made an invalid assumption about ↵DRC2009-08-061-16/+9
| | | | | | the code sizes, which caused "DCT out of range" errors in the decoder. Was able to fix 64-bit without losing any performance, but unfortunately had to revert 32-bit back to its previous behavior for now. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3871 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update copyrights to indicate files modified with colorspace extensionsDRC2009-08-067-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3870 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Clean up a couple of remaining 32-bit memory accessesDRC2009-08-062-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3869 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improve compression performance by 15-20%DRC2009-07-301-21/+101
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3868 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make our Makefile.am a bit easier to convert to a standalone one byPierre Ossman2009-07-101-0/+1
| | | | | | | indicating which headers are the public ones. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3867 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure bmp.h gets distributed.Pierre Ossman2009-07-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3866 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the indirectly used assembly files get packaged.Pierre Ossman2009-07-101-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3865 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make x86_64 SIMD code PIC friendlyPierre Ossman2009-06-2911-247/+247
| | | | | | | Use RIP relative addressing as that works in both PIC and non-PIC mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3864 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clean up SIMD glue codePierre Ossman2009-06-297-321/+1033
| | | | | | | | | The SIMD glue code has gotten a bit #ifdef heavy so clean it up by having one file for each possible SIMD arch. This also allows a simplification of the x86_64 code as SSE/SSE2 is always known to exist on that arch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3862 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused variable.Pierre Ossman2009-06-261-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3861 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improve the messages for the SIMD configuration test now that we supportPierre Ossman2009-06-261-3/+3
| | | | | | | more than one arch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3860 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add back in cjpeg and djpeg utilities for testing purposesDRC2009-06-2516-1/+5118
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3859 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 64-bit SIMD accelerationDRC2009-06-2524-4/+7272
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3858 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix dependencies for merged upsampling codeDRC2009-06-251-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3857 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Declare virtual methods with empty body as pure virtual methods in ↵Adam Tkac2009-06-162-63/+12
| | | | | | | | | rfb::CMsgHandler class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3842 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version to 0.0.91.Adam Tkac2009-06-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3837 3789f03b-4d11-0410-bbf8-ca57d06f2519