]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
19 years agoFixed a compilation problem caused by including winsock2.h after windows.h.
Constantin Kaplinsky [Wed, 28 Sep 2005 16:46:56 +0000 (16:46 +0000)]
Fixed a compilation problem caused by including winsock2.h after windows.h.

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

19 years agoRemoved files from the project.
Constantin Kaplinsky [Wed, 28 Sep 2005 16:45:25 +0000 (16:45 +0000)]
Removed files from the project.

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

19 years agoTight encoder's configuration tuning.
Constantin Kaplinsky [Wed, 28 Sep 2005 15:55:49 +0000 (15:55 +0000)]
Tight encoder's configuration tuning.

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

19 years agoImplemented support for changing zlib compression levels from the
Constantin Kaplinsky [Wed, 28 Sep 2005 13:11:38 +0000 (13:11 +0000)]
Implemented support for changing zlib compression levels from the
Tight encoder.

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

19 years agoMerged the rdr library with VNC 4.1.1.
Constantin Kaplinsky [Wed, 28 Sep 2005 10:37:29 +0000 (10:37 +0000)]
Merged the rdr library with VNC 4.1.1.

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

19 years agoImproved configuration of the Tight encoder.
Constantin Kaplinsky [Wed, 28 Sep 2005 07:31:52 +0000 (07:31 +0000)]
Improved configuration of the Tight encoder.

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

19 years agoFixed a bug with wrong encoding number for
Constantin Kaplinsky [Tue, 27 Sep 2005 19:03:13 +0000 (19:03 +0000)]
Fixed a bug with wrong encoding number for
pseudoEncodingCompressLevel9.

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

19 years agoRemoved the code that prevented colorful rectangles from being encoded
Constantin Kaplinsky [Tue, 27 Sep 2005 18:31:43 +0000 (18:31 +0000)]
Removed the code that prevented colorful rectangles from being encoded
with JPEG. The code was introduced to solve the issue with notable
"JPEG trails" when moving windows, but it looks like it prevents too
many rectangles from being encoded with JPEG.

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

19 years agoSet the ImprovedHextile parameter to true by default, as new Hextile
Constantin Kaplinsky [Tue, 27 Sep 2005 18:26:16 +0000 (18:26 +0000)]
Set the ImprovedHextile parameter to true by default, as new Hextile
encoder seems to be fast enough after recent optimizations.

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

19 years agoRemoved unused argument of a function.
Constantin Kaplinsky [Thu, 22 Sep 2005 05:38:56 +0000 (05:38 +0000)]
Removed unused argument of a function.

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

19 years agoOptimized the code that analyzes the tile contents.
Constantin Kaplinsky [Thu, 22 Sep 2005 04:10:07 +0000 (04:10 +0000)]
Optimized the code that analyzes the tile contents.

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

19 years agoAdded new files to the project.
Constantin Kaplinsky [Thu, 22 Sep 2005 01:37:53 +0000 (01:37 +0000)]
Added new files to the project.

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

19 years agoLimiting maximum number of palette colors in the Hextile encoder. On
Constantin Kaplinsky [Thu, 22 Sep 2005 01:27:08 +0000 (01:27 +0000)]
Limiting maximum number of palette colors in the Hextile encoder. On
very complex images, that significantly improves performance while
only slightly increases encoded data sizes.

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

19 years agoUsing new TightPalette helper class instead of std::map, in Hextile
Constantin Kaplinsky [Thu, 22 Sep 2005 00:59:47 +0000 (00:59 +0000)]
Using new TightPalette helper class instead of std::map, in Hextile
encoder. This improves performance of the encoder, and provides more
space for optimizations. The palette implementation was extracted from
the Tight encoder.

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

19 years agoUpdated buffer size in ZRLE encoder, fix copied from VNC 4.1.1.
Constantin Kaplinsky [Wed, 21 Sep 2005 06:57:52 +0000 (06:57 +0000)]
Updated buffer size in ZRLE encoder, fix copied from VNC 4.1.1.

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

