]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
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

17 years agoAdded controls to manage the scale filters in the vncviewer options dialog.
george82 [Mon, 30 Apr 2007 11:37:36 +0000 (11:37 +0000)]
Added controls to manage the scale filters in the vncviewer options dialog.

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

17 years agoAdded the new options parameter scaleFilter to CConnOptions class.
george82 [Mon, 30 Apr 2007 05:21:41 +0000 (05:21 +0000)]
Added the new options parameter scaleFilter to CConnOptions class.

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

17 years agoAnd one more FIXME comment on continuous updates.
Constantin Kaplinsky [Fri, 13 Apr 2007 07:01:25 +0000 (07:01 +0000)]
And one more FIXME comment on continuous updates.

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

17 years agoAnother FIXME comment in the specification for EndOfContinuousUpdates message.
Constantin Kaplinsky [Fri, 13 Apr 2007 05:19:34 +0000 (05:19 +0000)]
Another FIXME comment in the specification for EndOfContinuousUpdates message.

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

17 years agoA fix to handle line endings properly.
Constantin Kaplinsky [Wed, 11 Apr 2007 09:07:11 +0000 (09:07 +0000)]
A fix to handle line endings properly.

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

17 years agoEliminated gcc compilation warning.
Constantin Kaplinsky [Wed, 11 Apr 2007 08:48:11 +0000 (08:48 +0000)]
Eliminated gcc compilation warning.

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

17 years agoReplaced call to Win32-specific stricmp() function with strcasecmp().
Constantin Kaplinsky [Wed, 11 Apr 2007 08:43:17 +0000 (08:43 +0000)]
Replaced call to Win32-specific stricmp() function with strcasecmp().

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

17 years agoInitial implementation of continuous updates in the server code. This code does not...
Constantin Kaplinsky [Thu, 5 Apr 2007 08:43:25 +0000 (08:43 +0000)]
Initial implementation of continuous updates in the server code. This code does not handle framebuffer size changes properly yet. Also, the server does not send the client EndOfContinuousUpdates message yet (documented in doc/rfbproto.tex).

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

17 years agoTwo "FIXME" comments on EnableContinuousUpdates client message.
Constantin Kaplinsky [Mon, 2 Apr 2007 10:39:44 +0000 (10:39 +0000)]
Two "FIXME" comments on EnableContinuousUpdates client message.

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

17 years agoChanged signatures for recently added protocol messages, EnableContinuousUpdates...
Constantin Kaplinsky [Fri, 30 Mar 2007 09:37:51 +0000 (09:37 +0000)]
Changed signatures for recently added protocol messages, EnableContinuousUpdates and EndOfContinuousUpdates.

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

17 years agoIntroduced EnableContinuousUpdates client message and EndOfContinuousUpdates server...
Constantin Kaplinsky [Thu, 29 Mar 2007 11:37:26 +0000 (11:37 +0000)]
Introduced EnableContinuousUpdates client message and EndOfContinuousUpdates server message.

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

