]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
16 years ago[Bugfix] If JpegCompressor could not compress the data, it did switch to StandardJpeg...
Constantin Kaplinsky [Wed, 3 Sep 2008 05:52:35 +0000 (05:52 +0000)]
[Bugfix] If JpegCompressor could not compress the data, it did switch to StandardJpegCompressor but did not actually try to compress the same data once again. That caused sending a zero-size JPEG data block to the client.

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

16 years ago[Bugfix, cleanups] All the remaining problems with video rectangle selection coordina...
Constantin Kaplinsky [Wed, 3 Sep 2008 04:51:28 +0000 (04:51 +0000)]
[Bugfix, cleanups] All the remaining problems with video rectangle selection coordinates seem to be fixed now. Now the selection rectangle should always be a multiple of 16x8 pixels and its coordinates should always fit the framebuffer. The code of VncCanvas.getSelection(boolean) looks much better now.

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

16 years ago[Bugfix] Selection grew incorrectly when it passed left or upper boundary of the...
Constantin Kaplinsky [Wed, 3 Sep 2008 03:37:28 +0000 (03:37 +0000)]
[Bugfix] Selection grew incorrectly when it passed left or upper boundary of the framebuffer.

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

16 years ago[Bugfix] Make sure the video selection is always a multiple of 16x8 pixels. Previousl...
Constantin Kaplinsky [Wed, 3 Sep 2008 03:12:18 +0000 (03:12 +0000)]
[Bugfix] Make sure the video selection is always a multiple of 16x8 pixels. Previously, the selection could cross the framebuffer boundaries and clipping it back to screen could break 16x8 alignment.

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

16 years ago[Bugfix] Geometry::getVideoRect() should return coordinates relative to the
Constantin Kaplinsky [Tue, 2 Sep 2008 10:33:23 +0000 (10:33 +0000)]
[Bugfix] Geometry::getVideoRect() should return coordinates relative to the
framebuffer shown to RFB clients. Previously, it returned absolute screen
coordinates so that the origin of video area could be displaced.

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

16 years ago[Bugfix] Fixed a problem with overloading x0vncserver by update requests, when video...
Constantin Kaplinsky [Fri, 29 Aug 2008 11:33:46 +0000 (11:33 +0000)]
[Bugfix] Fixed a problem with overloading x0vncserver by update requests, when video area is selected.

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

16 years agoRussian translation converted to UTF-8 and added to the LINGUAS file.
Constantin Kaplinsky [Thu, 21 Aug 2008 06:05:26 +0000 (06:05 +0000)]
Russian translation converted to UTF-8 and added to the LINGUAS file.

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

16 years agoAdded Slovak translation by Jozef Riha.
Constantin Kaplinsky [Thu, 21 Aug 2008 06:00:13 +0000 (06:00 +0000)]
Added Slovak translation by Jozef Riha.

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

16 years ago[Cleanup] Fixed a compilation warning by removing a very doubtful optimization.
Constantin Kaplinsky [Thu, 21 Aug 2008 05:51:29 +0000 (05:51 +0000)]
[Cleanup] Fixed a compilation warning by removing a very doubtful optimization.

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

16 years ago[Bugfix] When pixel comparison to reduce unnecessary updates was performed,
Constantin Kaplinsky [Thu, 21 Aug 2008 05:22:04 +0000 (05:22 +0000)]
[Bugfix] When pixel comparison to reduce unnecessary updates was performed,
its results were not saved, unnecessary updates were sent to clients.

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

16 years agoVideoPriority parameter was set to 0 by default, now it defaults to 2.
Constantin Kaplinsky [Thu, 21 Aug 2008 04:12:16 +0000 (04:12 +0000)]
VideoPriority parameter was set to 0 by default, now it defaults to 2.

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

16 years agoVideoArea parameter is fully respected. The server treats the specified rectangle...
Constantin Kaplinsky [Thu, 21 Aug 2008 04:10:58 +0000 (04:10 +0000)]
VideoArea parameter is fully respected. The server treats the specified rectangle as video unless the client selected some different rectangle via the VideoRectangleSelection protocol message. When the client discards selection, the server will use VideoArea setting again.

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