19 years agoCode improvements in new Hextile encoder.
Constantin Kaplinsky [Fri, 16 Sep 2005 13:59:29 +0000 (13:59 +0000)]
Code improvements in new Hextile encoder.

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

19 years agoChanges in comments only -- C-style comments have been replaced with
Constantin Kaplinsky [Fri, 16 Sep 2005 07:46:16 +0000 (07:46 +0000)]
Changes in comments only -- C-style comments have been replaced with
C++ comments.

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

19 years agoCode optimizations in the old version of the Hextile encoder. The
Constantin Kaplinsky [Wed, 14 Sep 2005 19:58:52 +0000 (19:58 +0000)]
Code optimizations in the old version of the Hextile encoder. The
hextileTestTileType* function has been optimized using GNU profiler.

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

19 years agoCPU load monitoring has been implemented in x0vncserver. CPU load
Constantin Kaplinsky [Wed, 14 Sep 2005 16:11:41 +0000 (16:11 +0000)]
CPU load monitoring has been implemented in x0vncserver. CPU load
setting defaults to 35% but can be adjusted with new
-MaxProcessorUsage parameter.

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

19 years agoRemoved the FdOutStream::writeBytes() implementation as the same
Constantin Kaplinsky [Tue, 13 Sep 2005 18:34:13 +0000 (18:34 +0000)]
Removed the FdOutStream::writeBytes() implementation as the same
method of the parent class seems to do the work better. The function
can flush buffered data even if there were only a few bytes in the
buffer. That results in sending packets with just 1 byte of data,
while encoding data with 32-bit Hextile.

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

19 years agoAdded boolean parameter "ImprovedHextile" which allows to use new
Constantin Kaplinsky [Fri, 9 Sep 2005 21:26:21 +0000 (21:26 +0000)]
Added boolean parameter "ImprovedHextile" which allows to use new
Hextile encoding algorithm. The old algorithm is used by default,
excluding 8-bit data on which new algorithm is used regardless of this
parameter's value.

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

19 years agoCode improvements in the HextileSubrectsTable classes implementation.
Constantin Kaplinsky [Fri, 9 Sep 2005 20:05:22 +0000 (20:05 +0000)]
Code improvements in the HextileSubrectsTable classes implementation.

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

19 years agoAnother optimization in new Hextile encoder. Reorganized code to
Constantin Kaplinsky [Fri, 9 Sep 2005 20:01:05 +0000 (20:01 +0000)]
Another optimization in new Hextile encoder. Reorganized code to
choose background/foreground colors more efficiently.

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

19 years agoMinor optimization in new Hextile encoder. Values in m_counts map were
Constantin Kaplinsky [Fri, 9 Sep 2005 19:57:49 +0000 (19:57 +0000)]
Minor optimization in new Hextile encoder. Values in m_counts map were
made short instead of int.

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

19 years agoAdded completely rewritten implementation of the Hextile encoder. It
Constantin Kaplinsky [Fri, 9 Sep 2005 19:52:17 +0000 (19:52 +0000)]
Added completely rewritten implementation of the Hextile encoder. It
achieves better compression ratios, but may use more CPU on complex
images.

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

19 years agoUpdated configure.in to include more platform-dependent checks and set
Constantin Kaplinsky [Fri, 9 Sep 2005 12:17:32 +0000 (12:17 +0000)]
Updated configure.in to include more platform-dependent checks and set
variables affecting x0vncserver. Now x0vncserver seems to work as
reliable as one from outdated "tightvnc-unix" module, and includes all
the same features.

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

19 years agoFixed a problem with crashing on select() returning EINTR error.
Constantin Kaplinsky [Fri, 9 Sep 2005 08:32:02 +0000 (08:32 +0000)]
Fixed a problem with crashing on select() returning EINTR error.

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

19 years agoFixed a bug with sending colors for zero-size cursors, in XCursor
Constantin Kaplinsky [Fri, 9 Sep 2005 07:19:07 +0000 (07:19 +0000)]
Fixed a bug with sending colors for zero-size cursors, in XCursor
pseudo-encoding.

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

