]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
15 years ago[Developement] Added handleRect method to RawDecoder class.
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

15 years ago[Developement] Added update() method to RawDecoder class. This method must be called...
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

15 years ago[Developement] Added protected getColorModel8, getColorModel24, getColor256 methods...
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

15 years ago[Developement] Added constructor, base set methods (setRfbInputStream, setGraphics...
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

15 years ago[Developement] VncCanvas class implements RecordInterface interface.
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

15 years ago[Developement] Added base methods headers to interface RecordInterface.
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

15 years ago[Layout] Added RecordInterface interface. This interface will be used for recording...
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

15 years ago[Documentation] Added comments to RfbInputStream class.
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

15 years ago[Developement] Added readFully, readU32, readU8, readCompactLen methods to RfbInputSt...
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

15 years ago[Developement] Added constructor and class member (variable "rfb").
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

15 years ago[Layout] Added public class RfbInputStream. This class will be used as layer between...
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

15 years ago[Bugfix] Previous commit (r3204) included two lines that were left commented out...
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

15 years ago[Development] Disabling special video encoding when the VideoPriority parameter is...
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

15 years ago[Documentation] Added a document to track problems with file transfer protocol extens...
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

15 years agoBuild a GUI application rather than a console one
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

15 years agoMinGW fix: If vsnprintf if defined before MinGWs stdio.h, things will
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

15 years agoEliminiated two unused variables; no need to store result from
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

15 years agoCorrected r3380, forgotten passwordFile init.
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid using bResult variable uninitialized
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

15 years agoAvoid using result variable uninitialized
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

15 years agoAvoid using result variable uninitialized
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoEliminated unused variable
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

15 years agoDefine ~Notifier as virtual, to avoid GCC warning about "virtual
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

15 years agoExplicit cast of -1 to UINT, to silence GCC warnings, but still adhere
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoThe restrict keyboard was introduced with C99, but we are aiming for
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

15 years ago[Layout] Added os/net.[ch]. They will include wrappers for missing IPv6
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

15 years agoMinGW tweak: Build with -mthreads.
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoprintf does not accept CStr()s
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agovlog.debug doesn't accept CStr()s.
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoDefine ~DirManager, to avoid GCC warning:
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

15 years agoBugfix:
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid using result variable uninitialized
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

15 years agoUse msgType variable when writing debug; eliminating warning about unused variable
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

15 years agoShould return FALSE; not NULL
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

15 years agoRemoved extra colon after #endif
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

15 years agoEliminated unused lastError variable
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

15 years agoMake sure all files ends with newline
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoRemoved unused variable
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

15 years agoAvoid GCC warning: initializer lists ordered as declarations
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

15 years agoIgnoring Autotools and build files.
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

15 years agoMinGW: Syntax correction: Added missing comma.
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

15 years agoMinGW: Compile resource file and link with it.
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

15 years agoMinGW tweak: Constructs such as:
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

15 years agoMinGW tweak: calculateScaleBoundary is not an inline method. If it
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

15 years agoMinGW tweak: Mark gigantic constants as longlong.
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

15 years agoCorrected invalid conversion from `void*' to `_SECURITY_DESCRIPTOR*':
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

15 years agoMinGW tweak: Like last patch, use __rfbmax/__rfbmin.
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

15 years agoMinGW tweak: use __rfbmax/__rfbmin instead of max/min, just like most
Peter Åstrand [Tue, 9 Dec 2008 11:17:28 +0000 (11:17 +0000)]
MinGW tweak: use __rfbmax/__rfbmin instead of max/min, just like most
other files. (There are other variants in use as well: vncmax/vncmin,
max/min, MAX/MIN.)

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

15 years agoMinGW tweak: takeSD must cast result from takePtr
Peter Åstrand [Tue, 9 Dec 2008 10:57:47 +0000 (10:57 +0000)]
MinGW tweak: takeSD must cast result from takePtr

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

15 years agoMinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.
Peter Åstrand [Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)]
MinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.

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

15 years agoMinGW tweak: Force cast from `int (*)()' to `void*'.
Peter Åstrand [Tue, 9 Dec 2008 10:53:50 +0000 (10:53 +0000)]
MinGW tweak: Force cast from `int (*)()' to `void*'.

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

15 years agoMinGW tweak: Use sizeof(PROPSHEETHEADER) instead of
Peter Åstrand [Tue, 9 Dec 2008 10:50:40 +0000 (10:50 +0000)]
MinGW tweak: Use sizeof(PROPSHEETHEADER) instead of
PROPSHEETHEADER_V1_SIZE, since the latter is not available in
MinGW. Raises our requirements of comctl32.dll, but should be no
problem nowadays.

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

15 years agoMinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' with no...
Peter Åstrand [Tue, 9 Dec 2008 10:48:44 +0000 (10:48 +0000)]
MinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' with no type.

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

