summaryrefslogtreecommitdiffstats
path: root/java/src/com/tightvnc/rfbplayer
Commit message (Collapse)AuthorAgeFilesLines
* [Bugfix] Fixed a problem with recursive seeking and unhandled ↵Constantin Kaplinsky2008-06-233-6/+8
| | | | | | EOFException("[JUMP]"). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2622 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Using index-driven positioning when seeking forward over more ↵Constantin Kaplinsky2008-06-232-10/+12
| | | | | | than 10 seconds. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2621 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Debug] Printing entry points at index-driven seeking, for testing and ↵Constantin Kaplinsky2008-06-231-0/+2
| | | | | | debugging purposes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2620 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Added a separate function to compute the number of index ↵Constantin Kaplinsky2008-06-231-17/+24
| | | | | | record for the given time offset. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2619 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Minor code formatting change.Constantin Kaplinsky2008-06-231-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2618 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Graceful fallback to non-indexed seeking if Range headers in ↵Constantin Kaplinsky2008-06-231-3/+7
| | | | | | 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
* [Cleanup] Renamed a variable.Constantin Kaplinsky2008-06-231-10/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2616 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Changed the .fbi file format, now key_fpos and key_size refer ↵Constantin Kaplinsky2008-06-231-3/+2
| | | | | | 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
* [Development] Data format of the .fbi file has been changed. In addition to ↵Constantin Kaplinsky2008-06-231-23/+22
| | | | | | 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
* [Enhancement] Validating the .fbi file contents - timestamps should go in ↵Constantin Kaplinsky2008-06-231-0/+8
| | | | | | ascending order. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2613 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Indexed seeking (using HTTP 1.1 Range request headers) is ↵Constantin Kaplinsky2008-06-221-12/+39
| | | | | | 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
* [Cleanup] Declared FbsConnection.openByteRange() static.Constantin Kaplinsky2008-06-211-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2611 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Added a separate function to connect to a byte range via HTTP ↵Constantin Kaplinsky2008-06-211-11/+17
| | | | | | using the Range header. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2610 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Loading the keyframe data, using HTTP Range headers to load ↵Constantin Kaplinsky2008-06-202-3/+30
| | | | | | 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
* [Development] Added two methods to open FBS files, with and without ↵Constantin Kaplinsky2008-06-201-6/+44
| | | | | | 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
* [Development] Print FBS entry point information when efficient seeking via ↵Constantin Kaplinsky2008-06-201-0/+15
| | | | | | 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
* [Cleanup] Renamed member variable idx to indexData.Constantin Kaplinsky2008-06-201-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2606 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Saving actual numbers of records read from the .fbi file.Constantin Kaplinsky2008-06-201-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2605 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanups] Removed unused import and used better syntactic form for array ↵Constantin Kaplinsky2008-06-201-2/+1
| | | | | | declaration. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2604 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfixes, enhancements] Fixed various bugs with loading index from .fbi ↵Constantin Kaplinsky2008-06-201-18/+43
| | | | | | 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
* [Documentation] Documented toString().Constantin Kaplinsky2008-06-201-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2602 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Enhancement] New method to compose a String respesentation of the object.Constantin Kaplinsky2008-06-201-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2601 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Always print error messages on System.err instead of System.out.Constantin Kaplinsky2008-06-203-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2600 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Loading index data from the .fbi file.Constantin Kaplinsky2008-06-202-9/+83
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2599 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Added support for new "Index" parameter which sets URL prefix ↵Constantin Kaplinsky2008-06-202-5/+58
| | | | | | 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
* [Refactoring] Removed unused variable.Constantin Kaplinsky2008-06-191-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2597 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Created new FbsConnection class to manage connections to FBS ↵Constantin Kaplinsky2008-06-192-21/+64
| | | | | | 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
* [Refactoring] Setting initial time offset in newFbsConnection().Constantin Kaplinsky2008-06-191-5/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2595 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Added another constructor to FbsInputStream, a lower level ↵Constantin Kaplinsky2008-06-191-16/+57
| | | | | | 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
* [Refactoring] Reading an FBS data block has been separated in a new method ↵Constantin Kaplinsky2008-06-191-13/+36
| | | | | | with improved error handling. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2593 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Better documentation for the FbsInputStream constructor.Constantin Kaplinsky2008-06-191-4/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2592 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed unused FbsInputStream constructor, added Javadoc to the remaining ↵Constantin Kaplinsky2008-06-181-10/+7
| | | | | | constructor. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2590 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code refactoring. Now RfbPlayer maintains FbsInputStream and RfbProto ↵Constantin Kaplinsky2008-06-183-55/+60
| | | | | | 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
* Code formatting changes only.Constantin Kaplinsky2008-06-181-21/+43
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2588 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code refactoring in preparation to more efficient seeking. Now we handle ↵Constantin Kaplinsky2008-06-172-7/+10
| | | | | | 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
* Eliminated one call to a deprecated method, and one potential ↵Constantin Kaplinsky2008-06-171-2/+2
| | | | | | NullPointerException. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2586 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Package name for RfbPlayer changed to com.tightvnc.rfbplayer.Constantin Kaplinsky2008-04-309-9/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2562 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert back to using cache for .fbs files.wimba.com2008-01-021-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2549 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changed the name of the package from com.HorizonLive.RfbPlayer to ↵wimba.com2007-11-199-26/+11
| | | | | | 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
* Make sure that .fbs files are not used from cache - this is because a ↵wimba.com2007-11-141-1/+7
| | | | | | 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
* - Implemented liveshare archive playback pause.wimba.com2007-04-022-1/+26
| | | | | | | - 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
* Remove spaces from parameter names so that they can be used as attributes in ↵wimba.com2005-09-141-3/+3
| | | | | | embed tags. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2545 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix player so that the canvas properly sizes when frame buffer changes size. ↵wimba.com2005-02-111-222/+385
| | | | | | 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
* Fix so that the vnc viewer properly sizes on resizes. Using the LWScrollPane ↵wimba.com2005-02-083-11/+275
| | | | | | from the vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2543 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Null check.wimba.com2005-01-111-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2542 3789f03b-4d11-0410-bbf8-ca57d06f2519
* While seeking, prevent repaints triggered by cursor and frame buffer size ↵wimba.com2005-01-071-45/+52
| | | | | | changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2541 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Center shared image in frame when frame is bigger than shared area size.wimba.com2005-01-031-16/+70
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Closing a different stream to prevent a problem. Also, addedwimba.com2004-11-012-1/+5
| | | | | | | | 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
* Fix RfbPlayer so that it shuts down more orderly. prevents awimba.com2004-11-013-5/+30
| | | | | | 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
* Changed RfbProto to use the same encoding type check as the vnc viewer, ↵wimba.com2004-10-131-2/+3
| | | | | | 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