19 years agoUpdated x0vncserver to the latest version from the "tightvnc-unix"
Constantin Kaplinsky [Thu, 8 Sep 2005 19:29:02 +0000 (19:29 +0000)]
Updated x0vncserver to the latest version from the "tightvnc-unix"
module. It includes support for overlay extensions under IRIX and
Solaris, MIT-SHM support, much improved polling algorithm and support
for IP filtering on accepting connections. However, current version
does not seem stable when linked with this codebase -- it is not
compatible with 1.3dev5 viewers for some reasons, and crashes on
"select: interrupted system call" from time to time. Also, the
"configure" script is not yet updated to enable certain features of
this version.

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

19 years agoRemoved the ToolBar part from rfbplayer.cxx and rfbplayer.h files.
george82 [Sun, 4 Sep 2005 10:41:50 +0000 (10:41 +0000)]
Removed the ToolBar part from rfbplayer.cxx and rfbplayer.h files.
Now there are all toolbar's routines in the PlayerToolBar class.

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

19 years agoAdded PlayerToolBar class implementation.
george82 [Sun, 4 Sep 2005 10:36:13 +0000 (10:36 +0000)]
Added PlayerToolBar class implementation.

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

19 years agoFixed a bug in the Hextile encoder. This bug made the encoder produce
Constantin Kaplinsky [Mon, 29 Aug 2005 10:44:57 +0000 (10:44 +0000)]
Fixed a bug in the Hextile encoder. This bug made the encoder produce
more data than needed, thus affecting compression efficiency.

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

19 years agoUpdated vncHooksComposite, to fix additional RENDER problems. It's not
Peter Åstrand [Wed, 17 Aug 2005 08:33:29 +0000 (08:33 +0000)]
Updated vncHooksComposite, to fix additional RENDER problems. It's not
enough to check that xDst/yDst is greater than zero: we must take
greater care not to add change regions that are fully or partially
outside the framebuffer.

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

19 years agoPrefer ZRLE over Tight. ZRLE is actually faster in most cases. Also, the Tight server...
Peter Åstrand [Thu, 11 Aug 2005 09:01:31 +0000 (09:01 +0000)]
Prefer ZRLE over Tight. ZRLE is actually faster in most cases. Also, the Tight server encoder in 1.5 is far from finished.

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

19 years agoModifications for DETECT_SMOOTH_IMAGE:
Peter Åstrand [Wed, 10 Aug 2005 14:13:06 +0000 (14:13 +0000)]
Modifications for DETECT_SMOOTH_IMAGE:
Code to prevent jpeg on images with vertical or horizontal
outer-bands with the same color, such as updates in response to window
moves. Without this code, window movements leaves dark "trails".

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

19 years agoToolBar class must be in rfb::win32 namespace.
george82 [Thu, 28 Jul 2005 07:04:23 +0000 (07:04 +0000)]
ToolBar class must be in rfb::win32 namespace.

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

19 years agoAdded ToolBar.cxx and ToolBar.h to the rfb_win32 project.
george82 [Wed, 27 Jul 2005 17:16:32 +0000 (17:16 +0000)]
Added ToolBar.cxx and ToolBar.h to the rfb_win32 project.

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

19 years agoAdded ToolBar class implementation to the rfb_win32 library.
george82 [Tue, 26 Jul 2005 10:22:56 +0000 (10:22 +0000)]
Added ToolBar class implementation to the rfb_win32 library.

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

19 years agoMinor code improving.
Oleg Sheikin [Fri, 1 Jul 2005 13:31:14 +0000 (13:31 +0000)]
Minor code improving.

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

19 years agoClass ListViewControlCon is added in library rfb_win32.
Oleg Sheikin [Fri, 1 Jul 2005 12:41:15 +0000 (12:41 +0000)]
Class ListViewControlCon is added in library rfb_win32.
Class ControlPanel is added in the project winvnc.

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