15 years agoMinGW tweak: Follow up on last patch: Define this baseClass static as well.
Peter Åstrand [Tue, 9 Dec 2008 10:42:56 +0000 (10:42 +0000)]
MinGW tweak: Follow up on last patch: Define this baseClass static as well.

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

15 years agoMinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to
Peter Åstrand [Tue, 9 Dec 2008 10:41:59 +0000 (10:41 +0000)]
MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to
be static, or linking will fail with "multiple definition of
_baseClass" error.

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

15 years agoMinGW tweak: HexOutstream.h is really named HexOutStream.h.
Peter Åstrand [Tue, 9 Dec 2008 10:36:16 +0000 (10:36 +0000)]
MinGW tweak: HexOutstream.h is really named HexOutStream.h.

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

15 years agoMinGW tweak: Accctrl.h is really named accctrl.h.
Peter Åstrand [Tue, 9 Dec 2008 10:34:59 +0000 (10:34 +0000)]
MinGW tweak: Accctrl.h is really named accctrl.h.

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

15 years agoMinGW tweak: ISO C++ forbids declaration of `abs' with no type
Peter Åstrand [Tue, 9 Dec 2008 10:33:23 +0000 (10:33 +0000)]
MinGW tweak:  ISO C++ forbids declaration of `abs' with no type

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

15 years agoBasic support for building Windows vncviewer using MinGW. This patch
Peter Åstrand [Tue, 9 Dec 2008 10:27:33 +0000 (10:27 +0000)]
Basic support for building Windows vncviewer using MinGW. This patch
includes non-intrusive changes, more tweaks will follow. Details:

* Defining WINVER and _WIN32_IE in both common and win modules.

* Need to build CFTMsgWriter and CFTMsgReader.

* Added configure script and Makefiles.

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

15 years ago[Layout] Added file RawDecoder.java and RawDecoder class.
enikey [Mon, 8 Dec 2008 10:59:59 +0000 (10:59 +0000)]
[Layout] Added file RawDecoder.java and RawDecoder class.

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

15 years ago[Layout] Added folder "decoder" for new package "com.tightvnc.decoder".
enikey [Mon, 8 Dec 2008 10:41:25 +0000 (10:41 +0000)]
[Layout] Added folder "decoder" for new package "com.tightvnc.decoder".

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

15 years ago[Developement] Added auto scaling on resizing window (non applet mode), auto scaling...
enikey [Thu, 4 Dec 2008 08:42:34 +0000 (08:42 +0000)]
[Developement] Added auto scaling on resizing window (non applet mode), auto 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

15 years ago[Cleanup] Removed unneeded #includes from rdr/Exception.cxx
Adam Tkac [Wed, 3 Dec 2008 15:03:08 +0000 (15:03 +0000)]
[Cleanup] Removed unneeded #includes from rdr/Exception.cxx

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

15 years ago[Portability] Use /**/ comments instead of // in C code
Adam Tkac [Wed, 3 Dec 2008 14:24:01 +0000 (14:24 +0000)]
[Portability] Use /**/ comments instead of // in C code

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

15 years ago[Portability] Implemented snprintf() function to support old compilers
Adam Tkac [Wed, 3 Dec 2008 14:18:19 +0000 (14:18 +0000)]
[Portability] Implemented snprintf() function to support old compilers

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

15 years ago[Portability] Reimplement vsnprintf to be C89 compatible
Adam Tkac [Wed, 3 Dec 2008 14:13:36 +0000 (14:13 +0000)]
[Portability] Reimplement vsnprintf to be C89 compatible

Main problem is that C89 doesn't have va_copy macro thus you can't parse va_list
twice.

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

15 years agoFix -PasswordFile, which was causing asserts. Since we are providing
Peter Åstrand [Wed, 3 Dec 2008 11:57:18 +0000 (11:57 +0000)]
Fix -PasswordFile, which was causing asserts. Since we are providing
our own buffer for ObfuscatedPasswd, we need to take it (so that it's
set to zero) to prevent CharArray destructor from trying to free it.

Also, memset the fixed length of the data variable, rather than rely
on strlen, since the string might not be null terminated.

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

15 years ago[Developement] Added "auto scaling" feature to Applet.
enikey [Wed, 3 Dec 2008 09:17:25 +0000 (09:17 +0000)]
[Developement] Added "auto scaling" feature to Applet.
[BugFix] NullPointerException when changing option before canvas created.
[BugFix] Wrong default value in "Auto Scroll" combo box (class OptionsFrame).

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

15 years ago[Developement] Added feature to change "Scaling factor" parameter from OptionsFrame...
enikey [Wed, 3 Dec 2008 06:56:27 +0000 (06:56 +0000)]
[Developement] Added feature to change "Scaling factor" parameter from OptionsFrame.java ("TightVnc Options" dialog).

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

15 years ago[Developement] Added method setScalingFactor.
enikey [Wed, 3 Dec 2008 06:52:09 +0000 (06:52 +0000)]
[Developement] Added method setScalingFactor.

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

