summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3385 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid using bResult variable uninitializedPeter Åstrand2008-12-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid using result variable uninitializedPeter Åstrand2008-12-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3383 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid using result variable uninitializedPeter Åstrand2008-12-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3382 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-111-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3381 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-111-10/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3380 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-111-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3379 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated unused variablePeter Åstrand2008-12-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3378 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Define ~Notifier as virtual, to avoid GCC warning about "virtualPeter Åstrand2008-12-111-0/+1
| | | | | | | | functions but non-virtual destructor". git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3377 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Explicit cast of -1 to UINT, to silence GCC warnings, but still adherePeter Åstrand2008-12-111-1/+1
| | | | | | | | to the strange win32 API. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3376 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-111-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3375 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The restrict keyboard was introduced with C99, but we are aiming forPeter Åstrand2008-12-111-2/+2
| | | | | | | | C89 compatibility. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3374 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added os/net.[ch]. They will include wrappers for missing IPv6Adam Tkac2008-12-105-17/+122
| | | | | | | | | | 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
* MinGW tweak: Build with -mthreads. Peter Åstrand2008-12-102-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3368 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3367 3789f03b-4d11-0410-bbf8-ca57d06f2519
* printf does not accept CStr()sPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3365 3789f03b-4d11-0410-bbf8-ca57d06f2519
* vlog.debug doesn't accept CStr()s. Peter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3364 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3363 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Define ~DirManager, to avoid GCC warning:Peter Åstrand2008-12-101-0/+1
| | | | | | | | `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
* Bugfix:Peter Åstrand2008-12-101-1/+1
| | | | | | | | | 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
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3360 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid using result variable uninitializedPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3359 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use msgType variable when writing debug; eliminating warning about unused ↵Peter Åstrand2008-12-101-1/+1
| | | | | | variable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3358 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Should return FALSE; not NULLPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed extra colon after #endifPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3356 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated unused lastError variablePeter Åstrand2008-12-101-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3355 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure all files ends with newlinePeter Åstrand2008-12-108-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3354 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3353 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3351 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed unused variablePeter Åstrand2008-12-101-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3349 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Ignoring Autotools and build files. Peter Åstrand2008-12-100-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3348 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW: Syntax correction: Added missing comma. Peter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3347 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW: Compile resource file and link with it. Peter Åstrand2008-12-101-3/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Constructs such as:Peter Åstrand2008-12-099-17/+17
| | | | | | | | | | | | | | | | | | 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
* MinGW tweak: calculateScaleBoundary is not an inline method. If itPeter Åstrand2008-12-091-1/+6
| | | | | | | | | | | 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
* MinGW tweak: Mark gigantic constants as longlong. Peter Åstrand2008-12-092-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3342 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected invalid conversion from `void*' to `_SECURITY_DESCRIPTOR*':Peter Åstrand2008-12-091-1/+1
| | | | | | | | 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
* MinGW tweak: Like last patch, use __rfbmax/__rfbmin. Peter Åstrand2008-12-091-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3338 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: use __rfbmax/__rfbmin instead of max/min, just like mostPeter Åstrand2008-12-091-6/+7
| | | | | | | | | 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
* MinGW tweak: takeSD must cast result from takePtrPeter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3335 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Force cast from `int (*)()' to `void*'. Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3334 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Use sizeof(PROPSHEETHEADER) instead ofPeter Åstrand2008-12-091-1/+1
| | | | | | | | | | 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
* MinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' ↵Peter Åstrand2008-12-091-1/+1
| | | | | | with no type. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3332 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Follow up on last patch: Define this baseClass static as well.Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3331 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs toPeter Åstrand2008-12-091-1/+1
| | | | | | | | | 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
* MinGW tweak: HexOutstream.h is really named HexOutStream.h. Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3329 3789f03b-4d11-0410-bbf8-ca57d06f2519