19 years agoComment out calls to removeNonAsciiChars. This makes it possible to
Peter Åstrand [Mon, 27 Jun 2005 11:25:10 +0000 (11:25 +0000)]
Comment out calls to removeNonAsciiChars. This makes it possible to
copy-paste non-ascii characters.

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

19 years agoIf pixelFormatDefined, change masks and offsets for all visuals; not
Peter Åstrand [Tue, 21 Jun 2005 14:04:43 +0000 (14:04 +0000)]
If pixelFormatDefined, change masks and offsets for all visuals; not
just the rootVisual. This fixes several OpenGL problems in depth 16.

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

19 years agoChange timeStatic, speedStatic, speedEdit control font to the default
george82 [Sun, 17 Apr 2005 17:21:36 +0000 (17:21 +0000)]
Change timeStatic, speedStatic, speedEdit control font to the default
windows main menu font.

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

19 years agoAdded ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
george82 [Sun, 17 Apr 2005 12:07:39 +0000 (12:07 +0000)]
Added ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
Modifed ToolBar::autoSize().
If toolbar has CCS_NORESIZE style, then autoSize() resizes toolbar itself
else it resizes by TB_AUTOSIZE message.

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

19 years agoRemoved CTRL_BAR_HEIGHT constant.
george82 [Sun, 17 Apr 2005 12:01:48 +0000 (12:01 +0000)]
Removed CTRL_BAR_HEIGHT constant.
Align toolbar buttons by toolbar height.

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

19 years agoAdded ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
george82 [Sun, 17 Apr 2005 11:58:47 +0000 (11:58 +0000)]
Added ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
Modifed ToolBar::autoSize().
If toolbar has CCS_NORESIZE style, then autoSize() resizes toolbar itself
else it resizes by TB_AUTOSIZE message.

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

19 years agoAdded ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
george82 [Sun, 17 Apr 2005 11:54:31 +0000 (11:54 +0000)]
Added ToolBar::getButtonsWidth(), ToolBar::getButtonsHeight().
Modifed ToolBar::autoSize().
If toolbar has CCS_NORESIZE style, then autoSize() resizes toolbar itself
else it resizes by TB_AUTOSIZE message.

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

19 years agoRemoved the "Full Screen" button from the toolbar.
george82 [Sun, 17 Apr 2005 02:21:00 +0000 (02:21 +0000)]
Removed the "Full Screen" button from the toolbar.

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

19 years agoOptions moved to Play -> Options... menu item.
george82 [Sun, 17 Apr 2005 02:12:32 +0000 (02:12 +0000)]
Options moved to Play -> Options... menu item.

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

19 years agoRemoved checks "play/pause" and "stop" menu items.
george82 [Wed, 13 Apr 2005 13:05:53 +0000 (13:05 +0000)]
Removed checks "play/pause" and "stop" menu items.

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

19 years agoAdded the command-line parameter "-loop".
george82 [Wed, 13 Apr 2005 12:56:15 +0000 (12:56 +0000)]
Added the command-line parameter "-loop".

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

19 years agoAdded the SessionInfoDialog dialog, wich is used to show the session
george82 [Wed, 13 Apr 2005 12:46:25 +0000 (12:46 +0000)]
Added the SessionInfoDialog dialog, wich is used to show the session
information.

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

19 years agoEnable the big-endian flag when user press the "default" button on the
george82 [Mon, 11 Apr 2005 15:34:57 +0000 (15:34 +0000)]
Enable the big-endian flag when user press the "default" button on the
player options dialog.

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

19 years agoCheck the filename when reading the command-line parameters.
george82 [Mon, 11 Apr 2005 15:25:36 +0000 (15:25 +0000)]
Check the filename when reading the command-line parameters.
(rfbplaer -xxx  = wrong param)

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

19 years agoAdded *.fbs to the file filter in the open file dialog.
george82 [Mon, 11 Apr 2005 15:07:13 +0000 (15:07 +0000)]
Added *.fbs to the file filter in the open file dialog.

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

