]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
22 years agoCode cleanups.
Constantin Kaplinsky [Thu, 30 May 2002 17:59:22 +0000 (17:59 +0000)]
Code cleanups.

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

22 years agoCode re-organization to make it easier implement backward seeking.
Constantin Kaplinsky [Thu, 30 May 2002 17:30:11 +0000 (17:30 +0000)]
Code re-organization to make it easier implement backward seeking.

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

22 years agoImplemented new "Speed" parameter which allows to set initial playback
Constantin Kaplinsky [Thu, 30 May 2002 16:19:11 +0000 (16:19 +0000)]
Implemented new "Speed" parameter which allows to set initial playback
speed.

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

22 years agoImplemented variable playback speed, adjustable using a text field.
Constantin Kaplinsky [Thu, 30 May 2002 15:54:56 +0000 (15:54 +0000)]
Implemented variable playback speed, adjustable using a text field.

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

22 years agoAdded support for new "Position" parameter.
Constantin Kaplinsky [Thu, 30 May 2002 14:19:02 +0000 (14:19 +0000)]
Added support for new "Position" parameter.
Fixed a NullPointerException with "Show Controls"="no".
Documented all supported parameters.

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

22 years agoImplemented seeking to an arbitrary time point in the session file.
Constantin Kaplinsky [Thu, 30 May 2002 13:26:34 +0000 (13:26 +0000)]
Implemented seeking to an arbitrary time point in the session file.

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

22 years agoIt was not necessary to remember time when the playback was paused.
Constantin Kaplinsky [Thu, 30 May 2002 12:23:25 +0000 (12:23 +0000)]
It was not necessary to remember time when the playback was paused.

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

22 years agoChanges in architecture to support pausing in the FbsInputStream
Constantin Kaplinsky [Wed, 29 May 2002 17:05:39 +0000 (17:05 +0000)]
Changes in architecture to support pausing in the FbsInputStream
instead of using VncCanvas for that. RfbPlayer does not need to
remember current state any more. Play/Stop button removed. Added a
field to set playback speed, non-working yet.

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

22 years agoMade the position field editable in paused and stopped modes.
Constantin Kaplinsky [Wed, 29 May 2002 10:59:52 +0000 (10:59 +0000)]
Made the position field editable in paused and stopped modes.
Preparing for implementation of seeking to an arbitrary point.

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

22 years agoText field in the ButtonPanel to show current time offset in seconds.
Constantin Kaplinsky [Wed, 29 May 2002 00:52:32 +0000 (00:52 +0000)]
Text field in the ButtonPanel to show current time offset in seconds.

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

22 years agoHTTP access to session files implemented.
Constantin Kaplinsky [Sat, 25 May 2002 09:49:23 +0000 (09:49 +0000)]
HTTP access to session files implemented.

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

22 years agoShort note on usage.
Constantin Kaplinsky [Mon, 20 May 2002 14:09:49 +0000 (14:09 +0000)]
Short note on usage.

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

22 years agoCleanups in color processing.
Constantin Kaplinsky [Mon, 20 May 2002 13:33:46 +0000 (13:33 +0000)]
Cleanups in color processing.

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

22 years agoFixed pixel format to make it compatible with VNC Reflector, for
Constantin Kaplinsky [Mon, 20 May 2002 13:10:44 +0000 (13:10 +0000)]
Fixed pixel format to make it compatible with VNC Reflector, for
RRE and CoRRE encodings.

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

22 years agoFixed pixel format to make it compatible with VNC Reflector, for
Constantin Kaplinsky [Mon, 20 May 2002 13:06:33 +0000 (13:06 +0000)]
Fixed pixel format to make it compatible with VNC Reflector, for
Raw, Hextile and Zlib encodings.

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

22 years agoThrowing Exception instead of IOException on non-I/O error.
Constantin Kaplinsky [Mon, 20 May 2002 13:05:42 +0000 (13:05 +0000)]
Throwing Exception instead of IOException on non-I/O error.

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

22 years agoPreliminary version of RFB Session Player converted from TightVNC Java
Constantin Kaplinsky [Mon, 20 May 2002 10:55:47 +0000 (10:55 +0000)]
Preliminary version of RFB Session Player converted from TightVNC Java
viewer sources.

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

16 years agoRenaming the file to preserve its history.
Constantin Kaplinsky [Mon, 21 Apr 2008 05:00:39 +0000 (05:00 +0000)]
Renaming the file to preserve its history.

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

16 years agoCopying old Java Viewer source where RfbPlayer development had originated.
Constantin Kaplinsky [Fri, 18 Apr 2008 09:51:44 +0000 (09:51 +0000)]
Copying old Java Viewer source where RfbPlayer development had originated.

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

16 years agoBugfix: VncCanvas2 class could not be found because of the recent package name change.
Constantin Kaplinsky [Mon, 14 Apr 2008 14:27:03 +0000 (14:27 +0000)]
Bugfix: VncCanvas2 class could not be found because of the recent package name change.

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

16 years agoUsing package name com.tightvnc.vncviewer.
Constantin Kaplinsky [Mon, 14 Apr 2008 09:45:50 +0000 (09:45 +0000)]
Using package name com.tightvnc.vncviewer.

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

16 years agoMoved the Java Viewer source into the proper location.
Constantin Kaplinsky [Mon, 14 Apr 2008 09:13:14 +0000 (09:13 +0000)]
Moved the Java Viewer source into the proper location.

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

16 years agoCreated one more directory level.
Constantin Kaplinsky [Mon, 14 Apr 2008 09:09:16 +0000 (09:09 +0000)]
Created one more directory level.

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

16 years agoTightVNC Java Viewer source copied to trunk from its old location under orig/trunk.
Constantin Kaplinsky [Mon, 14 Apr 2008 08:02:25 +0000 (08:02 +0000)]
TightVNC Java Viewer source copied to trunk from its old location under orig/trunk.

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

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