]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
16 years agoAdded directory tree for Java code.
Constantin Kaplinsky [Mon, 14 Apr 2008 07:56:50 +0000 (07:56 +0000)]
Added directory tree for Java code.

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

16 years agoReverted the changes from revisions 2434:2435. They destroyed history on affected...
Constantin Kaplinsky [Sat, 22 Mar 2008 04:55:33 +0000 (04:55 +0000)]
Reverted the changes from revisions 2434:2435. They destroyed history on affected files.

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

16 years ago- readded accidentaly removed intl and po directories
Adam Tkac [Thu, 20 Mar 2008 13:41:07 +0000 (13:41 +0000)]
- readded accidentaly removed intl and po directories

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

16 years ago- handle HAVE_MITSHM macro through config.h
Adam Tkac [Thu, 20 Mar 2008 13:30:22 +0000 (13:30 +0000)]
- handle HAVE_MITSHM macro through config.h
- removed unix/intl stuff and added unix/vncviewer/gettext.h file which
  cares about platform independent translations
- removed unwanted config.rpath and ABOUT-NLS (autogenerated)
- moved unix/po to top directory
- internationalization works again

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

16 years agoAdded some missing #includes whose prevent build source with gcc 4.3
Adam Tkac [Wed, 19 Mar 2008 16:14:48 +0000 (16:14 +0000)]
Added some missing #includes whose prevent build source with gcc 4.3

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

16 years agoProtect common/zlib/configure parameter processing against infinite loop
Adam Tkac [Wed, 19 Mar 2008 14:44:35 +0000 (14:44 +0000)]
Protect common/zlib/configure parameter processing against infinite loop

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

16 years agoSet SVN project language to English.
Constantin Kaplinsky [Mon, 17 Mar 2008 05:07:13 +0000 (05:07 +0000)]
Set SVN project language to English.

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

16 years agoviewer could aborted when only one scrollbar should be used
Adam Tkac [Fri, 14 Mar 2008 13:37:09 +0000 (13:37 +0000)]
viewer could aborted when only one scrollbar should be used

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

16 years agoOptimized the checkRow() function.
Constantin Kaplinsky [Mon, 21 Jan 2008 10:24:25 +0000 (10:24 +0000)]
Optimized the checkRow() function.

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

16 years agoMinor refactoring: removed getFullRow() function, added its code to getRow().
Constantin Kaplinsky [Sat, 19 Jan 2008 09:03:47 +0000 (09:03 +0000)]
Minor refactoring: removed getFullRow() function, added its code to getRow().

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

16 years agoMinor code enhancement: using an inline function instead of inline arithmetic.
Constantin Kaplinsky [Fri, 18 Jan 2008 15:37:15 +0000 (15:37 +0000)]
Minor code enhancement: using an inline function instead of inline arithmetic.

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

16 years agoMinor code improvement: added Image::locatePixel(x, y) function to get rid of direct...
Constantin Kaplinsky [Fri, 18 Jan 2008 15:23:11 +0000 (15:23 +0000)]
Minor code improvement: added Image::locatePixel(x, y) function to get rid of direct pointer arithmetic.

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

16 years agoMade a number of member variables constants.
Constantin Kaplinsky [Fri, 18 Jan 2008 14:33:05 +0000 (14:33 +0000)]
Made a number of member variables constants.

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

16 years agoMinor refactoring: new m_bytesPerPixel member variable.
Constantin Kaplinsky [Fri, 18 Jan 2008 14:13:16 +0000 (14:13 +0000)]
Minor refactoring: new m_bytesPerPixel member variable.

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

16 years agoRefactoring: checkRow() has been rationalized; it does not need arguments that it...
Constantin Kaplinsky [Fri, 18 Jan 2008 11:17:26 +0000 (11:17 +0000)]
Refactoring: checkRow() has been rationalized; it does not need arguments that it can easily compute itself.

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

16 years agoCode refactoring: removed extra arguments for member functions.
Constantin Kaplinsky [Thu, 17 Jan 2008 19:14:37 +0000 (19:14 +0000)]
Code refactoring: removed extra arguments for member functions.

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

16 years agoCode refactoring: introduced m_changeFlags member variable, instead of similar local...
Constantin Kaplinsky [Thu, 17 Jan 2008 17:41:48 +0000 (17:41 +0000)]
Code refactoring: introduced m_changeFlags member variable, instead of similar local variable.

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