19 years agoReworked last patch: Call the original Composite procedure, even
Peter Åstrand [Thu, 31 Mar 2005 15:13:41 +0000 (15:13 +0000)]
Reworked last patch: Call the original Composite procedure, even
though xDst or yDst is negative.

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

19 years agoCorrection for graphics problem when using RENDER: Sometimes,
Peter Åstrand [Thu, 31 Mar 2005 11:27:37 +0000 (11:27 +0000)]
Correction for graphics problem when using RENDER: Sometimes,
horizontal bands of distorted pixel data is displayed. This has only
been observed in the GNOME environment, and seems to be caused by
vncHooksComposite being called with a negative xDst argument. The fix
is simple: When this happens, return.

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

19 years agoFixed the bug with resetting the player options (pixelFormatIndex) to defaults.
george82 [Tue, 29 Mar 2005 15:24:08 +0000 (15:24 +0000)]
Fixed the bug with resetting the player options (pixelFormatIndex) to defaults.

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

19 years agoImplemented "Home page" the menu point.
george82 [Tue, 29 Mar 2005 15:05:57 +0000 (15:05 +0000)]
Implemented "Home page" the menu point.

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

19 years agoFixed the bug with wrong detection the session pixel format when
george82 [Tue, 29 Mar 2005 13:02:21 +0000 (13:02 +0000)]
Fixed the bug with wrong detection the session pixel format when
application run with command line parameters.

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

19 years agoRemoved the unworked items from the main menu.
george82 [Tue, 29 Mar 2005 12:08:52 +0000 (12:08 +0000)]
Removed the unworked items from the main menu.

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

19 years agoRemoved the unnecessary option "Auto store player settings"
george82 [Tue, 29 Mar 2005 12:03:32 +0000 (12:03 +0000)]
Removed the unnecessary option "Auto store player settings"
from OptionsDialog dialog.

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

19 years agoThe usage information window must be a modal dialog.
george82 [Tue, 29 Mar 2005 11:59:35 +0000 (11:59 +0000)]
The usage information window must be a modal dialog.

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

19 years agoShow the program usage and the command-line parameters
george82 [Mon, 28 Mar 2005 15:53:45 +0000 (15:53 +0000)]
Show the program usage and the command-line parameters
in the information dialog.

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

19 years agoAdded InfoDialog dialog. It is used to display an information.
george82 [Mon, 28 Mar 2005 15:52:13 +0000 (15:52 +0000)]
Added InfoDialog dialog. It is used to display an information.

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

19 years agoAdded Advapi32.lib for linking in the release configuration of player.
george82 [Mon, 28 Mar 2005 12:47:44 +0000 (12:47 +0000)]
Added Advapi32.lib for linking in the release configuration of player.

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

19 years agoImplemented the "-upf" command-line parameter. It allows to forces the user
george82 [Mon, 28 Mar 2005 12:16:08 +0000 (12:16 +0000)]
Implemented the "-upf" command-line parameter. It allows to forces the user
defined pixel format for the session.

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

19 years agoImplemented the possibility to add the user defined pixel formats.
george82 [Mon, 28 Mar 2005 12:07:31 +0000 (12:07 +0000)]
Implemented the possibility to add the user defined pixel formats.

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

19 years agoPixelFormatList::operator[] must return the pointer to
george82 [Mon, 28 Mar 2005 12:02:32 +0000 (12:02 +0000)]
PixelFormatList::operator[] must return the pointer to
PixelFormatListElement structure.

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

19 years agoAdded the EditPixelFormatDialog dialog. It allows change or add new
george82 [Sun, 27 Mar 2005 11:32:01 +0000 (11:32 +0000)]
Added the EditPixelFormatDialog dialog. It allows change or add new
the user definded pixel format.

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

19 years agoAdded UserPixelFormatsDialog.
george82 [Sat, 26 Mar 2005 11:12:25 +0000 (11:12 +0000)]
Added UserPixelFormatsDialog.
It allows user to define the user pixel formats.
Now "Edit User PF" button on Options Dialog is working.

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

