]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
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

16 years ago[Doc] Added "vncviewer host::port" syntax to vncviewer man page
Adam Tkac [Thu, 23 Oct 2008 12:04:14 +0000 (12:04 +0000)]
[Doc] Added "vncviewer host::port" syntax to vncviewer man page

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

16 years ago[Bugfix] Handle conditional jpeg/zlib building through AM_CONDITIONAL to make
Adam Tkac [Wed, 22 Oct 2008 14:47:09 +0000 (14:47 +0000)]
[Bugfix] Handle conditional jpeg/zlib building through AM_CONDITIONAL to make
    make dist working
[Bugfix] #include <jpeglib.h> (not jpeg/jpeglib.h) in JpegCompressor.h

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

16 years ago[Bugfix] Include man files and more jpeg libraries in tarball
Adam Tkac [Wed, 22 Oct 2008 11:19:25 +0000 (11:19 +0000)]
[Bugfix] Include man files and more jpeg libraries in tarball

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

16 years ago[Bugfix] Check return value from fbPictureInit
Adam Tkac [Fri, 17 Oct 2008 12:28:50 +0000 (12:28 +0000)]
[Bugfix] Check return value from fbPictureInit

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

16 years agoxserver.patch update in r3021 was incomplete
Adam Tkac [Wed, 15 Oct 2008 16:33:33 +0000 (16:33 +0000)]
xserver.patch update in r3021 was incomplete

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

16 years agoUpdated xserver.patch
Adam Tkac [Wed, 15 Oct 2008 15:55:06 +0000 (15:55 +0000)]
Updated xserver.patch

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

16 years ago[Bugfix] Find correct colormap in XserverDesktop::serverReset method
Adam Tkac [Wed, 15 Oct 2008 13:23:24 +0000 (13:23 +0000)]
[Bugfix] Find correct colormap in XserverDesktop::serverReset method

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

16 years ago[Bugfix] link libvnc.so against correct libraries
Adam Tkac [Wed, 15 Oct 2008 11:14:22 +0000 (11:14 +0000)]
[Bugfix] link libvnc.so against correct libraries

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

16 years ago[Bugfix] Fixed screen initialization - use correct depths and richer set of visuals.
Adam Tkac [Mon, 13 Oct 2008 08:10:24 +0000 (08:10 +0000)]
[Bugfix] Fixed screen initialization - use correct depths and richer set of visuals.

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

16 years ago[Cleanup] Fixed some compiler warnings
Adam Tkac [Fri, 10 Oct 2008 15:48:22 +0000 (15:48 +0000)]
[Cleanup] Fixed some compiler warnings

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

16 years ago[Bugfix] Fixed typo in rfb/util.cxx (caused in r2890)
Adam Tkac [Wed, 8 Oct 2008 13:40:28 +0000 (13:40 +0000)]
[Bugfix] Fixed typo in rfb/util.cxx (caused in r2890)

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

16 years ago[Cleanup] Handle system dependent defines through autoheader & common-config.h
Adam Tkac [Mon, 6 Oct 2008 14:08:00 +0000 (14:08 +0000)]
[Cleanup] Handle system dependent defines through autoheader & common-config.h

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

16 years ago[Cleanup] Detect and handle IRIX related enhancements in common/* directory only
Adam Tkac [Mon, 6 Oct 2008 13:06:41 +0000 (13:06 +0000)]
[Cleanup] Detect and handle IRIX related enhancements in common/* directory only

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