17 years agoAdded incomplete documentation on RFB protocol extensions (version as of 2006/08...
Constantin Kaplinsky [Thu, 29 Mar 2007 11:31:21 +0000 (11:31 +0000)]
Added incomplete documentation on RFB protocol extensions (version as of 2006/08/07).

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

17 years agoAdded ScaleFilters::getFilterIdByName() method and defaultScaleFilter parameter.
george82 [Tue, 27 Mar 2007 14:48:24 +0000 (14:48 +0000)]
Added ScaleFilters::getFilterIdByName() method and defaultScaleFilter parameter.

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

17 years agoAdded the routines for manipulation the scale filter method. It allow change the
george82 [Tue, 20 Mar 2007 10:54:38 +0000 (10:54 +0000)]
Added the routines for manipulation the scale filter method. It allow change the
scale filter.

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

17 years agoBefore first use DesktopWindow::setSize() should set the toolbar status because
george82 [Tue, 20 Mar 2007 05:59:44 +0000 (05:59 +0000)]
Before first use DesktopWindow::setSize() should set the toolbar status because
it using in DesktopWindow::setSize(). It allow correct resize vncviwer desktop
window at run.

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

17 years agoDon't resize the maximized desktop window when vncviewer change the scale
george82 [Tue, 20 Mar 2007 04:31:32 +0000 (04:31 +0000)]
Don't resize the maximized desktop window when vncviewer change the scale
factor.

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

17 years agoAdded the implementation of cursor handling in the scaling mode.
george82 [Mon, 19 Mar 2007 10:55:13 +0000 (10:55 +0000)]
Added the implementation of cursor handling in the scaling mode.
Now cursor correct imaging in the scaling mode.

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

17 years agoFixed the small defect with refreshing the toolbar buttons (now always enable actual...
george82 [Mon, 12 Mar 2007 14:26:33 +0000 (14:26 +0000)]
Fixed the small defect with refreshing the toolbar buttons (now always enable actual size button when vncviewer works in the autoscaling mode).

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

17 years agoAuto scaling mode of the vncviewer make improved.
george82 [Mon, 12 Mar 2007 10:48:09 +0000 (10:48 +0000)]
Auto scaling mode of the vncviewer make improved.
In this mode scaling works against vncviewer window size
(instead scale factor).
Added ScaledDIBSectionBuffer::setScaleWindowSize() and
DesktopWindow::printScale() methods.

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

17 years agoFixed the bug with wrong desktop window size of the
george82 [Sat, 10 Mar 2007 12:49:34 +0000 (12:49 +0000)]
Fixed the bug with wrong desktop window size of the
vncviewer when it starts in the scaling mode.

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

17 years agoFixed the bug with crashing vncviewer when it works in the
george82 [Sat, 10 Mar 2007 08:55:35 +0000 (08:55 +0000)]
Fixed the bug with crashing vncviewer when it works in the
scaling mode and scale < 10%.
Scale part of vncviewer code improvements.

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

17 years agoNow the min desktop window size limit to the toolbar size.
george82 [Sat, 27 Jan 2007 15:48:25 +0000 (15:48 +0000)]
Now the min desktop window size limit to the toolbar size.
It makes managing of the vncviewer size more comfort.

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

17 years agoAdded DesktopWindow::resizeDesktopWindowToBuffer() method.
george82 [Sat, 27 Jan 2007 15:32:27 +0000 (15:32 +0000)]
Added DesktopWindow::resizeDesktopWindowToBuffer() method.
Now the Desktop Window resizes against the pixel buffer size
when the scale ratio changed.
This update fixes the bug with zero size of the desktop
window when it restore from minimized position.

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

17 years agoFixed the bug in ToolBar::getTotalWidth() method.
george82 [Sat, 27 Jan 2007 11:19:19 +0000 (11:19 +0000)]
Fixed the bug in ToolBar::getTotalWidth() method.

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

17 years agoAdded ToolBar::getTotalWidth(). It returns the total size
george82 [Sun, 10 Dec 2006 16:27:19 +0000 (16:27 +0000)]
Added ToolBar::getTotalWidth(). It returns the total size
of all buttons and separators in the toolbar.

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

17 years agoReverted the changes appeared in revisions 2173,2181. We better always send the ...
Constantin Kaplinsky [Fri, 8 Dec 2006 04:19:48 +0000 (04:19 +0000)]
Reverted the changes appeared in revisions 2173,2181. We better always send the "security result" message in the protocol version 3.8, even after an empty list of authentication capabilities.

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

17 years agoFixed unreasonably high CPU utilization in cases when new connection has
Constantin Kaplinsky [Tue, 5 Dec 2006 08:03:18 +0000 (08:03 +0000)]
Fixed unreasonably high CPU utilization in cases when new connection has
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

17 years agoCorrected support for TightVNC extensions - always sending authentication capability...
Constantin Kaplinsky [Tue, 5 Dec 2006 05:50:57 +0000 (05:50 +0000)]
Corrected support for TightVNC extensions - always sending authentication capability list even when authentication is not required. This may be incompatible with certain TightVNC viewers but this is the way to allow "no authentication" AND prompting local user to accept/reject incoming connection.

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

17 years agoReordered initializers in ScaledPixelBuffer constructors to eliminate compilation...
Constantin Kaplinsky [Tue, 5 Dec 2006 03:31:03 +0000 (03:31 +0000)]
Reordered initializers in ScaledPixelBuffer constructors to eliminate compilation warnings produced by gcc.

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

17 years agoUpdated make file for building under *nix.
Constantin Kaplinsky [Tue, 5 Dec 2006 03:30:18 +0000 (03:30 +0000)]
Updated make file for building under *nix.

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

17 years agoImproved the performance of the remote desktop scaling.
george82 [Mon, 4 Dec 2006 16:35:56 +0000 (16:35 +0000)]
Improved the performance of the remote desktop scaling.

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

17 years agoFixed the bug with wrong weight table for y coords.
george82 [Mon, 4 Dec 2006 15:49:41 +0000 (15:49 +0000)]
Fixed the bug with wrong weight table for y coords.

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

17 years agoA FIXME comment: TightVNC extensions support is not finished yet.
Constantin Kaplinsky [Mon, 4 Dec 2006 11:23:45 +0000 (11:23 +0000)]
A FIXME comment: TightVNC extensions support is not finished yet.

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

17 years agoSet the default scaled filter to bicubic.
george82 [Sun, 3 Dec 2006 17:42:59 +0000 (17:42 +0000)]
Set the default scaled filter to bicubic.

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

17 years agoSet the default scaled filter to bilinear.
george82 [Sun, 3 Dec 2006 17:36:47 +0000 (17:36 +0000)]
Set the default scaled filter to bilinear.

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

17 years agoModified ScaledPixelBuffer::calculateScaleBoundary() in
george82 [Sun, 3 Dec 2006 17:31:39 +0000 (17:31 +0000)]
Modified ScaledPixelBuffer::calculateScaleBoundary() in
compliance with any scaled filters.

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

17 years agoFixed the bug with very low quality of the remote desktop
george82 [Sun, 3 Dec 2006 12:46:54 +0000 (12:46 +0000)]
Fixed the bug with very low quality of the remote desktop
scaling.

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

17 years agoReporting build time in x0vncserver usage.
Constantin Kaplinsky [Fri, 1 Dec 2006 10:54:55 +0000 (10:54 +0000)]
Reporting build time in x0vncserver usage.

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

18 years agoUpdated the comments.
george82 [Sun, 26 Nov 2006 11:21:02 +0000 (11:21 +0000)]
Updated the comments.

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

18 years agoAdded support all true color pixel format for scaling the
george82 [Sun, 26 Nov 2006 11:18:38 +0000 (11:18 +0000)]
Added support all true color pixel format for scaling the
remote desktop. Palette is not supported yet.

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

18 years agoImproved the performance of the scaling algorithm too
george82 [Thu, 23 Nov 2006 10:12:50 +0000 (10:12 +0000)]
Improved the performance of the scaling algorithm too
much.

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

18 years agoRemoved the unnecessary variables.
george82 [Mon, 20 Nov 2006 16:05:27 +0000 (16:05 +0000)]
Removed the unnecessary variables.

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

18 years agoNow ScaledPixelBuffer class using the weighting tabs for
george82 [Mon, 20 Nov 2006 15:55:05 +0000 (15:55 +0000)]
Now ScaledPixelBuffer class using the weighting tabs for
scaling. Maked ScaledPixelBuffer class code independent
from the scaling filter.

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

18 years agoFixed the small bugs with the makeWeightTabs function.
george82 [Mon, 20 Nov 2006 15:37:33 +0000 (15:37 +0000)]
Fixed the small bugs with the makeWeightTabs function.
makeWeightTabs must work with the pointer to weightTabs.

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

18 years agoFixed the checking for the scale filter index.
george82 [Mon, 20 Nov 2006 15:14:07 +0000 (15:14 +0000)]
Fixed the checking for the scale filter index.

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