aboutsummaryrefslogtreecommitdiffstats
path: root/x0vncserver
Commit message (Collapse)AuthorAgeFilesLines
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-2514-2707/+0
| | | | | | Windows part should be complete. For the Unix part, more changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@592 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the problem with framebuffer data not always aligned properly.Constantin Kaplinsky2006-05-231-2/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@578 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Better cleanup on receiving signals, improved logging.Constantin Kaplinsky2006-05-221-11/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@577 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Better logging -- less repeated information.Constantin Kaplinsky2006-05-224-10/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@575 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed debugging output, replaced fprintf() to stderr with proper logging ↵Constantin Kaplinsky2006-05-222-41/+18
| | | | | | via rfb::LogWriter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@573 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor code refactoring: loading initial screen data moved from XDesktop to ↵Constantin Kaplinsky2006-05-222-3/+6
| | | | | | PollingManager. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@572 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added support for new `Geometry' option which allows serving an arbitraryConstantin Kaplinsky2006-05-206-43/+193
| | | | | | | 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
* Fixed a memory leak caused by not deleting Image objects properly.Constantin Kaplinsky2006-04-191-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@543 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with QueryConnect dialog not counting down seconds, andConstantin Kaplinsky2006-04-191-8/+6
| | | | | | | | 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
* Minor code formatting fix.Constantin Kaplinsky2006-04-181-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@541 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a bug with dereferencing a zero pointer in x0vncserver.Constantin Kaplinsky2006-04-181-3/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* An extra character removed from an #include directive.Constantin Kaplinsky2006-04-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@537 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A correction for the previous set of changes (r529).Constantin Kaplinsky2006-04-171-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@530 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Merged the x0vncserver directory with VNC 4.1.1.Constantin Kaplinsky2006-04-174-35/+104
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@529 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed .cvsignore files useless for Subversion.Constantin Kaplinsky2006-04-131-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@517 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Calling XShmDestroyReadDisplayBuf() on IrixOverlayShmImage cleanup.Constantin Kaplinsky2006-03-061-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@502 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem of not using XReadDisplay extension for parts ofConstantin Kaplinsky2006-03-061-13/+12
| | | | | | | images, under IRIX. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@501 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Porting changes for LynxOS 2.3.Constantin Kaplinsky2006-03-022-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@499 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major improvements in algoritms of CPU load balancing. This shouldConstantin Kaplinsky2006-02-173-8/+52
| | | | | | | 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
* Major improvement of the CPU load optimization implementation. TheConstantin Kaplinsky2006-02-176-246/+161
| | | | | | | | | | | | 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
* Tiny code cleanup.Constantin Kaplinsky2006-02-162-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@495 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved the interface of the PollingScheduler class, added someConstantin Kaplinsky2006-02-163-3/+13
| | | | | | | documentation in comments. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@494 3789f03b-4d11-0410-bbf8-ca57d06f2519
* New PollingScheduler class for calculating timeouts for select() andConstantin Kaplinsky2006-02-164-22/+126
| | | | | | | | | | 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
* Forgot to include TimeMillis.cxx in the Makefile template.Constantin Kaplinsky2006-02-161-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@492 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected algorithm of adjusting polling intervals, to make suddenConstantin Kaplinsky2006-02-161-10/+28
| | | | | | | changes more graceful. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@491 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More precise computing of time to spend in select(). This fixes theConstantin Kaplinsky2006-02-161-9/+24
| | | | | | | 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
* Using new TimeMillis class instead of calls to gettimeofday() andConstantin Kaplinsky2006-02-167-54/+142
| | | | | | | 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
* Improvements in the debugging code for measuring performance.Constantin Kaplinsky2006-02-153-19/+51
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@488 3789f03b-4d11-0410-bbf8-ca57d06f2519
* For the PollingCycle parameter, the default value has been changedConstantin Kaplinsky2006-02-101-1/+1
| | | | | | | | | 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
* Do not poll screen area near the pointer if the pointer did not moveConstantin Kaplinsky2006-02-102-3/+13
| | | | | | | for about 5 seconds. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@481 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Marked temporary command-line parameters with the "DEBUG:" prefix, toConstantin Kaplinsky2006-02-101-2/+2
| | | | | | | | indicate that they are not for general use and may be removed or changed in the future. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@480 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved debugging version of the poll() method.Constantin Kaplinsky2006-02-101-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@479 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated code duplication in polling implementations, added a fewConstantin Kaplinsky2006-02-101-21/+16
| | | | | | | comments, removed a FIXME comment proven to be unfounded. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@478 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Polling screen area around current pointer position with higherConstantin Kaplinsky2006-02-085-24/+278
| | | | | | | | priority. Also, there is a number of code improvements, and some new "FIXME" comments for potential future improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@477 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved algorighm of detecting constantly-changed areas on theConstantin Kaplinsky2006-02-032-0/+94
| | | | | | | screen. Some debugging code included but commented out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@476 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code cleanups in PollingManager.Constantin Kaplinsky2006-02-012-27/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@475 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor cleanup, unused code removed.Constantin Kaplinsky2006-02-011-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@474 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented new polling algorithm with video detection.Constantin Kaplinsky2005-10-192-4/+99
| | | | | | | | Continuously-changed areas like video windows would be updated with reduced rate, to improve responsiveness of other screen elements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@355 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added two different polling algorithms, a dumb one from VNC4, and anConstantin Kaplinsky2005-09-292-17/+149
| | | | | | | | | | | improved method which limits the rate of updates for continuously changed areas such as video windows. Now there are three polling algorithms supported, and the default is to use the new improved one. New -PollingType options was added, it allows to select one of three polling algorithms (0 - dumb, 1 - old, 2 - new). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@340 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The polling code has been moved into a separate class.Constantin Kaplinsky2005-09-296-93/+198
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@339 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CPU load monitoring has been implemented in x0vncserver. CPU loadConstantin Kaplinsky2005-09-144-5/+210
| | | | | | | | setting defaults to 35% but can be adjusted with new -MaxProcessorUsage parameter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@319 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated configure.in to include more platform-dependent checks and setConstantin Kaplinsky2005-09-091-2/+5
| | | | | | | | | variables affecting x0vncserver. Now x0vncserver seems to work as reliable as one from outdated "tightvnc-unix" module, and includes all the same features. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@312 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with crashing on select() returning EINTR error.Constantin Kaplinsky2005-09-091-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@311 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated x0vncserver to the latest version from the "tightvnc-unix"Constantin Kaplinsky2005-09-083-97/+825
| | | | | | | | | | | | | | module. It includes support for overlay extensions under IRIX and Solaris, MIT-SHM support, much improved polling algorithm and support for IP filtering on accepting connections. However, current version does not seem stable when linked with this codebase -- it is not compatible with 1.3dev5 viewers for some reasons, and crashes on "select: interrupted system call" from time to time. Also, the "configure" script is not yet updated to enable certain features of this version. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@309 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Tightified sources:Peter Åstrand2004-12-301-5/+6
| | | | | | | | | | | | | | | * Changed description in README files. * Added our copyright. * The HTTP server presents itself as TightVNC, rather than RealVNC. * Using registry path Software\TightVNC\WinVNC4 * Updated descriptions in resource files. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@67 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Linking with libjpegPeter Åstrand2004-11-191-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@19 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added .cvsignore files.Constantin Kaplinsky2004-10-081-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial revisionConstantin Kaplinsky2004-10-086-0/+546
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2 3789f03b-4d11-0410-bbf8-ca57d06f2519