aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
Commit message (Collapse)AuthorAgeFilesLines
...
* [Bugfix] Make windows viewer compilable via migw32 (4.3 series)Adam Tkac2009-02-132-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3606 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we are sending the appropriate numeric decimal symbol. ThePeter Åstrand2009-01-151-0/+26
| | | | | | | | | | | vkey returned by Windows cannot be trusted. (This patch has been tested in ThinLinc for a long time with good results.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3548 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
* 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
* 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-104-4/+4
| | | | 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
* MinGW tweak: Constructs such as:Peter Åstrand2008-12-096-10/+10
| | | | | | | | | | | | | | | | | | 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: 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: 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: 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
* MinGW tweak: Accctrl.h is really named accctrl.h. Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3328 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: ISO C++ forbids declaration of `abs' with no type Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3327 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic support for building Windows vncviewer using MinGW. This patchPeter Åstrand2008-12-091-0/+109
| | | | | | | | | | | | | | 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
* We are using printf - stdio.h must be includedPeter Åstrand2008-12-021-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3278 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added throwing rfb::UnsupportedPixelFormatExceptions exception in ↵george822007-11-051-1/+2
| | | | | | ScaledDIBSectionBuffer class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2368 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the improvements of the ScaledPixelBuffer class - increased scaled ↵george822007-11-051-10/+1
| | | | | | image quality when scale < 100%. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2365 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Powerful ScaledPixelBuffer class code improvements - at 10x increased scale ↵george822007-11-041-0/+1
| | | | | | | | | performance due to using the row accumulators. The row accumulators keep result of the convolution of the source image by y axis. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2364 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Auto scaling mode of the vncviewer make improved.george822007-03-122-1/+23
| | | | | | | | | In this mode scaling works against vncviewer window size (instead scale factor). Added ScaledDIBSectionBuffer::setScaleWindowSize() and DesktopWindow::printScale() methods. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2234 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the bug with crashing vncviewer when it works in the george822007-03-102-11/+10
| | | | | | | scaling mode and scale < 10%. Scale part of vncviewer code improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2232 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the bug in ToolBar::getTotalWidth() method.george822007-01-271-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2220 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added ToolBar::getTotalWidth(). It returns the total sizegeorge822006-12-102-0/+10
| | | | | | of all buttons and separators in the toolbar. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2205 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the bug with very low quality of the remote desktopgeorge822006-12-031-4/+4
| | | | | | scaling. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2165 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added support all true color pixel format for scaling thegeorge822006-11-261-1/+1
| | | | | | remote desktop. Palette is not supported yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2133 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Now ScaledPixelBuffer class using the weighting tabs for george822006-11-201-1/+16
| | | | | | | scaling. Maked ScaledPixelBuffer class code independent from the scaling filter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2118 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Timely added check for unsupported pixel format.george822006-09-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Correct the ScaledDIBSectionBuffer class code.george822006-09-231-15/+18
| | | | | | Now it more safe. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2102 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the new methods to the ScaledDIBSectionBuffer class:george822006-09-231-0/+2
| | | | | | | getPixelFormat() and getScaledPixelFormat(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2101 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial support all color formats by the vncviewer ingeorge822006-09-161-21/+25
| | | | | | | the scaling mode. Small code improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2099 3789f03b-4d11-0410-bbf8-ca57d06f2519