16 years agoMinor code refactoring: remembering the number of 32x32 tiles in a member variable.
Constantin Kaplinsky [Thu, 17 Jan 2008 15:17:36 +0000 (15:17 +0000)]
Minor code refactoring: remembering the number of 32x32 tiles in a member variable.

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

16 years agoLastRect was documented incorrectly.
Constantin Kaplinsky [Mon, 14 Jan 2008 09:11:18 +0000 (09:11 +0000)]
LastRect was documented incorrectly.

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

16 years agoImplemented calls to reportChanges() as conditional macros. This reduces the amount...
Constantin Kaplinsky [Thu, 10 Jan 2008 15:59:03 +0000 (15:59 +0000)]
Implemented calls to reportChanges() as conditional macros. This reduces the amount of debugging code.

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

16 years agoMore debugging output can be enabled with the #define DEBUG_REPORT_CHANGED_TILES.
Constantin Kaplinsky [Thu, 10 Jan 2008 15:27:42 +0000 (15:27 +0000)]
More debugging output can be enabled with the #define DEBUG_REPORT_CHANGED_TILES.

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

16 years agoChecking neighbor pixels above and below changed tiles, as well as pixels at the...
Constantin Kaplinsky [Wed, 9 Jan 2008 10:25:34 +0000 (10:25 +0000)]
Checking neighbor pixels above and below changed tiles, as well as pixels at the left and at the right.

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

16 years agoIf defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of changed tiles...
Constantin Kaplinsky [Wed, 9 Jan 2008 10:22:42 +0000 (10:22 +0000)]
If defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of 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

16 years agoRemoved an extra empty line.
Constantin Kaplinsky [Tue, 8 Jan 2008 14:16:34 +0000 (14:16 +0000)]
Removed an extra empty line.

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

16 years agoDocumented TightVNC-specific parameters properly.
Constantin Kaplinsky [Tue, 8 Jan 2008 13:48:19 +0000 (13:48 +0000)]
Documented TightVNC-specific parameters properly.

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

16 years agoMade the manual page more readable, added clarifications, formatting fixes, corrected...
Constantin Kaplinsky [Tue, 8 Jan 2008 10:42:22 +0000 (10:42 +0000)]
Made the manual page more readable, added clarifications, formatting fixes, 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

16 years agoReordered parameter descriptions, as x0vncserver -h printed them in almost random...
Constantin Kaplinsky [Mon, 7 Jan 2008 16:10:37 +0000 (16:10 +0000)]
Reordered parameter descriptions, as x0vncserver -h printed them in almost random order.

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

