summaryrefslogtreecommitdiffstats
path: root/java/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [Refactoring, cleanup] Write encoding ID of real decoders in decoders ↵enikey2008-12-248-32/+132
| | | | | | classes. Pseudo encoding ID still writes in RfbProto class. ZlibDecoder recoding enabled. ZRLEDecoder recoding still not working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3455 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [BugFix] Removed type casting from int to byte in method writeByte(int).enikey2008-12-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3454 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement, debug] Added Encodings constants to decoders classes. ↵enikey2008-12-247-11/+28
| | | | | | Temporary disable session recording when using Zlib decoder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3453 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Write record data to data output interface instead of record ↵enikey2008-12-243-23/+23
| | | | | | interface in CoRRE, RRE, Hextile decoder classes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3452 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added body to "writeByte" and "writeInt" methods to ↵enikey2008-12-241-2/+13
| | | | | | RecordOutputStream class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3451 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Write record data to data output interface instead of record ↵enikey2008-12-241-6/+6
| | | | | | interface in raw decoder class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3450 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [BugFix] Added check to verify that data can be written to record output ↵enikey2008-12-241-3/+6
| | | | | | stream before writting. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3449 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] All decoders have pointer to record output stream.enikey2008-12-241-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3448 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [BugFix] Changed type of member "dos" from DataOutputStream to DataOutput.enikey2008-12-241-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3447 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added temporary method "setDataOutputStream" and member "dos" ↵enikey2008-12-241-1/+12
| | | | | | (interface DataOutputStream). This method will be removed or renamed after class RawDecoder will need RecordInterface to record session no more. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3446 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added class RecordOutputStream (implements DataOutputStream). Class ↵enikey2008-12-191-0/+37
| | | | | | will be used for recoding sessions. Recording will work still from decoders classes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3442 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [BugFix] Slow mouse movement on server-side. Fixed by settings socket option ↵enikey2008-12-191-0/+1
| | | | | | TCP_NODELAY to on (disable Nagle algorithm). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3441 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Code blocks that was used by old decoding code (means in ↵enikey2008-12-191-450/+6
| | | | | | decoding in VncCanvas class) is removed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3440 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Data encoded with raw, hextile, rre, corre encoders decodes ↵enikey2008-12-191-136/+9
| | | | | | by RawDecoder, HextileDecoder, RREDecoder, CoRREDecoder classes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3439 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] All methods and members that were used by old tight decode ↵enikey2008-12-191-128/+1
| | | | | | code block is removed. VncCanvas is no more overrides imageUpdate method of ImageObserver interface. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3438 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Using tight decoder class to decode and draw data on screen ↵enikey2008-12-191-277/+14
| | | | | | | | when using tight encoding. [BugFix] Creating decoders after setPixelFormat. setPixelFormat calls updateFramebufferSize but at this time decoders is null. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3437 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [BugFix] Decoder zlibDecoder was not created in constructor VncCanvas and ↵enikey2008-12-191-0/+27
| | | | | | | | application falls with NullPointerException when it tries to set session recorder for this decoder. [Developement] Decoders updates their params (framebuffer size and bpp) in updateFramebufferSize method. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3436 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Added decoders to VncCanvas class. Decoders creates in ↵enikey2008-12-191-4/+68
| | | | | | | | VncCanvas constructor. [Cleanup] Spaces removed from end of some lines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3435 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Class VncCanvas implements Repaintable interface. Method ↵enikey2008-12-191-2/+4
| | | | | | scheludeRepaint maked public. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3434 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added decode methods to Tight decoder class.enikey2008-12-191-1/+301
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added helper methods that decodes data in tight encoding ↵enikey2008-12-191-0/+90
| | | | | | (mono data and gradient data) to tight decoder class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3432 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added base Tight data decoder class (TightDecoder).enikey2008-12-191-0/+79
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3431 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added decode methods to ZRLE decoder class.enikey2008-12-191-0/+139
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3430 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added private methods for reading data from ZRLE decoded ↵enikey2008-12-191-1/+143
| | | | | | stream in ZRLEDecoder class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3429 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added empty ZRLE data decoder class (ZRLEDecoder).enikey2008-12-191-0/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3428 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added decoding methods to hextile data decoder class.enikey2008-12-191-1/+167
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3427 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added decoder private members and setRepaitableControl method.enikey2008-12-191-0/+19
| | | | | | [Documentation] Added comments to HextileDecoder class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3426 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout, Developement] Added interface Repaintable. Interface will be used ↵enikey2008-12-191-0/+7
| | | | | | in HextileDecoder class to draw immediantly little rectangles of data while processing big rectangle. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3425 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added hextile decoder constants and class constructor.enikey2008-12-191-1/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3423 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added empty Hextile data decoder class.enikey2008-12-191-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3422 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout, Developement] Added ZLib data decoder class.enikey2008-12-191-0/+99
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3421 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout, Developement] Added CoRRE data decoder class.enikey2008-12-191-0/+74
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3420 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added RREDecoder body (overrided handleRect method and ↵enikey2008-12-192-1/+71
| | | | | | constructors). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3419 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added empty RRE data decoder class (RREDecoder).enikey2008-12-191-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3418 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Spelling error in comment is corrected.enikey2008-12-191-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3417 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Documentation] Added comments to methods.enikey2008-12-191-5/+16
| | | | | | [Cleanup] Added newlines after comments. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3416 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added setSessionRecorder method to RawDecoder class.enikey2008-12-191-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3415 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added handleRect method to RawDecoder class.enikey2008-12-191-1/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3414 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added update() method to RawDecoder class. This method must ↵enikey2008-12-191-0/+28
| | | | | | be called when framebuffer is resized or BPP is changed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3413 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added protected getColorModel8, getColorModel24, getColor256 ↵enikey2008-12-191-0/+48
| | | | | | methods to access private static members (cm8, cm24, color256). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3412 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added constructor, base set methods (setRfbInputStream, ↵enikey2008-12-191-0/+59
| | | | | | setGraphics, setBPP, setFrameBufferSize). Added base protected and private static and non-static members. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3411 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] VncCanvas class implements RecordInterface interface.enikey2008-12-191-1/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3410 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added base methods headers to interface RecordInterface.enikey2008-12-191-0/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3409 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added RecordInterface interface. This interface will be used for ↵enikey2008-12-191-0/+9
| | | | | | recording sessions by decoders classes in com.tighvnc.decoder package. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3408 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Documentation] Added comments to RfbInputStream class.enikey2008-12-191-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3407 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added readFully, readU32, readU8, readCompactLen methods to ↵enikey2008-12-191-0/+22
| | | | | | RfbInputStream class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3406 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added constructor and class member (variable "rfb").enikey2008-12-191-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3405 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added public class RfbInputStream. This class will be used as layer ↵enikey2008-12-191-0/+5
| | | | | | between class com.tightvnc.vncviewer.RfbProto and decoders in com.tightvnc.decoder package. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3404 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added file RawDecoder.java and RawDecoder class.enikey2008-12-081-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3320 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added auto scaling on resizing window (non applet mode), auto ↵enikey2008-12-042-9/+65
| | | | | | | | scaling in applet. [BugFix] Wrong auto scaling in applet and application. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3293 3789f03b-4d11-0410-bbf8-ca57d06f2519