summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
Commit message (Collapse)AuthorAgeFilesLines
...
* More debugging output can be enabled with the #define ↵Constantin Kaplinsky2008-01-102-0/+40
| | | | | | DEBUG_REPORT_CHANGED_TILES. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2399 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Checking neighbor pixels above and below changed tiles, as well as pixels at ↵Constantin Kaplinsky2008-01-091-4/+46
| | | | | | the left and at the right. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2396 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of ↵Constantin Kaplinsky2008-01-092-4/+7
| | | | | | changed tiles detected (excluding video area but including tiles found after "neighbors check"). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2395 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed an extra empty line.Constantin Kaplinsky2008-01-081-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2394 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Documented TightVNC-specific parameters properly.Constantin Kaplinsky2008-01-081-17/+53
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2393 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Made the manual page more readable, added clarifications, formatting fixes, ↵Constantin Kaplinsky2008-01-081-66/+77
| | | | | | corrected references to other man pages etc. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2392 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reordered parameter descriptions, as x0vncserver -h printed them in almost ↵Constantin Kaplinsky2008-01-071-84/+84
| | | | | | random order. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2391 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added new PARAMETERS section to the x0vncserver manual. The information was ↵Constantin Kaplinsky2008-01-071-1/+134
| | | | | | copied from the `x0vncserver -h' output. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2390 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The man page for x0vncserver rewritten from the scratch.Constantin Kaplinsky2008-01-071-24/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2389 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Polling algorithm was extended. Now, if it detected any changes, it will ↵Constantin Kaplinsky2007-12-282-1/+61
| | | | | | also check vertical borders of neighboring tiles at the right. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2388 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number ↵Constantin Kaplinsky2007-12-281-0/+8
| | | | | | of changed tiles detected in each polling pass. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2387 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code refactoring and cleanups. Moved a part of handleVideo() back to ↵Constantin Kaplinsky2007-12-282-27/+18
| | | | | | pollScreen(), changed a few function prototypes, added sanity checking in flagVideoArea(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2386 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Maintaining additional one-pixel-width image for using in upcoming polling ↵Constantin Kaplinsky2007-12-282-6/+13
| | | | | | improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2385 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor code refactoring -- new flagVideoArea() function, minor naming and ↵Constantin Kaplinsky2007-12-282-13/+17
| | | | | | formatting changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2384 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Prepared the XPixelBuffer class for grabbing the screen in its grabRegion() ↵Constantin Kaplinsky2007-12-274-15/+42
| | | | | | method. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2383 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Overriding the grabRegion function in XPixelBuffer. It will perform screen ↵Constantin Kaplinsky2007-12-263-1/+32
| | | | | | grabbing right before sending an update. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2382 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Moved XPixelBuffer class into a separate file.Constantin Kaplinsky2007-12-262-21/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2381 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a numner of FIXME comments, to identify some possible improvements.Constantin Kaplinsky2007-12-251-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2380 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented new "VideoPriority" parameter. It allows to increase the ↵Constantin Kaplinsky2007-12-252-1/+26
| | | | | | priority of video data (when set to 2 or higher), or to disable video detection completely (when set to 0). The value 1 gives video area the same priority as the rest of the screen, the value 2 doubles video area priority, and so on. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2379 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Making sure that both height and width of the video area are always ↵Constantin Kaplinsky2007-12-251-1/+13
| | | | | | multiples of 32. This is important for hardware JPEG encoders. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2378 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added IrixCLJpegCompressor class which will support JPEG compression via the ↵Constantin Kaplinsky2007-12-131-1/+1
| | | | | | Irix Compression Library. This version of IrixCLJpegCompressor is just a stub. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2375 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replaced fprintf(stderr, ...) with proper logging.Constantin Kaplinsky2007-10-101-3/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2355 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code cleanups, changes in variable names only.Constantin Kaplinsky2007-10-091-24/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2354 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code improvement -- the code from detectVideo() was split into two ↵Constantin Kaplinsky2007-10-092-45/+51
| | | | | | functions, handleVideo() and detectVideo(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2353 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimized detectVideo() function. Now it does the most work only when ↵Constantin Kaplinsky2007-10-092-23/+39
| | | | | | needed, not each time it's called. The video rectangle (m_videoRect) is now a member variable so it's remembered between calls to poll(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2352 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed PollPointer parameter and the corresponding code. Polling the screen ↵Constantin Kaplinsky2007-10-092-180/+14
| | | | | | around the pointer rather decreased polling performance then improved responsiveness. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2351 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed unused m_changedFlags member variable.Constantin Kaplinsky2007-10-092-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2350 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed old polling code, as well as PollingType parameter.Constantin Kaplinsky2007-10-092-362/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2349 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Combined video detection stuff with new polling code.Constantin Kaplinsky2007-10-082-1/+57
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2348 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with low performance in new polling code.Constantin Kaplinsky2007-10-081-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2347 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bugfix: we should not assume (sizeof(bool) == 1).Constantin Kaplinsky2007-10-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2346 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A comment extended.Constantin Kaplinsky2007-10-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2345 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code refactoring -- moving a code chunk from poll_New() to a separate ↵Constantin Kaplinsky2007-10-072-26/+30
| | | | | | sendChanges() method. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2344 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Performing polling via new checkRow() function.Constantin Kaplinsky2007-10-042-29/+54
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2343 3789f03b-4d11-0410-bbf8-ca57d06f2519
* New polling algorithm has been implemented. Video detection is not included ↵Constantin Kaplinsky2007-10-042-4/+84
| | | | | | in this version though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2342 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved algorithm of detecting rectangular video area. Old algorithm used ↵Constantin Kaplinsky2007-09-292-21/+126
| | | | | | the external boundary of the candidate region, while new algoritm uses the biggest rectangular part of the candidate region. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2341 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adding -ldmedia option on linking x0vncserver in IRIX.Constantin Kaplinsky2007-09-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2338 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Special handling for rectangular video area in x0vncserver.Constantin Kaplinsky2007-09-042-1/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Extended Image::get() methods with a version that can write pixel data at a ↵Constantin Kaplinsky2007-09-032-13/+22
| | | | | | given offset in the destination image. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2333 3789f03b-4d11-0410-bbf8-ca57d06f2519
* PollPointer setting now defaults to false. Printing the number of changed ↵Constantin Kaplinsky2007-07-241-1/+7
| | | | | | tiles in each polling pass if DEBUG is defined (only with PollingType=3). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2319 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed unreasonably high CPU utilization in cases when new connection hasConstantin Kaplinsky2006-12-053-2/+12
| | | | | | | been accepted but polling was not activated yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2182 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reporting build time in x0vncserver usage.Constantin Kaplinsky2006-12-011-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes in reporting version numbers and copyrights.Constantin Kaplinsky2006-06-021-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@628 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A grammar fix in man pages.Constantin Kaplinsky2006-06-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@620 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated build scripts in unix/ for new directory layout.Constantin Kaplinsky2006-06-022-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@617 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-2514-0/+2707
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519