16 years agoPassing VideoArea parameter to VNCServerST object. VNCServerST saves the
Constantin Kaplinsky [Thu, 21 Aug 2008 03:35:08 +0000 (03:35 +0000)]
Passing VideoArea parameter to VNCServerST object. VNCServerST saves the
rectangle but does not use it yet.
does not do anything more.

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

16 years agoAdded parsing for new VideoArea parameter. It does not have any effect yet.
Constantin Kaplinsky [Wed, 20 Aug 2008 09:54:32 +0000 (09:54 +0000)]
Added parsing for new VideoArea parameter. It does not have any effect yet.

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

16 years agoAdded a comment.
Constantin Kaplinsky [Wed, 20 Aug 2008 08:45:29 +0000 (08:45 +0000)]
Added a comment.

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

16 years agoFixed a few more memory leaks.
Constantin Kaplinsky [Wed, 20 Aug 2008 06:22:28 +0000 (06:22 +0000)]
Fixed a few more memory leaks.

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

16 years agoGeometry string parsing has been moved to a separate member function of the
Constantin Kaplinsky [Wed, 20 Aug 2008 06:04:57 +0000 (06:04 +0000)]
Geometry string parsing has been moved to a separate member function of the
Geometry class. Also, a memory leak has been fixed.

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

16 years ago[Bugfix] Fixed a problem with recursive seeking and unhandled EOFException("[JUMP]").
Constantin Kaplinsky [Mon, 23 Jun 2008 13:57:37 +0000 (13:57 +0000)]
[Bugfix] Fixed a problem with recursive seeking and unhandled EOFException("[JUMP]").

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

16 years ago[Development] Using index-driven positioning when seeking forward over more than...
Constantin Kaplinsky [Mon, 23 Jun 2008 13:34:36 +0000 (13:34 +0000)]
[Development] Using index-driven positioning when seeking forward over more than 10 seconds.

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

16 years ago[Debug] Printing entry points at index-driven seeking, for testing and debugging...
Constantin Kaplinsky [Mon, 23 Jun 2008 13:26:17 +0000 (13:26 +0000)]
[Debug] Printing entry points at index-driven seeking, for testing and debugging purposes.

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

16 years ago[Refactoring] Added a separate function to compute the number of index record for...
Constantin Kaplinsky [Mon, 23 Jun 2008 13:01:11 +0000 (13:01 +0000)]
[Refactoring] Added a separate function to compute the number of index record for the given time offset.

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

16 years ago[Cleanup] Minor code formatting change.
Constantin Kaplinsky [Mon, 23 Jun 2008 12:30:41 +0000 (12:30 +0000)]
[Cleanup] Minor code formatting change.

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

16 years ago[Development] Graceful fallback to non-indexed seeking if Range headers in HTTP reque...
Constantin Kaplinsky [Mon, 23 Jun 2008 11:38:51 +0000 (11:38 +0000)]
[Development] Graceful fallback to non-indexed seeking if Range headers in HTTP requests are not supported by the HTTP server or HTTP proxy.

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

16 years ago[Cleanup] Renamed a variable.
Constantin Kaplinsky [Mon, 23 Jun 2008 08:59:20 +0000 (08:59 +0000)]
[Cleanup] Renamed a variable.

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

16 years ago[Development] Changed the .fbi file format, now key_fpos and key_size refer to pure...
Constantin Kaplinsky [Mon, 23 Jun 2008 08:53:14 +0000 (08:53 +0000)]
[Development] Changed the .fbi file format, now key_fpos and key_size refer to pure data within FBS data block. Previously, they referred to the whole block with its service fields.

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

16 years ago[Development] Data format of the .fbi file has been changed. In addition to the list...
Constantin Kaplinsky [Mon, 23 Jun 2008 01:57:55 +0000 (01:57 +0000)]
[Development] Data format of the .fbi file has been changed. In addition to the list of entry points, it will include RFB initialization data that should be prepended to each keyframe.

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

16 years ago[Enhancement] Validating the .fbi file contents - timestamps should go in ascending...
Constantin Kaplinsky [Mon, 23 Jun 2008 01:32:53 +0000 (01:32 +0000)]
[Enhancement] Validating the .fbi file contents - timestamps should go in ascending order.

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

