]>
source.dussan.org Git - tigervnc.git/log
enikey [Wed, 24 Dec 2008 08:18:54 +0000 (08:18 +0000)]
[Refactoring, cleanup] Write encoding ID of real decoders in decoders 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
enikey [Wed, 24 Dec 2008 07:06:02 +0000 (07:06 +0000)]
[BugFix] Removed type casting from int to byte in method writeByte(int).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3454
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 05:14:30 +0000 (05:14 +0000)]
[Developement, debug] Added Encodings constants to decoders classes. 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
enikey [Wed, 24 Dec 2008 04:37:56 +0000 (04:37 +0000)]
[Refactoring] Write record data to data output interface instead of record 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
enikey [Wed, 24 Dec 2008 04:36:37 +0000 (04:36 +0000)]
[Developement] Added body to "writeByte" and "writeInt" methods to RecordOutputStream class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3451
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 04:12:34 +0000 (04:12 +0000)]
[Refactoring] Write record data to data output interface instead of record interface in raw decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3450
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 04:01:27 +0000 (04:01 +0000)]
[BugFix] Added check to verify that data can be written to record output stream before writting.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3449
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 03:58:29 +0000 (03:58 +0000)]
[Developement] All decoders have pointer to record output stream.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3448
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 03:41:00 +0000 (03:41 +0000)]
[BugFix] Changed type of member "dos" from DataOutputStream to DataOutput.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3447
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 24 Dec 2008 03:30:29 +0000 (03:30 +0000)]
[Developement] Added temporary method "setDataOutputStream" and member "dos" (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
Constantin Kaplinsky [Tue, 23 Dec 2008 07:44:39 +0000 (07:44 +0000)]
[Documentation] Documented the VideoArea parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3445
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 23 Dec 2008 07:23:37 +0000 (07:23 +0000)]
[Documentation] Corrected documentation on UseHardwareJPEG parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3444
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 23 Dec 2008 07:21:02 +0000 (07:21 +0000)]
[Documentation] Documented the VideoPriority parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3443
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 12:07:24 +0000 (12:07 +0000)]
[Layout] Added class RecordOutputStream (implements DataOutputStream). Class 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
enikey [Fri, 19 Dec 2008 11:22:13 +0000 (11:22 +0000)]
[BugFix] Slow mouse movement on server-side. Fixed by settings socket option 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
enikey [Fri, 19 Dec 2008 09:58:31 +0000 (09:58 +0000)]
[Refactoring] Code blocks that was used by old decoding code (means in decoding in VncCanvas class) is removed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3440
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 09:47:14 +0000 (09:47 +0000)]
[Refactoring] Data encoded with raw, hextile, rre, corre encoders decodes by RawDecoder, HextileDecoder, RREDecoder, CoRREDecoder classes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3439
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 09:39:40 +0000 (09:39 +0000)]
[Refactoring] All methods and members that were used by old tight decode 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
enikey [Fri, 19 Dec 2008 09:32:35 +0000 (09:32 +0000)]
[Refactoring] Using tight decoder class to decode and draw data on screen 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
enikey [Fri, 19 Dec 2008 09:19:59 +0000 (09:19 +0000)]
[BugFix] Decoder zlibDecoder was not created in constructor VncCanvas and 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
enikey [Fri, 19 Dec 2008 09:07:22 +0000 (09:07 +0000)]
[Refactoring] Added decoders to VncCanvas class. Decoders creates in 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
enikey [Fri, 19 Dec 2008 08:51:47 +0000 (08:51 +0000)]
[Developement] Class VncCanvas implements Repaintable interface. Method scheludeRepaint maked public.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3434
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 08:16:45 +0000 (08:16 +0000)]
[Developement] Added decode methods to Tight decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3433
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 08:04:11 +0000 (08:04 +0000)]
[Developement] Added helper methods that decodes data in tight encoding (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
enikey [Fri, 19 Dec 2008 07:54:40 +0000 (07:54 +0000)]
[Layout] Added base Tight data decoder class (TightDecoder).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3431
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 07:45:53 +0000 (07:45 +0000)]
[Developement] Added decode methods to ZRLE decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3430
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 07:38:11 +0000 (07:38 +0000)]
[Developement] Added private methods for reading data from ZRLE decoded stream in ZRLEDecoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3429
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 07:32:05 +0000 (07:32 +0000)]
[Layout] Added empty ZRLE data decoder class (ZRLEDecoder).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3428
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 07:27:01 +0000 (07:27 +0000)]
[Developement] Added decoding methods to hextile data decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3427
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:43:25 +0000 (06:43 +0000)]
[Developement] Added decoder private members and setRepaitableControl method.
[Documentation] Added comments to HextileDecoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3426
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:37:28 +0000 (06:37 +0000)]
[Layout, Developement] Added interface Repaintable. Interface will be used 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
enikey [Fri, 19 Dec 2008 06:31:30 +0000 (06:31 +0000)]
[Layout] Added package com.tightvnc.decoder.common.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3424
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:28:08 +0000 (06:28 +0000)]
[Developement] Added hextile decoder constants and class constructor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3423
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:24:06 +0000 (06:24 +0000)]
[Layout] Added empty Hextile data decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3422
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:21:34 +0000 (06:21 +0000)]
[Layout, Developement] Added ZLib data decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3421
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:14:30 +0000 (06:14 +0000)]
[Layout, Developement] Added CoRRE data decoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3420
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 06:00:18 +0000 (06:00 +0000)]
[Developement] Added RREDecoder body (overrided handleRect method and constructors).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3419
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:43:25 +0000 (05:43 +0000)]
[Layout] Added empty RRE data decoder class (RREDecoder).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3418
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:36:36 +0000 (05:36 +0000)]
[Cleanup] Spelling error in comment is corrected.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3417
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:34:17 +0000 (05:34 +0000)]
[Documentation] Added comments to methods.
[Cleanup] Added newlines after comments.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3416
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:30:11 +0000 (05:30 +0000)]
[Developement] Added setSessionRecorder method to RawDecoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3415
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:28:12 +0000 (05:28 +0000)]
[Developement] Added handleRect method to RawDecoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3414
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 05:14:15 +0000 (05:14 +0000)]
[Developement] Added update() method to RawDecoder class. This method must 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
enikey [Fri, 19 Dec 2008 04:54:49 +0000 (04:54 +0000)]
[Developement] Added protected getColorModel8, getColorModel24, getColor256 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
enikey [Fri, 19 Dec 2008 04:45:15 +0000 (04:45 +0000)]
[Developement] Added constructor, base set methods (setRfbInputStream, 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
enikey [Fri, 19 Dec 2008 04:37:09 +0000 (04:37 +0000)]
[Developement] VncCanvas class implements RecordInterface interface.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3410
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 04:32:14 +0000 (04:32 +0000)]
[Developement] Added base methods headers to interface RecordInterface.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3409
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 04:26:38 +0000 (04:26 +0000)]
[Layout] Added RecordInterface interface. This interface will be used for 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
enikey [Fri, 19 Dec 2008 04:20:42 +0000 (04:20 +0000)]
[Documentation] Added comments to RfbInputStream class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3407
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 04:16:34 +0000 (04:16 +0000)]
[Developement] Added readFully, readU32, readU8, readCompactLen methods to RfbInputStream class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3406
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 04:13:32 +0000 (04:13 +0000)]
[Developement] Added constructor and class member (variable "rfb").
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3405
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Fri, 19 Dec 2008 04:07:05 +0000 (04:07 +0000)]
[Layout] Added public class RfbInputStream. This class will be used as layer 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
Constantin Kaplinsky [Thu, 18 Dec 2008 12:13:51 +0000 (12:13 +0000)]
[Bugfix] Previous commit (r3204) included two lines that were left commented out by accident.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3403
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 18 Dec 2008 12:08:15 +0000 (12:08 +0000)]
[Development] Disabling special video encoding when the VideoPriority parameter is 0. In this case, video updates will be encoded similarly to normal updates.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3402
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 17 Dec 2008 06:38:54 +0000 (06:38 +0000)]
[Documentation] Added a document to track problems with file transfer protocol extensions, included an e-mail from Peter Rosin on this subject.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3401
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 16 Dec 2008 13:54:31 +0000 (13:54 +0000)]
Build a GUI application rather than a console one
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3400
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Fri, 12 Dec 2008 14:05:23 +0000 (14:05 +0000)]
MinGW fix: If vsnprintf if defined before MinGWs stdio.h, things will
break: MinGW will misinterpret the invocation of vsnprintf in
Exception.cc as a definition of vsnprintf, and the rest of vncviewer
will call this function, resulting in a runtime hang.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3398
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Fri, 12 Dec 2008 09:27:12 +0000 (09:27 +0000)]
Eliminiated two unused variables; no need to store result from
getchar().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3397
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 10:13:02 +0000 (10:13 +0000)]
Corrected r3380, forgotten passwordFile init.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3387
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:35:12 +0000 (09:35 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3385
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:11:02 +0000 (09:11 +0000)]
Avoid using bResult variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:09:07 +0000 (09:09 +0000)]
Avoid using result variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3383
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:08:33 +0000 (09:08 +0000)]
Avoid using result variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3382
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:07:08 +0000 (09:07 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3381
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 09:04:02 +0000 (09:04 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3380
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:49:23 +0000 (08:49 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3379
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:40:05 +0000 (08:40 +0000)]
Eliminated unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3378
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:38:10 +0000 (08:38 +0000)]
Define ~Notifier as virtual, to avoid GCC warning about "virtual
functions but non-virtual destructor".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3377
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:27:52 +0000 (08:27 +0000)]
Explicit cast of -1 to UINT, to silence GCC warnings, but still adhere
to the strange win32 API.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3376
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:23:55 +0000 (08:23 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3375
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:22:36 +0000 (08:22 +0000)]
The restrict keyboard was introduced with C99, but we are aiming for
C89 compatibility.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3374
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 10 Dec 2008 16:42:33 +0000 (16:42 +0000)]
[Layout] Added os/net.[ch]. They will include wrappers for missing IPv6
capabilities and should hide common networking related differences
between OSs
[Port] Implement IPv4-only version of inet_ntop for OSs which doesn't have it
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3369
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:41:12 +0000 (13:41 +0000)]
MinGW tweak: Build with -mthreads.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3368
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:12:38 +0000 (13:12 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3367
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:10:00 +0000 (13:10 +0000)]
printf does not accept CStr()s
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:08:28 +0000 (13:08 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3365
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:02:50 +0000 (13:02 +0000)]
vlog.debug doesn't accept CStr()s.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3364
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:59:58 +0000 (12:59 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3363
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:56:16 +0000 (12:56 +0000)]
Define ~DirManager, to avoid GCC warning:
`class rfb::win32::FolderManager' has virtual functions but non-virtual destructor
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3362
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:11:10 +0000 (12:11 +0000)]
Bugfix:
RegConfig.cxx:64: warning: cannot pass objects of non-POD type `struct
rfb::CStr' through `...'; call will abort at runtime
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3361
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:07:33 +0000 (12:07 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3360
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:49:58 +0000 (10:49 +0000)]
Avoid using result variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3359
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:43:53 +0000 (10:43 +0000)]
Use msgType variable when writing debug; eliminating warning about unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3358
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:40:39 +0000 (10:40 +0000)]
Should return FALSE; not NULL
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:39:39 +0000 (10:39 +0000)]
Removed extra colon after #endif
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3356
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:38:50 +0000 (10:38 +0000)]
Eliminated unused lastError variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3355
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:37:25 +0000 (10:37 +0000)]
Make sure all files ends with newline
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3354
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:30:30 +0000 (10:30 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3353
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:29:06 +0000 (10:29 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:20:54 +0000 (10:20 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3351
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:15:19 +0000 (10:15 +0000)]
Removed unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:08:45 +0000 (10:08 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3349
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:50:48 +0000 (08:50 +0000)]
Ignoring Autotools and build files.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3348
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:30:25 +0000 (08:30 +0000)]
MinGW: Syntax correction: Added missing comma.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3347
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:28:37 +0000 (08:28 +0000)]
MinGW: Compile resource file and link with it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 14:57:53 +0000 (14:57 +0000)]
MinGW tweak: Constructs such as:
CharArray somevariable = "somestring"
...are not allowed. It seems like MSVC does not correctly check
accessibility for temporaries. Chapter 12.2 of ISO/IEC 14882:2003(E):
> Even when the creation of the temporary object is avoided (12.8),
> all the semantic restrictions must be respected as if the temporary
> object was created. [Example: even if the copy constructor is not
> called, all the semantic restrictions, such as accessibility
> (clause 11), shall be satisfied. ]
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3344
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 13:39:24 +0000 (13:39 +0000)]
MinGW tweak: calculateScaleBoundary is not an inline method. If it
was, it should have been defined in the header file. See
http://www.parashift.com/c++-faq-lite/inline-functions.html.
Also, protect header file with normal #ifdef.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3343
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 12:46:47 +0000 (12:46 +0000)]
MinGW tweak: Mark gigantic constants as longlong.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3342
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 12:31:24 +0000 (12:31 +0000)]
Corrected invalid conversion from `void*' to `_SECURITY_DESCRIPTOR*':
A SecurityDescriptorPtr is not a PSECURITY_DESCRIPTOR.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3341
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 11:20:39 +0000 (11:20 +0000)]
MinGW tweak: Like last patch, use __rfbmax/__rfbmin.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3338
3789f03b -4d11-0410-bbf8-
ca57d06f2519