19 years agoAdded new button "Edit User PF" to OptionsDialog.
george82 [Sat, 26 Mar 2005 09:16:54 +0000 (09:16 +0000)]
Added new button "Edit User PF" to OptionsDialog.

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

19 years agoCheck bit-per-pixel when the pixel format assign from the command line.
george82 [Tue, 22 Mar 2005 15:02:39 +0000 (15:02 +0000)]
Check bit-per-pixel when the pixel format assign from the command line.
It must <= 32 bits.

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

19 years agoImplemented support all pixel formats when player run with command line
george82 [Mon, 21 Mar 2005 18:26:50 +0000 (18:26 +0000)]
Implemented support all pixel formats when player run with command line
parameter "-pf".
Usage:
-pf r<r_bits>g<g_bits>b<b_bits>[le|be]

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

19 years agoAdded about dialog to the player.
george82 [Mon, 21 Mar 2005 01:28:12 +0000 (01:28 +0000)]
Added about dialog to the player.

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

19 years agoAdded big-endian-flag option to the ChoosePixelFormatDialog dialog.
george82 [Sun, 20 Mar 2005 12:52:46 +0000 (12:52 +0000)]
Added big-endian-flag option to the ChoosePixelFormatDialog dialog.
Finished big-endian-flag support in the player.

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

19 years agoAdded bigEndian flag support to Options dialog.
george82 [Sun, 20 Mar 2005 12:01:54 +0000 (12:01 +0000)]
Added bigEndian flag support to Options dialog.

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

19 years agoAdded new property bigEndianFlag to PlayerOptions class.
george82 [Sun, 20 Mar 2005 11:38:12 +0000 (11:38 +0000)]
Added new property bigEndianFlag to PlayerOptions class.

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

19 years agoDEFAULT_PF_INDEX must equal -1.
george82 [Sun, 20 Mar 2005 10:14:50 +0000 (10:14 +0000)]
DEFAULT_PF_INDEX must equal -1.

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

19 years agoNow in RfbPlayer::serverInit() pixel format chooses from supportedPF list.
george82 [Sun, 20 Mar 2005 09:56:17 +0000 (09:56 +0000)]
Now in RfbPlayer::serverInit() pixel format chooses from supportedPF list.

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

19 years agoAdded new property autoDetectPF to PlayerOptions class.
george82 [Sun, 20 Mar 2005 09:50:09 +0000 (09:50 +0000)]
Added new property autoDetectPF to PlayerOptions class.

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

19 years agoNow OptionsDialog allow the user to choose the pixel format
george82 [Sun, 20 Mar 2005 09:47:56 +0000 (09:47 +0000)]
Now OptionsDialog allow the user to choose the pixel format
from supported pixel formats list wich consist of default pixel formats
and user defined pixel formats.

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

19 years agoNow ChoosePixelFormatDialog allow the user to choose the pixel format
george82 [Sun, 20 Mar 2005 09:46:44 +0000 (09:46 +0000)]
Now ChoosePixelFormatDialog allow the user to choose the pixel format
from supported pixel formats list wich consist of default pixel formats
and user defined pixel formats.

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

19 years agoFixed the bug with crashes the player when user clicked
george82 [Sat, 19 Mar 2005 11:48:19 +0000 (11:48 +0000)]
Fixed the bug with crashes the player when user clicked
on the frame window.

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

19 years agoSet pixelFormat to the value wich read from the registry.
george82 [Sat, 19 Mar 2005 11:27:29 +0000 (11:27 +0000)]
Set pixelFormat to the value wich read from the registry.

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

19 years agoPlayerOptions::pixelFormat changed to pixelFormatIndex.
george82 [Sat, 19 Mar 2005 11:19:00 +0000 (11:19 +0000)]
PlayerOptions::pixelFormat changed to pixelFormatIndex.
Added new property pixelFormat to PlayerOptions class.
Added supportedPF to RfbPlayer class.

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

