]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
15 years agoFix build for RGB_PIXELSIZE==4
DRC [Wed, 1 Apr 2009 20:02:14 +0000 (20:02 +0000)]
Fix build for RGB_PIXELSIZE==4

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3734 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoTry to increase the update rate by requesting a new update in parallel with
Pierre Ossman [Wed, 1 Apr 2009 14:42:34 +0000 (14:42 +0000)]
Try to increase the update rate by requesting a new update in parallel with
decoding the current one.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3733 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake sure we flush the X11 connection once we've sent a bunch of screen updates.
Pierre Ossman [Wed, 1 Apr 2009 13:47:30 +0000 (13:47 +0000)]
Make sure we flush the X11 connection once we've sent a bunch of screen updates.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3732 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoStore Xorg build directory under the TigerVNC build directory so multiple TigerVNC...
DRC [Wed, 1 Apr 2009 07:51:01 +0000 (07:51 +0000)]
Store Xorg build directory under the TigerVNC build directory so multiple TigerVNC builds can co-exist on the same system

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3731 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoOptimise the common pixel format conversion RGB24 to RGB32.
Pierre Ossman [Tue, 31 Mar 2009 14:06:53 +0000 (14:06 +0000)]
Optimise the common pixel format conversion RGB24 to RGB32.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3730 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd -fp argument to allow user to override font path selection
DRC [Thu, 26 Mar 2009 19:16:19 +0000 (19:16 +0000)]
Add -fp argument to allow user to override font path selection

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3729 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoGenerally wordsmithed man page + changed descriptions to account for new changes...
DRC [Thu, 26 Mar 2009 18:58:40 +0000 (18:58 +0000)]
Generally wordsmithed man page + changed descriptions to account for new changes in vncserver

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3728 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDon't complain if $depth not set
DRC [Thu, 26 Mar 2009 18:23:29 +0000 (18:23 +0000)]
Don't complain if $depth not set

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3727 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoComment out $depth line so that the server will use the default (24-bit)
DRC [Thu, 26 Mar 2009 18:18:51 +0000 (18:18 +0000)]
Comment out $depth line so that the server will use the default (24-bit)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3726 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAttempt to build a reasonable font path for the system and start Xvnc with this font...
DRC [Thu, 26 Mar 2009 18:17:49 +0000 (18:17 +0000)]
Attempt to build a reasonable font path for the system and start Xvnc with this font path.  Failing that, attempt to use the X Font Server (xfs.)  Note that XFS is not generally available on SuSE and Ubuntu, so it cannot be used as the default font path.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3725 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoBetter default xstartup file which attempts to launch the user's chosen window manage...
DRC [Thu, 26 Mar 2009 18:14:38 +0000 (18:14 +0000)]
Better default xstartup file which attempts to launch the user's chosen window manager before falling back to twm.  This is borrowed from TurboVNC 0.5.1.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3724 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAllow Xvnc, vncpasswd, etc. to be run from an arbitrary directory, even if the direct...
DRC [Thu, 26 Mar 2009 18:13:00 +0000 (18:13 +0000)]
Allow Xvnc, vncpasswd, etc. to be run from an arbitrary directory, even if the directory is not part of the PATH.  Look for xauth in /usr/X11R6/bin to support older Linux systems.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3723 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoX.Org 1.6 compatibility change in RandR related code (RRGetInfo takes two
Adam Tkac [Thu, 26 Mar 2009 14:11:51 +0000 (14:11 +0000)]
X.Org 1.6 compatibility change in RandR related code (RRGetInfo takes two
parameters instead of one).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3722 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agofix build on POSIX strict platforms
Pierre Ossman [Thu, 26 Mar 2009 10:30:37 +0000 (10:30 +0000)]
fix build on POSIX strict platforms

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

15 years agoNeeds to be true colour to be 888.
Pierre Ossman [Wed, 25 Mar 2009 12:27:38 +0000 (12:27 +0000)]
Needs to be true colour to be 888.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3720 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoA quick optimisation of the common 32-bit to 24-bit pixel conversion.
Pierre Ossman [Wed, 25 Mar 2009 12:26:41 +0000 (12:26 +0000)]
A quick optimisation of the common 32-bit to 24-bit pixel conversion.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3719 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoTry to render entire update in one go to avoid tearing.
Pierre Ossman [Wed, 25 Mar 2009 12:13:28 +0000 (12:13 +0000)]
Try to render entire update in one go to avoid tearing.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3718 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoTry to update an entire FramebufferUpdate in one go, avoiding tears.
Pierre Ossman [Wed, 25 Mar 2009 10:32:07 +0000 (10:32 +0000)]
Try to update an entire FramebufferUpdate in one go, avoiding tears.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3717 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoSupport for ExtendedDesktopSize and -DesktopSize in the Windows client.
Pierre Ossman [Tue, 24 Mar 2009 12:29:50 +0000 (12:29 +0000)]
Support for ExtendedDesktopSize and -DesktopSize in the Windows client.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3716 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDocument the new DesktopSize parameter in the man file.
Pierre Ossman [Tue, 24 Mar 2009 10:31:37 +0000 (10:31 +0000)]
Document the new DesktopSize parameter in the man file.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3715 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImplement basic support for SetDesktopSize.
Pierre Ossman [Mon, 23 Mar 2009 16:58:53 +0000 (16:58 +0000)]
Implement basic support for SetDesktopSize.

No real support for RandR 1.2 yet.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3714 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImplement server side support for SetDesktopSize.
Pierre Ossman [Mon, 23 Mar 2009 16:57:07 +0000 (16:57 +0000)]
Implement server side support for SetDesktopSize.

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

15 years agoAdd parameter to make client attempt to resize server desktop on connect.
Pierre Ossman [Mon, 23 Mar 2009 16:49:47 +0000 (16:49 +0000)]
Add parameter to make client attempt to resize server desktop on connect.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3712 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd client method to send SetDesktopSize.
Pierre Ossman [Mon, 23 Mar 2009 16:48:35 +0000 (16:48 +0000)]
Add client method to send SetDesktopSize.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3711 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoReenable display even on failure.
Pierre Ossman [Mon, 23 Mar 2009 16:30:32 +0000 (16:30 +0000)]
Reenable display even on failure.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3710 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRRRegisterRate() can in theory fail. Make sure we catch this.
Pierre Ossman [Mon, 23 Mar 2009 16:28:53 +0000 (16:28 +0000)]
RRRegisterRate() can in theory fail. Make sure we catch this.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3709 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoProperly parse the SetDesktopSize message.
Pierre Ossman [Sat, 21 Mar 2009 21:16:14 +0000 (21:16 +0000)]
Properly parse the SetDesktopSize message.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3708 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMove screen layout bootstraping around so that it can handle if all screens
Pierre Ossman [Fri, 20 Mar 2009 22:05:08 +0000 (22:05 +0000)]
Move screen layout bootstraping around so that it can handle if all screens
are purged on framebuffer resize.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3707 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoBasic book keeping of screen layout on server.
Pierre Ossman [Fri, 20 Mar 2009 21:46:12 +0000 (21:46 +0000)]
Basic book keeping of screen layout on server.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3706 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove unused, and improperly reserved message types.
Pierre Ossman [Fri, 20 Mar 2009 20:39:16 +0000 (20:39 +0000)]
Remove unused, and improperly reserved message types.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3705 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd official allocations for extended desktop size extension.
Pierre Ossman [Fri, 20 Mar 2009 20:31:00 +0000 (20:31 +0000)]
Add official allocations for extended desktop size extension.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3704 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove file transfer callback that was left behind.
Pierre Ossman [Fri, 20 Mar 2009 16:06:46 +0000 (16:06 +0000)]
Remove file transfer callback that was left behind.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3703 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoProperly parse the ExtendedDesktopSize rects in the client.
Pierre Ossman [Fri, 20 Mar 2009 16:05:04 +0000 (16:05 +0000)]
Properly parse the ExtendedDesktopSize rects in the client.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3702 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake the server a little less DoS:able by validating update regions.
Pierre Ossman [Fri, 20 Mar 2009 15:55:37 +0000 (15:55 +0000)]
Make the server a little less DoS:able by validating update regions.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3701 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd new file to file lists.
Pierre Ossman [Fri, 20 Mar 2009 13:15:05 +0000 (13:15 +0000)]
Add new file to file lists.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3700 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMinimal client side support for the extended desktop size protocol.
Pierre Ossman [Fri, 20 Mar 2009 13:02:50 +0000 (13:02 +0000)]
Minimal client side support for the extended desktop size protocol.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3699 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMinimal server side implementation of the extended desktop size protocol.
Pierre Ossman [Fri, 20 Mar 2009 12:59:05 +0000 (12:59 +0000)]
Minimal server side implementation of the extended desktop size protocol.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3698 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove stray file left over from the file transfer support.
Pierre Ossman [Fri, 20 Mar 2009 10:06:47 +0000 (10:06 +0000)]
Remove stray file left over from the file transfer support.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3697 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMove the SetDesktopName parser into CMsgReaderV3 to keep with the separation
Pierre Ossman [Fri, 20 Mar 2009 10:02:31 +0000 (10:02 +0000)]
Move the SetDesktopName parser into CMsgReaderV3 to keep with the separation
of old and new features.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3696 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoVNC needs to be autoreconf'ed as well, otherwise unix/configure will not exist
DRC [Fri, 20 Mar 2009 02:12:44 +0000 (02:12 +0000)]
VNC needs to be autoreconf'ed as well, otherwise unix/configure will not exist

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3695 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove Xorg 1.1 support since it doesn't work and we now know how to build Xorg 1...
DRC [Thu, 19 Mar 2009 23:35:55 +0000 (23:35 +0000)]
Remove Xorg 1.1 support since it doesn't work and we now know how to build Xorg 1.5 on legacy systems

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3694 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAllow PREFIX to be overridden
DRC [Thu, 19 Mar 2009 23:13:50 +0000 (23:13 +0000)]
Allow PREFIX to be overridden

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3693 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDon't download tarballs if they already exist in the local directory
DRC [Thu, 19 Mar 2009 23:13:29 +0000 (23:13 +0000)]
Don't download tarballs if they already exist in the local directory

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3692 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRestore Composite callback when we close the screen.
Pierre Ossman [Thu, 19 Mar 2009 13:38:02 +0000 (13:38 +0000)]
Restore Composite callback when we close the screen.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3691 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoBuild the macros package before everything else; must be done before autoreconf
Peter Åstrand [Thu, 19 Mar 2009 07:53:23 +0000 (07:53 +0000)]
Build the macros package before everything else; must be done before autoreconf

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3690 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAllow additional configure flags to be passed on the command line
DRC [Wed, 18 Mar 2009 20:54:17 +0000 (20:54 +0000)]
Allow additional configure flags to be passed on the command line

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3689 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoSupport for RandR on the server.
Pierre Ossman [Wed, 18 Mar 2009 17:22:30 +0000 (17:22 +0000)]
Support for RandR on the server.

Based on patch by George Wright but heavily rewritten in order to
dynamically reallocate the framebuffer, allowing any resize.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3688 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMove framebuffer information into its own structure (needed for RandR).
Pierre Ossman [Wed, 18 Mar 2009 16:07:42 +0000 (16:07 +0000)]
Move framebuffer information into its own structure (needed for RandR).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3687 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove more crud from the mmap support.
Pierre Ossman [Wed, 18 Mar 2009 15:39:48 +0000 (15:39 +0000)]
Remove more crud from the mmap support.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3686 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdded scripts for building Xvnc with Xorg 1.5.
Peter Åstrand [Wed, 18 Mar 2009 14:45:46 +0000 (14:45 +0000)]
Added scripts for building Xvnc with Xorg 1.5.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3685 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove undocumented and useless option which allowed to put framebuffer to
Adam Tkac [Wed, 18 Mar 2009 14:16:46 +0000 (14:16 +0000)]
Remove undocumented and useless option which allowed to put framebuffer to
mmap-ed file.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3684 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoIgnore a few more generated files.
Peter Åstrand [Wed, 18 Mar 2009 12:09:09 +0000 (12:09 +0000)]
Ignore a few more generated files.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3683 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoChange Windows viewer version to 0.0.90.
Adam Tkac [Wed, 18 Mar 2009 09:38:52 +0000 (09:38 +0000)]
Change Windows viewer version to 0.0.90.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3682 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoSupport building Xvnc using Xorg 1.1 code base (for compatibility with RHEL 5)
DRC [Wed, 18 Mar 2009 08:32:11 +0000 (08:32 +0000)]
Support building Xvnc using Xorg 1.1 code base (for compatibility with RHEL 5)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3681 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoiEliminate backward incompatibility which required empty_output_buffer() to handle...
DRC [Mon, 16 Mar 2009 23:58:30 +0000 (23:58 +0000)]
iEliminate backward incompatibility which required empty_output_buffer() to handle cases in which the buffer wasn't 100% full

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3680 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoWork around subdirectory bug in older automake.
Pierre Ossman [Mon, 16 Mar 2009 13:34:18 +0000 (13:34 +0000)]
Work around subdirectory bug in older automake.

Older versions of automake doesn't properly support no-recursive make.
Reimplement the build system by having a local Makefile.am in the
simd/ directory.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3679 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoFix broken buffered I/O (to make cjpeg work)
DRC [Sat, 14 Mar 2009 01:21:13 +0000 (01:21 +0000)]
Fix broken buffered I/O (to make cjpeg work)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3678 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove file transfer support.
Pierre Ossman [Fri, 13 Mar 2009 14:41:27 +0000 (14:41 +0000)]
Remove file transfer support.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3677 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake source compilable via GNU autotools which are part of RHEL 5.
Adam Tkac [Fri, 13 Mar 2009 13:58:44 +0000 (13:58 +0000)]
Make source compilable via GNU autotools which are part of RHEL 5.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3676 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRevert r3657 (import of autogenerated) files.
Adam Tkac [Fri, 13 Mar 2009 13:44:18 +0000 (13:44 +0000)]
Revert r3657 (import of autogenerated) files.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake java viewer compilable via OpenJDK 1.6.0 series (thanks to Karl
Adam Tkac [Fri, 13 Mar 2009 13:26:31 +0000 (13:26 +0000)]
Make java viewer compilable via OpenJDK 1.6.0 series (thanks to Karl
Mikaelsson).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3674 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRename all java modules to tigervnc from tightvnc
Adam Tkac [Fri, 13 Mar 2009 13:20:26 +0000 (13:20 +0000)]
Rename all java modules to tigervnc from tightvnc

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3673 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRename java/src/com/tightvnc to java/src/com/tigervnc.
Adam Tkac [Fri, 13 Mar 2009 13:11:51 +0000 (13:11 +0000)]
Rename java/src/com/tightvnc to java/src/com/tigervnc.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3672 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd new simd files to Visual Studio project file.
Pierre Ossman [Fri, 13 Mar 2009 12:24:28 +0000 (12:24 +0000)]
Add new simd files to Visual Studio project file.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3671 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMove variable init around a bit to please crappy compilers.
Pierre Ossman [Fri, 13 Mar 2009 12:17:26 +0000 (12:17 +0000)]
Move variable init around a bit to please crappy compilers.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3670 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDon't mix LOCAL() and qualifiers.
Pierre Ossman [Fri, 13 Mar 2009 12:16:51 +0000 (12:16 +0000)]
Don't mix LOCAL() and qualifiers.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3669 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDo not explicitly enable backing store support, but instead fall back
Peter Åstrand [Fri, 13 Mar 2009 09:45:24 +0000 (09:45 +0000)]
Do not explicitly enable backing store support, but instead fall back
on the normal Xserver defaults and settings. This currently means that
backing store support will be off by default. This avoids
http://bugs.freedesktop.org/show_bug.cgi?id=19654 and allows us to run
KDE4.

Also, call miInitializeBackingStore() in the same location as Xvfb calls it.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3668 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove old, compiled version of the Java client.
Pierre Ossman [Fri, 13 Mar 2009 09:06:24 +0000 (09:06 +0000)]
Remove old, compiled version of the Java client.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3667 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoChange JPEG quality/subsampling map to produce meaningful compression ratios, as...
DRC [Thu, 12 Mar 2009 19:26:44 +0000 (19:26 +0000)]
Change JPEG quality/subsampling map to produce meaningful compression 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

15 years agoRemove obsolete checking for IRIX compression and digital media libraries.
Adam Tkac [Thu, 12 Mar 2009 18:21:41 +0000 (18:21 +0000)]
Remove obsolete checking for IRIX compression and digital media libraries.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3665 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoInclude Huffman codec optimizations borrowed from TurboJPEG
DRC [Thu, 12 Mar 2009 17:24:27 +0000 (17:24 +0000)]
Include Huffman codec optimizations borrowed from TurboJPEG

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3664 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoChange encoding and quality defaults to what auto mode would choose.
Pierre Ossman [Thu, 12 Mar 2009 13:03:22 +0000 (13:03 +0000)]
Change encoding and quality defaults to what auto mode would choose.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3663 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImprove auto mode for new JPEG code.
Pierre Ossman [Thu, 12 Mar 2009 12:25:11 +0000 (12:25 +0000)]
Improve auto mode for new JPEG code.

Change auto mode to always select Tight encoding and tweak the quality
level based on bandwidth instead of the previous method of changing
encoding.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3662 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake sure we list fallback encodings in a preferable order.
Pierre Ossman [Thu, 12 Mar 2009 10:16:07 +0000 (10:16 +0000)]
Make sure we list fallback encodings in a preferable order.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3661 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoTweak the quality to JPEG settings mapping a bit.
Pierre Ossman [Wed, 11 Mar 2009 16:15:29 +0000 (16:15 +0000)]
Tweak the quality to JPEG settings mapping a bit.

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

15 years agoThe quality setting goes from 0 to 9, not 1 to 9.
Pierre Ossman [Wed, 11 Mar 2009 14:33:49 +0000 (14:33 +0000)]
The quality setting goes from 0 to 9, not 1 to 9.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3659 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoFix README. jpeg/zlib parameters are --with-included-{zlib,jpeg} instead of
Adam Tkac [Wed, 11 Mar 2009 11:23:28 +0000 (11:23 +0000)]
Fix README. jpeg/zlib parameters are --with-included-{zlib,jpeg} instead of
--with-tight-{zlib,jpeg}.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3658 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImport autogenerated files for unix/ and common/ subdirs to make source
Adam Tkac [Wed, 11 Mar 2009 11:14:37 +0000 (11:14 +0000)]
Import autogenerated files for unix/ and common/ subdirs to make source
compilable without GNU autotools.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoFix some overloading ambiguity.
Pierre Ossman [Tue, 10 Mar 2009 10:21:11 +0000 (10:21 +0000)]
Fix some overloading ambiguity.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3654 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd SSE2 SIMD implementation of computationally intensive routines.
Pierre Ossman [Mon, 9 Mar 2009 13:34:17 +0000 (13:34 +0000)]
Add SSE2 SIMD implementation of computationally intensive routines.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3653 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd SSE SIMD implementation of computationally intensive routines.
Pierre Ossman [Mon, 9 Mar 2009 13:31:56 +0000 (13:31 +0000)]
Add SSE SIMD implementation of computationally intensive routines.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3652 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMost SIMD implementations need 16 byte alignment
Pierre Ossman [Mon, 9 Mar 2009 13:30:47 +0000 (13:30 +0000)]
Most SIMD implementations need 16 byte alignment

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3651 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoMake sure the work space memory is properly aligned
Pierre Ossman [Mon, 9 Mar 2009 13:29:37 +0000 (13:29 +0000)]
Make sure the work space memory is properly aligned

We use the heap allocators to avoid having more than one implementation
of the alignment logic.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3650 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd 3DNow SIMD implementation of computationally intensive routines.
Pierre Ossman [Mon, 9 Mar 2009 13:28:10 +0000 (13:28 +0000)]
Add 3DNow SIMD implementation of computationally intensive routines.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3649 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoAdd MMX SIMD implementation of computationally intensive routines.
Pierre Ossman [Mon, 9 Mar 2009 13:25:30 +0000 (13:25 +0000)]
Add MMX SIMD implementation of computationally intensive routines.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3648 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years ago"Optimise" quantization step by replacing the division by a multiplication.
Pierre Ossman [Mon, 9 Mar 2009 13:23:04 +0000 (13:23 +0000)]
"Optimise" quantization step by replacing the division by a multiplication.

This has no measurable difference right now but makes it possible to do
SIMD implementations of this stage.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3647 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImplement x86 SIMD framework
Pierre Ossman [Mon, 9 Mar 2009 13:21:27 +0000 (13:21 +0000)]
Implement x86 SIMD framework

Add NASM support and stub routine for detecting SIMD extensions.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3646 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoFramework for supporting SIMD acceleration
Pierre Ossman [Mon, 9 Mar 2009 13:15:56 +0000 (13:15 +0000)]
Framework for supporting SIMD acceleration

Designed to impose minimal changes on the "normal" code.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3645 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoSplit up the forward DCT routine into three stages
Pierre Ossman [Mon, 9 Mar 2009 10:37:20 +0000 (10:37 +0000)]
Split up the forward DCT routine into three stages

Divide it into sample conversion, DCT and quantization in order to
easily provide alternative implementations of each stage.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3644 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoImprove memory allocater alignment handling
Pierre Ossman [Mon, 9 Mar 2009 10:34:53 +0000 (10:34 +0000)]
Improve memory allocater alignment handling

Fix some broken assumptions and allow any alignment, not just those
associated with C types.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3643 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoIgnore generated configuration header.
Pierre Ossman [Mon, 9 Mar 2009 10:33:17 +0000 (10:33 +0000)]
Ignore generated configuration header.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3642 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDon't forget the highest byte when reading out pixels.
Pierre Ossman [Mon, 9 Mar 2009 09:52:54 +0000 (09:52 +0000)]
Don't forget the highest byte when reading out pixels.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3641 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoUpdate default white pixel value now that we use 24-bit fb.
Pierre Ossman [Mon, 9 Mar 2009 08:34:10 +0000 (08:34 +0000)]
Update default white pixel value now that we use 24-bit fb.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3640 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoUse a 24-bit framebuffer by default. This is what's commonly used today and
Pierre Ossman [Fri, 6 Mar 2009 15:39:44 +0000 (15:39 +0000)]
Use a 24-bit framebuffer by default. This is what's commonly used today and
it's a format that's easier to handle efficiently in the encoders.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3639 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoExplain the config header voodoo.
Pierre Ossman [Fri, 6 Mar 2009 15:30:42 +0000 (15:30 +0000)]
Explain the config header voodoo.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3638 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoDon't test for GNU malloc as we don't need it (or even check the result
Pierre Ossman [Fri, 6 Mar 2009 15:00:56 +0000 (15:00 +0000)]
Don't test for GNU malloc as we don't need it (or even check the result
of the test).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3637 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoConsolidate pixel conversion into the PixelFormat class and optimise the
Pierre Ossman [Fri, 6 Mar 2009 10:12:55 +0000 (10:12 +0000)]
Consolidate pixel conversion into the PixelFormat class and optimise the
common cases.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3636 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoRemove the "video" feature and its associated custom JPEG handling.
Pierre Ossman [Thu, 5 Mar 2009 11:57:11 +0000 (11:57 +0000)]
Remove the "video" feature and its associated custom JPEG handling.

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

15 years agoIgnore generated icons.
Pierre Ossman [Wed, 4 Mar 2009 15:04:51 +0000 (15:04 +0000)]
Ignore generated icons.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3634 3789f03b-4d11-0410-bbf8-ca57d06f2519

15 years agoReplace TightVNC graphics with the TigerVNC logo.
Pierre Ossman [Wed, 4 Mar 2009 15:02:56 +0000 (15:02 +0000)]
Replace TightVNC graphics with the TigerVNC logo.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3633 3789f03b-4d11-0410-bbf8-ca57d06f2519