16 years ago[Development] Indexed seeking (using HTTP 1.1 Range request headers) is working for...
Constantin Kaplinsky [Sun, 22 Jun 2008 07:24:11 +0000 (07:24 +0000)]
[Development] Indexed seeking (using HTTP 1.1 Range request headers) is working for initial file positioning, and for seeking backwards.

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

16 years ago[Cleanup] Declared FbsConnection.openByteRange() static.
Constantin Kaplinsky [Sat, 21 Jun 2008 13:29:03 +0000 (13:29 +0000)]
[Cleanup] Declared FbsConnection.openByteRange() static.

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

16 years ago[Refactoring] Added a separate function to connect to a byte range via HTTP using...
Constantin Kaplinsky [Sat, 21 Jun 2008 11:41:42 +0000 (11:41 +0000)]
[Refactoring] Added a separate function to connect to a byte range via HTTP using the Range header.

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

16 years ago[Development] Loading the keyframe data, using HTTP Range headers to load only the...
Constantin Kaplinsky [Fri, 20 Jun 2008 20:12:22 +0000 (20:12 +0000)]
[Development] Loading the keyframe data, using HTTP Range headers to load only the desired part of the .fbk file. In this revision, the data then cannot be parsed correctly because RfbProto expects RFB initialization sequence which is absent in keyframes.

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

16 years ago[Development] Added two methods to open FBS files, with and without index-driven...
Constantin Kaplinsky [Fri, 20 Jun 2008 18:50:27 +0000 (18:50 +0000)]
[Development] Added two methods to open FBS files, with and without index-driven seeking. The method that uses index data is not functional yet. Improved error handling.

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

16 years ago[Development] Print FBS entry point information when efficient seeking via index...
Constantin Kaplinsky [Fri, 20 Jun 2008 12:57:37 +0000 (12:57 +0000)]
[Development] Print FBS entry point information when efficient seeking via index files may be used. Efficient seeking itself is not implemented yet.

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

16 years ago[Cleanup] Renamed member variable idx to indexData.
Constantin Kaplinsky [Fri, 20 Jun 2008 12:24:52 +0000 (12:24 +0000)]
[Cleanup] Renamed member variable idx to indexData.

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

16 years ago[Bugfix] Saving actual numbers of records read from the .fbi file.
Constantin Kaplinsky [Fri, 20 Jun 2008 12:21:57 +0000 (12:21 +0000)]
[Bugfix] Saving actual numbers of records read from the .fbi file.

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

16 years ago[Cleanups] Removed unused import and used better syntactic form for array declaration.
Constantin Kaplinsky [Fri, 20 Jun 2008 11:59:07 +0000 (11:59 +0000)]
[Cleanups] Removed unused import and used better syntactic form for array declaration.

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

16 years ago[Bugfixes, enhancements] Fixed various bugs with loading index from .fbi file, signif...
Constantin Kaplinsky [Fri, 20 Jun 2008 11:53:19 +0000 (11:53 +0000)]
[Bugfixes, enhancements] Fixed various bugs with loading index from .fbi file, significantly improved error handling. Now the index data is kept as a usual array of FbsEntryPoint records, Vector is not used any more.

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

16 years ago[Documentation] Documented toString().
Constantin Kaplinsky [Fri, 20 Jun 2008 11:49:34 +0000 (11:49 +0000)]
[Documentation] Documented toString().

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

16 years ago[Enhancement] New method to compose a String respesentation of the object.
Constantin Kaplinsky [Fri, 20 Jun 2008 08:23:25 +0000 (08:23 +0000)]
[Enhancement] New method to compose a String respesentation of the object.

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

16 years ago[Bugfix] Always print error messages on System.err instead of System.out.
Constantin Kaplinsky [Fri, 20 Jun 2008 06:51:32 +0000 (06:51 +0000)]
[Bugfix] Always print error messages on System.err instead of System.out.

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

16 years ago[Development] Loading index data from the .fbi file.
Constantin Kaplinsky [Fri, 20 Jun 2008 06:44:03 +0000 (06:44 +0000)]
[Development] Loading index data from the .fbi file.

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

16 years ago[Development] Added support for new "Index" parameter which sets URL prefix of .fbi...
Constantin Kaplinsky [Fri, 20 Jun 2008 05:17:39 +0000 (05:17 +0000)]
[Development] Added support for new "Index" parameter which sets URL prefix of .fbi and .fbk index files. Reading .fbi index file, without actually using its data.

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