19 years agoFinished PixelFormatList class implementation.
george82 [Sat, 19 Mar 2005 08:45:45 +0000 (08:45 +0000)]
Finished PixelFormatList class implementation.
Added these methods:
  readUserDefinedPF();
  writeUserDefinedPF();
  getDefaultPFCount();
  getUserPFCount();
  getIndexByPFName();
  isDefaultPF();

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

19 years agoRemoved the unnecessary file (utils.h).
george82 [Thu, 17 Mar 2005 17:44:48 +0000 (17:44 +0000)]
Removed the unnecessary file (utils.h).

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

19 years agoAdded PixelFormatList class implementation.
george82 [Thu, 17 Mar 2005 17:37:15 +0000 (17:37 +0000)]
Added PixelFormatList class implementation.
It is responsible for controlling the list of supported pixel formats.

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

19 years agoAdded PlayerOptions::setPF(). This function calculates all PixelFormat
george82 [Wed, 16 Mar 2005 16:07:47 +0000 (16:07 +0000)]
Added PlayerOptions::setPF(). This function calculates all PixelFormat
struct properties by rgb order, rm, gm, bm.

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

19 years agoChanged the possibility to play/pause the rfb session
george82 [Wed, 16 Mar 2005 13:48:59 +0000 (13:48 +0000)]
Changed the possibility to play/pause the rfb session
from the right mouse button to the left button.

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

19 years agoAdded the possibility to play/pause the rfb session
george82 [Wed, 16 Mar 2005 12:36:53 +0000 (12:36 +0000)]
Added the possibility to play/pause the rfb session
by the right mouse button.

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

19 years agoAdded the possibility to change the time position in the time trackbar
george82 [Tue, 15 Mar 2005 17:11:40 +0000 (17:11 +0000)]
Added the possibility to change the time position in the time trackbar
by mouse wheel.

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

19 years agoFixed the bug with wrong window resizing when user maximezes
george82 [Tue, 15 Mar 2005 16:34:57 +0000 (16:34 +0000)]
Fixed the bug with wrong window resizing when user maximezes
the main window.

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

19 years agoChoosePixelFormatDialog, OptionsDialog and GotoPosDialog must have
george82 [Fri, 11 Mar 2005 14:22:14 +0000 (14:22 +0000)]
ChoosePixelFormatDialog, OptionsDialog and GotoPosDialog must have
a parent window (player's main window).

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

19 years agoTerminate the session playback if the exception was cathed while the
george82 [Thu, 10 Mar 2005 18:18:34 +0000 (18:18 +0000)]
Terminate the session playback if the exception was cathed while the
rfb data was reading.

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

19 years agoClose the session playback if the user presses the cancel button
george82 [Thu, 10 Mar 2005 18:03:27 +0000 (18:03 +0000)]
Close the session playback if the user presses the cancel button
on ChoosePixelFormatDialog dialog.

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

19 years agoAdded the sessionTerminateThread class implementation, which allow
george82 [Thu, 10 Mar 2005 18:00:41 +0000 (18:00 +0000)]
Added the sessionTerminateThread class implementation, which allow
the rfbSessionReader class terminate itself.

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

19 years agoDo not translate mouse buttons according to the server map; treat VNC mouse buttons...
Peter Åstrand [Thu, 10 Mar 2005 14:45:22 +0000 (14:45 +0000)]
Do not translate mouse buttons according to the server map; treat VNC mouse buttons as logical buttons. This solves the problem with LeftHanded+LeftHanded=RightHanded, and is also much more in line with the keyboard handling: After all, keysyms are logical.

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

19 years ago1. Added PlayerOptions class for managing the player options.
george82 [Thu, 10 Mar 2005 14:26:00 +0000 (14:26 +0000)]
1. Added PlayerOptions class for managing the player options.
2. Added OptionsDialog.
3. Added ChoosePixelFormatDialog class. It is used for choosing the pixel
format before the session playing.
4. Code improvements.

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