15 years agoNeeds to include ../jpeg/win here as well
Peter Åstrand [Tue, 2 Dec 2008 10:05:49 +0000 (10:05 +0000)]
Needs to include ../jpeg/win here as well

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

15 years agoThis should be the final modification to restore a working Visual
Peter Åstrand [Tue, 2 Dec 2008 09:56:26 +0000 (09:56 +0000)]
This should be the final modification to restore a working Visual
Studio build. A static jconfig.h has been re-added, but in a separate
directory, to avoid clash with jconfig.h generated by configure
script. Also, jconfig.h now includes the inline macro. jpeg.dsp has
been modified to search in the "win" subdir, to find jconfig.h.

This patch is in spirit similar to r121.

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

15 years agojpeg.dsp is a text file
Peter Åstrand [Tue, 2 Dec 2008 08:59:07 +0000 (08:59 +0000)]
jpeg.dsp is a text file

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

15 years agoRemoved Xregion.vcproj. As I understand it, this file was committed by
Peter Åstrand [Tue, 2 Dec 2008 08:36:52 +0000 (08:36 +0000)]
Removed Xregion.vcproj. As I understand it, this file was committed by
mistake: We don't have any other .vcproj files in this branch, and
there's an .dsp file here as well.

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

15 years agoDefine VNC_SOCKLEN_T if not defined - needed for Visual Studio build.
Peter Åstrand [Tue, 2 Dec 2008 08:33:00 +0000 (08:33 +0000)]
Define VNC_SOCKLEN_T if not defined - needed for Visual Studio build.

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

15 years agoWe are using printf - stdio.h must be included
Peter Åstrand [Tue, 2 Dec 2008 08:08:05 +0000 (08:08 +0000)]
We are using printf - stdio.h must be included

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

15 years agoNeed to include jpeg directory; used by JpegCompressor.h
Peter Åstrand [Mon, 1 Dec 2008 15:01:19 +0000 (15:01 +0000)]
Need to include jpeg directory; used by JpegCompressor.h

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

15 years agorfb.dsp is a text file, corrected mime type.
Peter Åstrand [Mon, 1 Dec 2008 14:49:13 +0000 (14:49 +0000)]
rfb.dsp is a text file, corrected mime type.

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

15 years agoCorrected r3167; the file is called common-config.win.h, not
Peter Åstrand [Mon, 1 Dec 2008 14:03:23 +0000 (14:03 +0000)]
Corrected r3167; the file is called common-config.win.h, not
common-config.win32.h.

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

15 years agoProject-Id-Version mustn't have initial default value
Peter Åstrand [Sun, 30 Nov 2008 20:35:45 +0000 (20:35 +0000)]
Project-Id-Version mustn't have initial default value

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

16 years ago[Bugfix] Fixed building with new libtool (2.2.6)
Adam Tkac [Thu, 20 Nov 2008 15:02:32 +0000 (15:02 +0000)]
[Bugfix] Fixed building with new libtool (2.2.6)

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

16 years ago[Cleanup] Removed unneeded else branch in TcpSocket constructor
Adam Tkac [Tue, 18 Nov 2008 16:08:25 +0000 (16:08 +0000)]
[Cleanup] Removed unneeded else branch in TcpSocket constructor

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

16 years ago[Bugfix] Backported patch from RealVNC 4.1.3. FYI it is not security related.
Adam Tkac [Tue, 18 Nov 2008 16:00:14 +0000 (16:00 +0000)]
[Bugfix] Backported patch from RealVNC 4.1.3. FYI it is not security related.

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

16 years ago[Development] Basic IPv6 support to viewer.
Adam Tkac [Fri, 14 Nov 2008 15:56:15 +0000 (15:56 +0000)]
[Development] Basic IPv6 support to viewer.

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

16 years ago[Refactoring] Improved rdr::Exception constructor. It now accepts variable
Adam Tkac [Fri, 14 Nov 2008 14:48:21 +0000 (14:48 +0000)]
[Refactoring] Improved rdr::Exception constructor. It now accepts variable
number of arguments.

[Bugfix] Minor compilation fixes (missing #includes)

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

16 years ago[Refactoring] Introduced common/os/ directory for platform dependent
Adam Tkac [Fri, 14 Nov 2008 13:11:31 +0000 (13:11 +0000)]
[Refactoring] Introduced common/os/ directory for platform dependent
implementations and move vsnprintf() declaration there.

[Refactoring] Introduced common/common-config.win.h for handling WIN32
platform specifics.

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

16 years agoCheck where select() is defined during configure time
Adam Tkac [Fri, 14 Nov 2008 12:25:34 +0000 (12:25 +0000)]
Check where select() is defined during configure time

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

16 years ago[Documentation] Included information from rfbproto.tex. LaTeX formatting is not fully...
Constantin Kaplinsky [Sat, 25 Oct 2008 14:06:14 +0000 (14:06 +0000)]
[Documentation] Included information from rfbproto.tex. LaTeX formatting is not fully converted yet.

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