16 years ago[Refactoring] Removed unused variable.
Constantin Kaplinsky [Thu, 19 Jun 2008 17:14:18 +0000 (17:14 +0000)]
[Refactoring] Removed unused variable.

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

16 years ago[Refactoring] Created new FbsConnection class to manage connections to FBS and index...
Constantin Kaplinsky [Thu, 19 Jun 2008 16:07:52 +0000 (16:07 +0000)]
[Refactoring] Created new FbsConnection class to manage connections to FBS and index files. Index files are not used yet.

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

16 years ago[Refactoring] Setting initial time offset in newFbsConnection().
Constantin Kaplinsky [Thu, 19 Jun 2008 12:25:12 +0000 (12:25 +0000)]
[Refactoring] Setting initial time offset in newFbsConnection().

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

16 years ago[Refactoring] Added another constructor to FbsInputStream, a lower level one. It...
Constantin Kaplinsky [Thu, 19 Jun 2008 12:02:57 +0000 (12:02 +0000)]
[Refactoring] Added another constructor to FbsInputStream, a lower level one. It's expected to be useful for working with indexed FBS streams.

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

16 years ago[Refactoring] Reading an FBS data block has been separated in a new method with impro...
Constantin Kaplinsky [Thu, 19 Jun 2008 07:51:42 +0000 (07:51 +0000)]
[Refactoring] Reading an FBS data block has been separated in a new method with improved error handling.

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

16 years agoBetter documentation for the FbsInputStream constructor.
Constantin Kaplinsky [Thu, 19 Jun 2008 03:31:40 +0000 (03:31 +0000)]
Better documentation for the FbsInputStream constructor.

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

16 years agoRemoved unused FbsInputStream constructor, added Javadoc to the remaining constructor.
Constantin Kaplinsky [Wed, 18 Jun 2008 11:27:50 +0000 (11:27 +0000)]
Removed unused FbsInputStream constructor, added Javadoc to the remaining constructor.

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

16 years agoCode refactoring. Now RfbPlayer maintains FbsInputStream and RfbProto instances separ...
Constantin Kaplinsky [Wed, 18 Jun 2008 09:28:30 +0000 (09:28 +0000)]
Code refactoring. Now RfbPlayer maintains FbsInputStream and RfbProto instances separately. Also, RfbProto does not need FbsInputStream any more, it can work with any InputStream.

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

16 years agoCode formatting changes only.
Constantin Kaplinsky [Wed, 18 Jun 2008 06:08:59 +0000 (06:08 +0000)]
Code formatting changes only.

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

16 years agoCode refactoring in preparation to more efficient seeking. Now we handle initial...
Constantin Kaplinsky [Tue, 17 Jun 2008 10:31:41 +0000 (10:31 +0000)]
Code refactoring in preparation to more efficient seeking. Now we handle initial time offset in RfbProto constructor and its newSession() method.

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

16 years agoEliminated one call to a deprecated method, and one potential NullPointerException.
Constantin Kaplinsky [Tue, 17 Jun 2008 09:27:52 +0000 (09:27 +0000)]
Eliminated one call to a deprecated method, and one potential NullPointerException.

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

16 years agoHandling VideoRectangleSelection protocol message (TightVNC extension).
Constantin Kaplinsky [Sat, 14 Jun 2008 05:23:10 +0000 (05:23 +0000)]
Handling VideoRectangleSelection protocol message (TightVNC extension).

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

16 years agoRestored the functionality of the VideoPriority parameter. This time, it
Constantin Kaplinsky [Fri, 13 Jun 2008 18:07:53 +0000 (18:07 +0000)]
Restored the functionality of the VideoPriority parameter. This time, it
should work correctly even over slow networks, when update requests go less
frequently than polling cycles. This version does not give any special
meaning to the value 0, it is equivalent to 1.

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

16 years agoRemoved support for continuous updates, a TightVNC-specific RFB protocol
Constantin Kaplinsky [Thu, 5 Jun 2008 12:34:59 +0000 (12:34 +0000)]
Removed support for continuous updates, a TightVNC-specific RFB protocol
extension. That extension used to send framebuffer updates continuously, not
waiting for clients' requests. However, it showed bad results with
low-bandwidth connections, due to lack of proper data flow control.

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

