]>
source.dussan.org Git - tigervnc.git/log
george82 [Wed, 24 May 2006 09:58:37 +0000 (09:58 +0000)]
Small rfb::ScaledPixelBuffer class code improvements.
Added Exception "rfb::ScaledPixelBuffer support only the
true color pixel format".
Removed the unnecessary method recreateScaledBuffer().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@583
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 24 May 2006 09:16:19 +0000 (09:16 +0000)]
Preparing for directory structure reorganization. New directory structure will be adopted from the RealVNC's source tree.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@582
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 24 May 2006 05:48:13 +0000 (05:48 +0000)]
Applied the rest of useful changes from VNC 4.1.2 (version number changes were not applied). Now we can claim the source is based on VNC 4.1.2.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@581
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 24 May 2006 04:23:46 +0000 (04:23 +0000)]
Small code improvements. Convert the coordinates from
scaled to source only if ScaledDibSectionBuffer in the
scaled mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@580
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Tue, 23 May 2006 15:39:47 +0000 (15:39 +0000)]
Added the desktop image scaling support to vncviewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@579
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 23 May 2006 06:33:03 +0000 (06:33 +0000)]
Fixed the problem with framebuffer data not always aligned properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@578
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 22 May 2006 10:08:56 +0000 (10:08 +0000)]
Better cleanup on receiving signals, improved logging.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@577
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 22 May 2006 09:34:50 +0000 (09:34 +0000)]
Fixed gcc compile warning.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@576
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 22 May 2006 09:07:19 +0000 (09:07 +0000)]
Better logging -- less repeated information.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@575
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 22 May 2006 08:14:52 +0000 (08:14 +0000)]
Small code improvements.
Fixed bug with it - the server didn't send message FileListData when the requested folder is unavailable for any reasons.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@574
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 22 May 2006 06:57:46 +0000 (06:57 +0000)]
Removed debugging output, replaced fprintf() to stderr with proper logging via rfb::LogWriter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@573
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 22 May 2006 05:45:20 +0000 (05:45 +0000)]
Minor code refactoring: loading initial screen data moved from XDesktop to PollingManager.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@572
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 21 May 2006 14:01:57 +0000 (14:01 +0000)]
Changes to build under LynxOS 2.3. Some more changes should be done to
build successfully, e.g. LynxOS 2.3 does not have snprintf().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@571
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sat, 20 May 2006 13:45:04 +0000 (13:45 +0000)]
Fixed a problem with toolbar that could show up in the full-screen mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@570
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sat, 20 May 2006 12:58:38 +0000 (12:58 +0000)]
Added support for new `Geometry' option which allows serving an arbitrary
regtangular screen area instead of the whole screen.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@569
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sat, 20 May 2006 11:53:41 +0000 (11:53 +0000)]
VNCServerST::m_pFTManager pointer did not get initialized properly on VNCServerST object creation. This fix solves x0vncserver crash on accepting client connections.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@568
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sat, 20 May 2006 06:07:28 +0000 (06:07 +0000)]
Merged the changes from branch/merge-with-vnc-4.1.1, revisions 564:565.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@567
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Fri, 19 May 2006 14:32:59 +0000 (14:32 +0000)]
Adapt CConn::getUserPasswd, so that it can read from a file again.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@566
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 19 May 2006 11:13:04 +0000 (11:13 +0000)]
More small fixes in file transfer related files to eliminate compilation warnings under Linux.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@564
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 19 May 2006 10:58:37 +0000 (10:58 +0000)]
Various small fixes in file transfer related files to eliminate compilation warnings under Linux.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@563
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 19 May 2006 10:40:48 +0000 (10:40 +0000)]
Updated Makefile.in for building under Unix.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@562
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 19 May 2006 10:09:44 +0000 (10:09 +0000)]
Fixed svn:eol-style properties.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@561
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 18 May 2006 11:32:30 +0000 (11:32 +0000)]
Applied a fix from VNC 4.1.2 to close critical security issue.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@560
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 18 May 2006 11:08:21 +0000 (11:08 +0000)]
Merged the changes from branch/merge-with-vnc-4.1.1, revisions 520:558.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@559
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 18 May 2006 04:20:56 +0000 (04:20 +0000)]
Merged resources of the vncviewer. The viewer is almost complete now, only the passwordFile option handling needs to be fixed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@558
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 May 2006 10:45:57 +0000 (10:45 +0000)]
Fixed a problem with not updating the system menu when it's opened by right-clicking the title bar. Otherwise, the "Show toolbar" option would not always show correct toolbar state.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@557
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 May 2006 09:39:42 +0000 (09:39 +0000)]
Toolbar handling restored.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@556
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 May 2006 05:04:25 +0000 (05:04 +0000)]
Minor fix to "invalidate" desktop child window instead of the parent window.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@555
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 May 2006 04:17:25 +0000 (04:17 +0000)]
Fixed a bug with setting window size which has been introduced while merging. Also, there are minor code cleanups - getHandle() and getFrameHandle() methods are not used in the DesktopWindow class any more; now we use corresponding member variables directly, just like in VNC 4.1.1.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@554
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 May 2006 04:12:30 +0000 (04:12 +0000)]
SendSysKeys setting removed as it almost duplicates new DisableWinKeys setting by RealVNC.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@553
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 16 May 2006 08:48:31 +0000 (08:48 +0000)]
Win32 vncviewer merged with VNC 4.1.1 code. The merge is incomplete - the code compiles but does not always work properly yet.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@552
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 15 May 2006 13:04:17 +0000 (13:04 +0000)]
Added LowLevelKeyEvents.* files to the rfb_win32 project.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@551
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 11 May 2006 10:30:11 +0000 (10:30 +0000)]
WinVNC merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@550
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 11 May 2006 09:44:07 +0000 (09:44 +0000)]
Removed an empty directory.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@549
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 11 May 2006 09:34:42 +0000 (09:34 +0000)]
Updated rdr/msvcwarning.h from VNC 4.1.1, removed other msvcwarning.h files, updated .dsp files accordingly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@548
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 11 May 2006 05:29:14 +0000 (05:29 +0000)]
Win32 vncconfig utility merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@547
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 11 May 2006 04:39:38 +0000 (04:39 +0000)]
The hooks DLL merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@546
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 May 2006 11:49:33 +0000 (11:49 +0000)]
vncviewer_unix merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@545
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 May 2006 11:45:47 +0000 (11:45 +0000)]
vncpasswd utility merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@544
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 19 Apr 2006 10:32:33 +0000 (10:32 +0000)]
Fixed a memory leak caused by not deleting Image objects properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@543
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 19 Apr 2006 06:13:06 +0000 (06:13 +0000)]
Fixed a problem with QueryConnect dialog not counting down seconds, and
also fixed an issue with not calling server's checkTimeouts() function
when there are no client connections.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@542
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 18 Apr 2006 09:22:53 +0000 (09:22 +0000)]
Minor code formatting fix.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@541
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 18 Apr 2006 08:57:17 +0000 (08:57 +0000)]
Fixed a bug with dereferencing a zero pointer in x0vncserver.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@540
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 18 Apr 2006 07:19:27 +0000 (07:19 +0000)]
Fixed a problem with x0vncserver compilation introduced on merging
with VNC 4.1.1. Updated x0vncserver includes a .cxx file from the
vncconfig_unix directory but g++ with the -c option creates the
corresponding .o file in current directory by default. As a result,
the .o file could not be found.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@539
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 14:26:58 +0000 (14:26 +0000)]
Ignoring *.a libraries.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@538
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 14:06:41 +0000 (14:06 +0000)]
An extra character removed from an #include directive.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@537
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 14:03:42 +0000 (14:03 +0000)]
Added new files from VNC 4.1.1 that were not included on merging for some reason.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@536
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 13:45:36 +0000 (13:45 +0000)]
The result of processing configure.in with autoconf.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@535
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 17 Apr 2006 12:36:11 +0000 (12:36 +0000)]
Added the file transfer feature to the server side.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@534
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 17 Apr 2006 11:46:09 +0000 (11:46 +0000)]
Deleted the FTMsgReader(.cxx, .h) and the FTMsgWriter(.cxx, .h) files from the vncviewer project. Classes FTMsgReader and FTMsgWriter was renamed to CFTMsgReader and CFTMsgWriter and moved to rfb project with minor changes for cross-platform compatibility.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@533
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 10:06:52 +0000 (10:06 +0000)]
Unix scripts and docs in the root directory merged with VNC 4.1.1 (for the most part, updates in copyright strings only).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@532
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 17 Apr 2006 08:56:48 +0000 (08:56 +0000)]
The CFTMsgReader and the CFTMsgWriter classes was moved to rfb workspace.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@531
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 08:55:53 +0000 (08:55 +0000)]
A correction for the previous set of changes (r529).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@530
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 08:46:22 +0000 (08:46 +0000)]
Merged the x0vncserver directory with VNC 4.1.1.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@529
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Dennis Syrovatsky [Mon, 17 Apr 2006 07:18:13 +0000 (07:18 +0000)]
Added string "Developed by Dennis Syrovatsky"
to the file header.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@528
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 05:13:10 +0000 (05:13 +0000)]
vncconfig_unix directory merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@527
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 04:17:23 +0000 (04:17 +0000)]
The "xc" tree merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@526
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 02:57:56 +0000 (02:57 +0000)]
The "tx" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@525
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 17 Apr 2006 01:32:35 +0000 (01:32 +0000)]
Two new files from VNC 4.1.1 that were overlooked on merging.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@524
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 16 Apr 2006 07:28:14 +0000 (07:28 +0000)]
The "rfb_win32" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@523
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 16 Apr 2006 06:53:44 +0000 (06:53 +0000)]
The "rfb" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@522
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 16 Apr 2006 06:47:16 +0000 (06:47 +0000)]
The "network" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@521
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 16 Apr 2006 02:47:47 +0000 (02:47 +0000)]
Creating a branch for merging the code with VNC 4.1.1.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@520
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 13 Apr 2006 14:03:28 +0000 (14:03 +0000)]
Russian translation for gettext-extracted messages. This is rather a test commit to make sure Subversion sends e-mail notifications properly. The .po file should be complete but not tested at all. :)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@518
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 13 Apr 2006 11:10:18 +0000 (11:10 +0000)]
Removed .cvsignore files useless for Subversion.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@517
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 16:12:12 +0000 (16:12 +0000)]
Now rfb_win32::ScaledDIBSectionBuffer is an universal class which consist
of source image buffer and destination (scaled) image buffer. It automatically
scale the image data from source buffer to destination when data was
changed in the input buffer.
Overrided methods in the ScaledDIBSectionBuffer class: fillRect(), imageRect(),
copyRect(), maskRect().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@516
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 15:52:30 +0000 (15:52 +0000)]
Added the new property scaling to the rfb::ScaledPixelBuffer class.
Added the new method isScaling() to the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@515
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 15:33:50 +0000 (15:33 +0000)]
Small code improvements.
Added the new method calculateScaledBufferSize() to
the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@514
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 15:25:14 +0000 (15:25 +0000)]
Added the new method setSourceBuffer() to the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@513
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 15:13:55 +0000 (15:13 +0000)]
Removed unnecessary methods from the rfb::ScaledPixelBuffer() class
(getSride(), getPixelsR(), getImage()). This methods could be implemented
in the derived classes using inheriting from rfb::PixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@512
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 15:02:36 +0000 (15:02 +0000)]
Small code improvements.
Added the new property scale to the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@511
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Wed, 5 Apr 2006 14:36:49 +0000 (14:36 +0000)]
Removed old files ToolBar.cxx and ToolBar.h from the rfblayer project.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@510
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Tue, 28 Mar 2006 15:16:43 +0000 (15:16 +0000)]
Small ScaledDIBSectinBuffer class code improvements.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@509
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Tue, 28 Mar 2006 15:09:38 +0000 (15:09 +0000)]
Override DIBSectionBuffer::recreateBuffer() in the ScaledDIBSectionBuffer
class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@508
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Tue, 28 Mar 2006 14:22:56 +0000 (14:22 +0000)]
Added initial ScaledDIBSectionBuffer class implementation.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@507
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Tue, 28 Mar 2006 14:15:58 +0000 (14:15 +0000)]
Removed scaled (destination) image buffer manipulation from
the ScaledPixelBuffer class. It will implement in the derived classes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@506
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Mon, 27 Mar 2006 15:26:11 +0000 (15:26 +0000)]
Small ScaledPixelBuffer class code improvements.
Rename scaled_rect to changed_rect.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@505
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Mon, 27 Mar 2006 15:20:44 +0000 (15:20 +0000)]
Calculate the changed pixel rect in the scaled image with
calculateScaledBoundary().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@504
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Mon, 27 Mar 2006 15:10:43 +0000 (15:10 +0000)]
Added ScaledPixelBuffer::calculateScaleBoundary() in the rfb library.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@503
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 6 Mar 2006 05:24:45 +0000 (05:24 +0000)]
Calling XShmDestroyReadDisplayBuf() on IrixOverlayShmImage cleanup.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@502
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 6 Mar 2006 05:12:32 +0000 (05:12 +0000)]
Fixed a problem of not using XReadDisplay extension for parts of
images, under IRIX.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@501
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 2 Mar 2006 12:07:12 +0000 (12:07 +0000)]
Added a FIXME comment.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@500
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 2 Mar 2006 12:03:30 +0000 (12:03 +0000)]
Porting changes for LynxOS 2.3.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@499
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Fri, 24 Feb 2006 08:34:01 +0000 (08:34 +0000)]
Small ScaledPixelBuffer class improvements.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@498
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 17 Feb 2006 11:29:17 +0000 (11:29 +0000)]
Major improvements in algoritms of CPU load balancing. This should
make polling cycles more regular and changes in CPU load more smooth.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@497
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 17 Feb 2006 09:30:21 +0000 (09:30 +0000)]
Major improvement of the CPU load optimization implementation. The
CPUMonitor class is not used any more, that work is implemented in the
PollingScheduler class instead. New implementation solves the problem
of "random" sudden changes of CPU load that could be seen in previous
versions. Also, measurement method for CPU utilization has been
changed, the old one did not count CPU utilization increased by other
processes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@496
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 16:49:27 +0000 (16:49 +0000)]
Tiny code cleanup.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@495
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 16:44:50 +0000 (16:44 +0000)]
Improved the interface of the PollingScheduler class, added some
documentation in comments.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@494
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 14:51:11 +0000 (14:51 +0000)]
New PollingScheduler class for calculating timeouts for select() and
moments when next polling pass should be started. Current
implementation does not change scheduling algorithm used in previous
versions, so this change is just a code refactoring to prepare for
ongoing improvements.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@493
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 13:15:47 +0000 (13:15 +0000)]
Forgot to include TimeMillis.cxx in the Makefile template.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@492
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 13:01:22 +0000 (13:01 +0000)]
Corrected algorithm of adjusting polling intervals, to make sudden
changes more graceful.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@491
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 11:50:25 +0000 (11:50 +0000)]
More precise computing of time to spend in select(). This fixes the
problem with CPU underload with very small values of PollingCycle.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@490
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 16 Feb 2006 04:51:38 +0000 (04:51 +0000)]
Using new TimeMillis class instead of calls to gettimeofday() and
arithmetics with microseconds, to make the code clearer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@489
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 15 Feb 2006 16:14:07 +0000 (16:14 +0000)]
Improvements in the debugging code for measuring performance.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@488
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Sun, 12 Feb 2006 11:28:53 +0000 (11:28 +0000)]
Small ScaledPixelBuffer class improvements.
Added ScaledPixelBuffer::recreateScaledBuffer() method.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@487
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Sun, 12 Feb 2006 11:03:48 +0000 (11:03 +0000)]
Small ScaledPixelBuffer class improvements.
Renamed width_ to scaled_width and height_ to scaled_height.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@486
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Sun, 12 Feb 2006 07:58:02 +0000 (07:58 +0000)]
Small ScaledPixelBuffer class improvements.
Now src_data is a pointer to original image buffer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@485
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Sun, 12 Feb 2006 06:44:18 +0000 (06:44 +0000)]
Rename rfb::SlaledPixelBuffer::data to rfb::SlaledPixelBuffer::scaled_data.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@484
3789f03b -4d11-0410-bbf8-
ca57d06f2519
george82 [Sun, 12 Feb 2006 05:59:58 +0000 (05:59 +0000)]
Added the default constructor to the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@483
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 10 Feb 2006 12:26:54 +0000 (12:26 +0000)]
For the PollingCycle parameter, the default value has been changed
from 50 to 30 milliseconds. This should improve responsiveness for
servers with fast CPUs. Also, that should not hurt slow servers, as
actual interval would depend on the MaxProcessorUsage parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@482
3789f03b -4d11-0410-bbf8-
ca57d06f2519