16 years agoAdded new PARAMETERS section to the x0vncserver manual. The information was copied...
Constantin Kaplinsky [Mon, 7 Jan 2008 14:52:51 +0000 (14:52 +0000)]
Added new PARAMETERS section to the x0vncserver manual. The information was copied from the `x0vncserver -h' output.

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

16 years agoThe man page for x0vncserver rewritten from the scratch.
Constantin Kaplinsky [Mon, 7 Jan 2008 13:57:01 +0000 (13:57 +0000)]
The man page for x0vncserver rewritten from the scratch.

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

16 years agoPolling algorithm was extended. Now, if it detected any changes, it will also check...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:37:04 +0000 (18:37 +0000)]
Polling algorithm was extended. Now, if it detected any changes, it will 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

16 years agoWhen compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number of change...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:30:54 +0000 (18:30 +0000)]
When compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number 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

16 years agoCode refactoring and cleanups. Moved a part of handleVideo() back to pollScreen(...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:21:42 +0000 (18:21 +0000)]
Code refactoring and cleanups. Moved a part of handleVideo() back to 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

16 years agoMaintaining additional one-pixel-width image for using in upcoming polling improvements.
Constantin Kaplinsky [Fri, 28 Dec 2007 17:59:10 +0000 (17:59 +0000)]
Maintaining additional one-pixel-width image for using in upcoming polling improvements.

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

16 years agoMinor code refactoring -- new flagVideoArea() function, minor naming and formatting...
Constantin Kaplinsky [Fri, 28 Dec 2007 08:44:59 +0000 (08:44 +0000)]
Minor code refactoring -- new flagVideoArea() function, minor naming and formatting changes.

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

16 years agoPrepared the XPixelBuffer class for grabbing the screen in its grabRegion() method.
Constantin Kaplinsky [Thu, 27 Dec 2007 08:42:53 +0000 (08:42 +0000)]
Prepared the XPixelBuffer class for grabbing the screen in its grabRegion() method.

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

16 years agoOverriding the grabRegion function in XPixelBuffer. It will perform screen grabbing...
Constantin Kaplinsky [Wed, 26 Dec 2007 19:17:02 +0000 (19:17 +0000)]
Overriding the grabRegion function in XPixelBuffer. It will perform screen grabbing right before sending an update.

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

16 years agoMoved XPixelBuffer class into a separate file.
Constantin Kaplinsky [Wed, 26 Dec 2007 18:17:09 +0000 (18:17 +0000)]
Moved XPixelBuffer class into a separate file.

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

16 years agoAdded a numner of FIXME comments, to identify some possible improvements.
Constantin Kaplinsky [Tue, 25 Dec 2007 18:10:35 +0000 (18:10 +0000)]
Added a numner of FIXME comments, to identify some possible improvements.

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

16 years agoImplemented new "VideoPriority" parameter. It allows to increase the priority of...
Constantin Kaplinsky [Tue, 25 Dec 2007 17:43:09 +0000 (17:43 +0000)]
Implemented new "VideoPriority" parameter. It allows to increase the 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

16 years agoMaking sure that both height and width of the video area are always multiples of...
Constantin Kaplinsky [Tue, 25 Dec 2007 11:25:07 +0000 (11:25 +0000)]
Making sure that both height and width of the video area are always 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

16 years agoIrixDMJpegCompressor is now preferred to IrixCLJpegCompressor. Debugging behavior...
Constantin Kaplinsky [Thu, 20 Dec 2007 15:30:20 +0000 (15:30 +0000)]
IrixDMJpegCompressor is now preferred to IrixCLJpegCompressor. Debugging behavior was either removed or made dependent on the DEBUG_FORCE_CL define. This define allows testing of Irix CL software-only JPEG compressor which normally would not be used.

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

16 years agoFunctional version of IrixCLJpegCompressor. This commit includes modifications used...
Constantin Kaplinsky [Wed, 19 Dec 2007 06:25:06 +0000 (06:25 +0000)]
Functional version of IrixCLJpegCompressor. This commit includes modifications used to test this class without hardware compressors available via Irix CL.

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

16 years agoAdded IrixCLJpegCompressor class which will support JPEG compression via the Irix...
Constantin Kaplinsky [Thu, 13 Dec 2007 19:16:33 +0000 (19:16 +0000)]
Added IrixCLJpegCompressor class which will support JPEG compression via the 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

16 years agoDo not use JPEG if not requested by the client.
Constantin Kaplinsky [Fri, 7 Dec 2007 10:38:51 +0000 (10:38 +0000)]
Do not use JPEG if not requested by the client.

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

16 years agoChanging JPEG compression levels did not have immediate effect.
Constantin Kaplinsky [Fri, 7 Dec 2007 10:28:11 +0000 (10:28 +0000)]
Changing JPEG compression levels did not have immediate effect.

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

16 years agoVarious improvements in the IrixDMJpegCompressor class. Member functions have been...
Constantin Kaplinsky [Fri, 7 Dec 2007 08:23:04 +0000 (08:23 +0000)]
Various improvements in the IrixDMJpegCompressor class. Member functions have been declared virtual. The setQuality() function allows compression levels in the range [1..99] now, and calls IrixDMIC_RawToJpeg::setImageQuality() when necessary.

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

17 years agoAdded throwing rfb::UnsupportedPixelFormatExceptions exception in ScaledDIBSectionBuf...
george82 [Mon, 5 Nov 2007 17:13:10 +0000 (17:13 +0000)]
Added throwing rfb::UnsupportedPixelFormatExceptions exception in ScaledDIBSectionBuffer class.

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

17 years agoSmall code improvements - added check for scale buffer in ScaledPixelBuffer::setScale...
george82 [Mon, 5 Nov 2007 16:33:09 +0000 (16:33 +0000)]
Small code improvements - added check for scale buffer in ScaledPixelBuffer::setScaleFilter().

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

17 years agoRemoved the possibility to choose the scale filter in the options dialog of vncviewer.
george82 [Mon, 5 Nov 2007 14:28:40 +0000 (14:28 +0000)]
Removed the possibility to choose the scale filter in the options dialog of vncviewer.

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

17 years agoAdded the improvements of the ScaledPixelBuffer class - increased scaled image qualit...
george82 [Mon, 5 Nov 2007 11:22:14 +0000 (11:22 +0000)]
Added the improvements of the ScaledPixelBuffer class - increased scaled image quality when scale < 100%.

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

17 years agoPowerful ScaledPixelBuffer class code improvements - at 10x increased scale performan...
george82 [Sun, 4 Nov 2007 07:35:51 +0000 (07:35 +0000)]
Powerful ScaledPixelBuffer class code improvements - at 10x increased scale performance due to
using the row accumulators. The row accumulators keep result of the convolution of the source image by y axis.

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

17 years agoAdded implementation of the remote desktop scaling on basis of integer
george82 [Sun, 28 Oct 2007 10:32:01 +0000 (10:32 +0000)]
Added implementation of the remote desktop scaling on basis of integer
computing. It allow to double the scaling performance.

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

17 years agoFixed the small mistake - set the scale parameter in
george82 [Sun, 28 Oct 2007 08:35:08 +0000 (08:35 +0000)]
Fixed the small mistake - set the scale parameter in
rfb::ScaledPixelBuffer class constructor.

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

17 years agoUsing JpegEncoder for video only with proper pixel formats.
Constantin Kaplinsky [Wed, 17 Oct 2007 17:40:23 +0000 (17:40 +0000)]
Using JpegEncoder for video only with proper pixel formats.

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

17 years agoChanges in mapping of JPEG quality levels. Minor code cleanups.
Constantin Kaplinsky [Wed, 10 Oct 2007 10:03:06 +0000 (10:03 +0000)]
Changes in mapping of JPEG quality levels. Minor code cleanups.

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

17 years agoIn IRIX, if we could not find a matching DMIC converter, list all available converter...
Constantin Kaplinsky [Wed, 10 Oct 2007 06:22:34 +0000 (06:22 +0000)]
In IRIX, if we could not find a matching DMIC converter, list all available converters in the log.

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

17 years agoAdded support for new UseHardwareJPEG parameter ("Use hardware-accelerated JPEG compr...
Constantin Kaplinsky [Wed, 10 Oct 2007 04:44:54 +0000 (04:44 +0000)]
Added support for new UseHardwareJPEG parameter ("Use hardware-accelerated JPEG compressor for video if available") which is 'true' by default. Also, in IRIX, if IrixDMJpegCompressor fails to initialize, we use StandardJpegCompressor instead. This way, video will be transmitted even if we could not open hardware JPEG compressor.

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

17 years agoRemoved two obsolete FIXME comments.
Constantin Kaplinsky [Wed, 10 Oct 2007 04:39:45 +0000 (04:39 +0000)]
Removed two obsolete FIXME comments.

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

17 years agoReplaced printf(...) and fprintf(stderr, ...) with proper logging.
Constantin Kaplinsky [Wed, 10 Oct 2007 02:03:33 +0000 (02:03 +0000)]
Replaced printf(...) and fprintf(stderr, ...) with proper logging.

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

17 years agoReplaced fprintf(stderr, ...) with proper logging.
Constantin Kaplinsky [Wed, 10 Oct 2007 01:33:39 +0000 (01:33 +0000)]
Replaced fprintf(stderr, ...) with proper logging.

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

17 years agoCode cleanups, changes in variable names only.
Constantin Kaplinsky [Tue, 9 Oct 2007 12:48:26 +0000 (12:48 +0000)]
Code cleanups, changes in variable names only.

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

17 years agoCode improvement -- the code from detectVideo() was split into two functions, handleV...
Constantin Kaplinsky [Tue, 9 Oct 2007 12:03:15 +0000 (12:03 +0000)]
Code improvement -- the code from detectVideo() was split into two functions, handleVideo() and detectVideo().

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

17 years agoOptimized detectVideo() function. Now it does the most work only when needed, not...
Constantin Kaplinsky [Tue, 9 Oct 2007 09:31:41 +0000 (09:31 +0000)]
Optimized detectVideo() function. Now it does the most work only when 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

17 years agoRemoved PollPointer parameter and the corresponding code. Polling the screen around...
Constantin Kaplinsky [Tue, 9 Oct 2007 08:15:25 +0000 (08:15 +0000)]
Removed PollPointer parameter and the corresponding code. Polling the screen 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

17 years agoRemoved unused m_changedFlags member variable.
Constantin Kaplinsky [Tue, 9 Oct 2007 07:54:50 +0000 (07:54 +0000)]
Removed unused m_changedFlags member variable.

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

17 years agoRemoved old polling code, as well as PollingType parameter.
Constantin Kaplinsky [Tue, 9 Oct 2007 07:46:32 +0000 (07:46 +0000)]
Removed old polling code, as well as PollingType parameter.

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

17 years agoCombined video detection stuff with new polling code.
Constantin Kaplinsky [Mon, 8 Oct 2007 14:54:18 +0000 (14:54 +0000)]
Combined video detection stuff with new polling code.

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

17 years agoFixed a problem with low performance in new polling code.
Constantin Kaplinsky [Mon, 8 Oct 2007 14:16:02 +0000 (14:16 +0000)]
Fixed a problem with low performance in new polling code.

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

17 years agoBugfix: we should not assume (sizeof(bool) == 1).
Constantin Kaplinsky [Mon, 8 Oct 2007 13:49:44 +0000 (13:49 +0000)]
Bugfix: we should not assume (sizeof(bool) == 1).

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

17 years agoA comment extended.
Constantin Kaplinsky [Sun, 7 Oct 2007 13:08:18 +0000 (13:08 +0000)]
A comment extended.

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

17 years agoCode refactoring -- moving a code chunk from poll_New() to a separate sendChanges...
Constantin Kaplinsky [Sun, 7 Oct 2007 13:03:55 +0000 (13:03 +0000)]
Code refactoring -- moving a code chunk from poll_New() to a separate sendChanges() method.

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

17 years agoPerforming polling via new checkRow() function.
Constantin Kaplinsky [Thu, 4 Oct 2007 11:43:41 +0000 (11:43 +0000)]
Performing polling via new checkRow() function.

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

17 years agoNew polling algorithm has been implemented. Video detection is not included in this...
Constantin Kaplinsky [Thu, 4 Oct 2007 06:02:02 +0000 (06:02 +0000)]
New polling algorithm has been implemented. Video detection is not included in this version though.

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

17 years agoImproved algorithm of detecting rectangular video area. Old algorithm used the extern...
Constantin Kaplinsky [Sat, 29 Sep 2007 04:00:02 +0000 (04:00 +0000)]
Improved algorithm of detecting rectangular video area. Old algorithm used 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

17 years agoLinking vncviewer with -ldmedia in IRIX.
Constantin Kaplinsky [Wed, 5 Sep 2007 11:39:43 +0000 (11:39 +0000)]
Linking vncviewer with -ldmedia in IRIX.

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

17 years agoMinor code cleanup to decrease the amount of compilation warnings in Fedora Core 6.
Constantin Kaplinsky [Wed, 5 Sep 2007 09:31:08 +0000 (09:31 +0000)]
Minor code cleanup to decrease the amount of compilation warnings in Fedora Core 6.

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

17 years agoAdding -ldmedia option on linking x0vncserver in IRIX.
Constantin Kaplinsky [Wed, 5 Sep 2007 09:29:06 +0000 (09:29 +0000)]
Adding -ldmedia option on linking x0vncserver in IRIX.

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

17 years agoFixed a compilation problem under Fedora Core 6. Now the rfb library uses external...
Constantin Kaplinsky [Wed, 5 Sep 2007 08:59:32 +0000 (08:59 +0000)]
Fixed a compilation problem under Fedora Core 6. Now the rfb library uses external strcasecmp() and strncasecmp() functions if provided by the system.

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

17 years agoSpecial handling for rectangular video area in x0vncserver.
Constantin Kaplinsky [Tue, 4 Sep 2007 09:15:35 +0000 (09:15 +0000)]
Special handling for rectangular video area in x0vncserver.

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

17 years agoFixed a problem with copying discontinuous pixel data to IRIX JPEG ompressor.
Constantin Kaplinsky [Tue, 4 Sep 2007 09:12:59 +0000 (09:12 +0000)]
Fixed a problem with copying discontinuous pixel data to IRIX JPEG ompressor.

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

17 years agoUsing hardware-accelerated version of JpegEncoder under IRIX.
Constantin Kaplinsky [Tue, 4 Sep 2007 09:08:10 +0000 (09:08 +0000)]
Using hardware-accelerated version of JpegEncoder under IRIX.

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

17 years agoExtended Image::get() methods with a version that can write pixel data at a given...
Constantin Kaplinsky [Mon, 3 Sep 2007 10:17:19 +0000 (10:17 +0000)]
Extended Image::get() methods with a version that can write pixel data at a given offset in the destination image.

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

17 years agoEliminated a warning on link in the Debug configuration.
Constantin Kaplinsky [Mon, 3 Sep 2007 04:29:50 +0000 (04:29 +0000)]
Eliminated a warning on link in the Debug configuration.

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

17 years agoSending updates for "video area".
Constantin Kaplinsky [Mon, 3 Sep 2007 04:23:48 +0000 (04:23 +0000)]
Sending updates for "video area".

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

17 years agoPassing image quality level to JpegEncoder.
Constantin Kaplinsky [Mon, 3 Sep 2007 04:21:56 +0000 (04:21 +0000)]
Passing image quality level to JpegEncoder.

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

17 years agoIn SMsgWriter, added the ability to send a video rectangle via JpegEncoder.
Constantin Kaplinsky [Fri, 31 Aug 2007 21:31:34 +0000 (21:31 +0000)]
In SMsgWriter, added the ability to send a video rectangle via JpegEncoder.

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

17 years agoA typo fixed in a comment.
Constantin Kaplinsky [Fri, 31 Aug 2007 21:14:45 +0000 (21:14 +0000)]
A typo fixed in a comment.

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

17 years agoSpecial handling of a rectangular video area in the UpdateTracker and derived/related...
Constantin Kaplinsky [Fri, 31 Aug 2007 21:06:53 +0000 (21:06 +0000)]
Special handling of a rectangular video area in the UpdateTracker and derived/related classes.

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

17 years agoMinor code cleanup - changed a variable name.
Constantin Kaplinsky [Fri, 31 Aug 2007 15:56:33 +0000 (15:56 +0000)]
Minor code cleanup - changed a variable name.

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

17 years agoCode cleanups. The most important change is that we now always use UpdateTracker...
Constantin Kaplinsky [Fri, 31 Aug 2007 15:50:37 +0000 (15:50 +0000)]
Code cleanups. The most important change is that we now always use UpdateTracker's getUpdateInfo() and never call get_changed(), get_copied() and get_delta() member functions.

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

17 years agoUnused function commented out.
Constantin Kaplinsky [Fri, 31 Aug 2007 15:44:12 +0000 (15:44 +0000)]
Unused function commented out.

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

17 years agoMakefile updated to include JpegEncoder.
Constantin Kaplinsky [Thu, 2 Aug 2007 16:45:36 +0000 (16:45 +0000)]
Makefile updated to include JpegEncoder.

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

17 years agoJpegEncoder implemented. It compresses full-color pixel data with JPEG sub-encoding...
Constantin Kaplinsky [Thu, 2 Aug 2007 13:51:09 +0000 (13:51 +0000)]
JpegEncoder implemented. It compresses full-color pixel data with JPEG sub-encoding of Tight encoding.

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

17 years agoAdded new files to the project.
Constantin Kaplinsky [Sat, 28 Jul 2007 04:56:59 +0000 (04:56 +0000)]
Added new files to the project.

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

17 years agoAdded JpegCompressor abstract class and two implementations -- one cross-platform...
Constantin Kaplinsky [Tue, 24 Jul 2007 12:10:16 +0000 (12:10 +0000)]
Added JpegCompressor abstract class and two implementations -- one cross-platform and another IRIX-specific.

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

17 years agoPollPointer setting now defaults to false. Printing the number of changed tiles in...
Constantin Kaplinsky [Tue, 24 Jul 2007 08:35:43 +0000 (08:35 +0000)]
PollPointer setting now defaults to false. Printing the number of changed 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

17 years agoRemoved "Sinc" scale filter. It's has very low performance and not urgently for this...
george82 [Wed, 9 May 2007 09:51:27 +0000 (09:51 +0000)]
Removed "Sinc" scale filter. It's has very low performance and not urgently for this project.

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

17 years agoLastRect pseudo-encoding documented.
Constantin Kaplinsky [Sat, 5 May 2007 01:57:04 +0000 (01:57 +0000)]
LastRect pseudo-encoding documented.

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

17 years agoNow implemented manage the scale filters from the vncviewer options dialog.
george82 [Mon, 30 Apr 2007 13:28:54 +0000 (13:28 +0000)]
Now implemented manage the scale filters from the vncviewer options dialog.

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

17 years agoTemporary added constraint of scale filters.
george82 [Mon, 30 Apr 2007 12:43:31 +0000 (12:43 +0000)]
Temporary added constraint of scale filters.
Now supported bilinear and bicubic scale filters.

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