16 years agoImproved error handling: if JpegCompressor could not compress the data,
Constantin Kaplinsky [Thu, 5 Jun 2008 03:05:13 +0000 (03:05 +0000)]
Improved error handling: if JpegCompressor could not compress the data,
switch to StandardJpegCompressor and try to compress once again.

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

16 years agoMinor cleanup: declaring PollingManager::sendChanges() as const.
Constantin Kaplinsky [Wed, 4 Jun 2008 11:20:09 +0000 (11:20 +0000)]
Minor cleanup: declaring PollingManager::sendChanges() as const.

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

16 years agoImplemented support for command-line options that print version information
Constantin Kaplinsky [Wed, 4 Jun 2008 10:43:10 +0000 (10:43 +0000)]
Implemented support for command-line options that print version information
on stdout: -version, --version and -v are all equivalent.

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

16 years agoMinor cleanup, no code changes: updated a comment and moved XDesktop::poll()
Constantin Kaplinsky [Wed, 4 Jun 2008 09:46:57 +0000 (09:46 +0000)]
Minor cleanup, no code changes: updated a comment and moved XDesktop::poll()
declaration.

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

16 years agoRefactoring: now PollingManager is owned by XPixelBuffer. No other classes
Constantin Kaplinsky [Wed, 4 Jun 2008 05:57:06 +0000 (05:57 +0000)]
Refactoring: now PollingManager is owned by XPixelBuffer. No other classes
know about PollingManager.

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

16 years agoCode refactoring: PollingManager should not know anything about
Constantin Kaplinsky [Wed, 4 Jun 2008 05:36:40 +0000 (05:36 +0000)]
Code refactoring: PollingManager should not know anything about
XPixelBuffer. This commit partially reverts the changes from r2567.

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

16 years agoCode refactoring: passing geometry to XPixelBuffer as a Rect instead of four
Constantin Kaplinsky [Wed, 4 Jun 2008 04:30:10 +0000 (04:30 +0000)]
Code refactoring: passing geometry to XPixelBuffer as a Rect instead of four
int values.

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

16 years agoCode improvements and better error checking in the Geometry class:
Constantin Kaplinsky [Wed, 4 Jun 2008 03:58:07 +0000 (03:58 +0000)]
Code improvements and better error checking in the Geometry class:
coordinates are now kept as a Rect, added new getRect() method. Also, when
the "Geometry" parameter is present but not valid, the constructor will not
set the geometry to full screen, zero-size rectangle will be used instead.
In that case, x0vncserver will exit with error.

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

16 years agoCode refactoring: maintaining the Image object representing the framebuffer
Constantin Kaplinsky [Wed, 4 Jun 2008 03:10:05 +0000 (03:10 +0000)]
Code refactoring: maintaining the Image object representing the framebuffer
in XPixelBuffer instead of XDesktop.

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

16 years agoCode refactoring: setting pixel format in XPixelBuffer instead of XDesktop.
Constantin Kaplinsky [Tue, 3 Jun 2008 11:21:42 +0000 (11:21 +0000)]
Code refactoring: setting pixel format in XPixelBuffer instead of XDesktop.

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

16 years agoDon't use one va_list variable twice in vsnprintf
Adam Tkac [Tue, 3 Jun 2008 09:24:49 +0000 (09:24 +0000)]
Don't use one va_list variable twice in vsnprintf

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

16 years agoCode refactoring: passing VNCServer pointer to PollingManager methods
Constantin Kaplinsky [Tue, 3 Jun 2008 07:04:17 +0000 (07:04 +0000)]
Code refactoring: passing VNCServer pointer to PollingManager methods
instead of maintaining it as a member variable.

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

16 years agoGrabbing the screen moved from PollingManager to XPixelBuffer.
Constantin Kaplinsky [Mon, 2 Jun 2008 11:56:57 +0000 (11:56 +0000)]
Grabbing the screen moved from PollingManager to XPixelBuffer.

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

16 years agoCode refactoring - PollingManager's constructor is given an XPixelBuffer*
Constantin Kaplinsky [Fri, 30 May 2008 11:02:04 +0000 (11:02 +0000)]
Code refactoring - PollingManager's constructor is given an XPixelBuffer*
instead of an Image*.

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

16 years agoRemoved the code for automatic video detection. It interfered with video
Constantin Kaplinsky [Fri, 30 May 2008 10:03:30 +0000 (10:03 +0000)]
Removed the code for automatic video detection. It interfered with video
selection feature of the Java viewer, and did not look good with respect to
the impending polling improvements.

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

16 years agoFixed documentation for the "Offer relogin" parameter.
Constantin Kaplinsky [Thu, 29 May 2008 05:01:53 +0000 (05:01 +0000)]
Fixed documentation for the "Offer relogin" parameter.

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

16 years agoSupport for video area selection (revision range 2467:2563 from branches/javaviewer...
Constantin Kaplinsky [Tue, 27 May 2008 08:38:28 +0000 (08:38 +0000)]
Support for video area selection (revision range 2467:2563 from branches/javaviewer-selectvideo) merged back to trunk.

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

16 years agoPackage name for RfbPlayer changed to com.tightvnc.rfbplayer.
Constantin Kaplinsky [Wed, 30 Apr 2008 12:50:34 +0000 (12:50 +0000)]
Package name for RfbPlayer changed to com.tightvnc.rfbplayer.

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

16 years agoUsing proper logging in SMsgReader class. Reporting details on receiving VideoRectang...
Constantin Kaplinsky [Thu, 24 Apr 2008 11:01:55 +0000 (11:01 +0000)]
Using proper logging in SMsgReader class. Reporting details on receiving VideoRectangleSelection messages.

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

16 years agoSupport for VideoRectangleSelection client message in the server code. The message...
Constantin Kaplinsky [Thu, 24 Apr 2008 08:44:24 +0000 (08:44 +0000)]
Support for VideoRectangleSelection client message in the server code. The message is read but ignored (only a message will be written to stderr).

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

16 years agoExtended documentation for VideoAreaSelection client message.
Constantin Kaplinsky [Wed, 23 Apr 2008 05:02:32 +0000 (05:02 +0000)]
Extended documentation for VideoAreaSelection client message.

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

16 years agoFormatting was broken for some reason.
Constantin Kaplinsky [Wed, 23 Apr 2008 03:19:20 +0000 (03:19 +0000)]
Formatting was broken for some reason.

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

16 years agoProposed new VideoRectangleSelection protocol message.
Constantin Kaplinsky [Tue, 22 Apr 2008 10:57:15 +0000 (10:57 +0000)]
Proposed new VideoRectangleSelection protocol message.

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

16 years agoNew text document to keep the list of all allocated codes and signatures used in...
Constantin Kaplinsky [Tue, 22 Apr 2008 06:26:03 +0000 (06:26 +0000)]
New text document to keep the list of all allocated codes and signatures used in TightVNC extensions of the RFB protocol.

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

16 years agoRevert back to using cache for .fbs files.
wimba.com [Wed, 2 Jan 2008 21:50:38 +0000 (21:50 +0000)]
Revert back to using cache for .fbs files.

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

16 years agoChanged the name of the package from com.HorizonLive.RfbPlayer to com.wimba.RfbPlayer...
wimba.com [Mon, 19 Nov 2007 19:05:01 +0000 (19:05 +0000)]
Changed the name of the package from com.HorizonLive.RfbPlayer to com.wimba.RfbPlayer, in each file. Removed unused variables and imports.

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

16 years agoMake sure that .fbs files are not used from cache - this is because a disruption...
wimba.com [Wed, 14 Nov 2007 22:25:34 +0000 (22:25 +0000)]
Make sure that .fbs files are not used from cache - this is because a disruption in connectivity will cause an incomplete .fbs file, and java will attempt to use this incomplete .fbs file if caching is on.

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

17 years ago- Implemented liveshare archive playback pause.
wimba.com [Mon, 2 Apr 2007 18:54:41 +0000 (18:54 +0000)]
- Implemented liveshare archive playback pause.
- Liveshare is now unloaded when archive playback is stopped.

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

19 years agoRemove spaces from parameter names so that they can be used as attributes in embed...
wimba.com [Wed, 14 Sep 2005 18:42:46 +0000 (18:42 +0000)]
Remove spaces from parameter names so that they can be used as attributes in embed tags.

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

19 years agoFix player so that the canvas properly sizes when frame buffer changes size. Also...
wimba.com [Fri, 11 Feb 2005 23:06:24 +0000 (23:06 +0000)]
Fix player so that the canvas properly sizes when frame buffer changes size. Also, get rid of some ghost cursors that were getting left behind. Did a lot to bring the VncCanvas more in line with that of the viewer.

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

19 years agoFix so that the vnc viewer properly sizes on resizes. Using the LWScrollPane from...
wimba.com [Tue, 8 Feb 2005 17:15:23 +0000 (17:15 +0000)]
Fix so that the vnc viewer properly sizes on resizes. Using the LWScrollPane from the vncviewer.

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

19 years agoNull check.
wimba.com [Tue, 11 Jan 2005 19:02:12 +0000 (19:02 +0000)]
Null check.

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

19 years agoWhile seeking, prevent repaints triggered by cursor and frame buffer size changes.
wimba.com [Fri, 7 Jan 2005 20:54:33 +0000 (20:54 +0000)]
While seeking, prevent repaints triggered by cursor and frame buffer size changes.

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

19 years agoCenter shared image in frame when frame is bigger than shared area size.
wimba.com [Mon, 3 Jan 2005 16:20:38 +0000 (16:20 +0000)]
Center shared image in frame when frame is bigger than shared area size.

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

19 years agoClosing a different stream to prevent a problem. Also, added
wimba.com [Mon, 1 Nov 2004 20:54:08 +0000 (20:54 +0000)]
Closing a different stream to prevent a problem. Also, added
an explicit catch and rethrow of a NullPointerException with a comment
so that this doesn't get 'fixed', as fixing it would break the applet
for some reason i don't understand.

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

19 years agoFix RfbPlayer so that it shuts down more orderly. prevents a
wimba.com [Mon, 1 Nov 2004 16:18:54 +0000 (16:18 +0000)]
Fix RfbPlayer so that it shuts down more orderly. prevents a
crash with certain jvm versions under Win IE.

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

20 years agoChanged RfbProto to use the same encoding type check as the vnc viewer, meaning that...
wimba.com [Wed, 13 Oct 2004 16:19:45 +0000 (16:19 +0000)]
Changed RfbProto to use the same encoding type check as the vnc viewer, meaning that cursor position updates won't be subject to the bounds check and possibly causing an exception.

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

20 years agoChange to prevent cursor remnants from appearing.
wimba.com [Wed, 22 Sep 2004 15:10:14 +0000 (15:10 +0000)]
Change to prevent cursor remnants from appearing.

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

20 years agoAdditional changes to support scroll panes whether an applet is running in its own...
wimba.com [Tue, 21 Sep 2004 21:27:54 +0000 (21:27 +0000)]
Additional changes to support scroll panes whether an applet is running in its own frame or on an html page. Some resizing support.

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

20 years agoAuto scroll on host cursor movements.
wimba.com [Tue, 21 Sep 2004 20:54:37 +0000 (20:54 +0000)]
Auto scroll on host cursor movements.
Removed some debugging output.

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

20 years agoChanges to support cursor pos and shape updates in archives.
wimba.com [Tue, 21 Sep 2004 15:25:05 +0000 (15:25 +0000)]
Changes to support cursor pos and shape updates in archives.

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

20 years agoAdd cursor encoding type to proto.
wimba.com [Tue, 21 Sep 2004 15:22:02 +0000 (15:22 +0000)]
Add cursor encoding type to proto.

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

20 years agoCheck for valid framebuffer size before change.
wimba.com [Thu, 16 Sep 2004 16:11:55 +0000 (16:11 +0000)]
Check for valid framebuffer size before change.

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

20 years agoA set of changes from HorizonLive/Wimba:
wimba.com [Thu, 16 Sep 2004 00:00:00 +0000 (00:00 +0000)]
A set of changes from HorizonLive/Wimba:
- package name set to com.HorizonLive.RfbPlayer;
- reducing the screen size by 30 pixels in each direction;
- interface to control RfbPlayer from other applets (RfbSharedStatic);
- applets to control RfbPlayer (PARfbSender, RfbPlayerSetDisplaySize);
- new jumpTo(long pos) method of RfbPlayer that can be called via PARfbSender.

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