aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Small ScaledPixelBuffer class improvements.george822006-09-161-3/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2098 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated two compilation warnings.Constantin Kaplinsky2006-09-061-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@648 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Small the ScaledDIBSectionBuffer class code improvements.george822006-09-052-4/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@647 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the ScaledDIBSectionBuffer::recreateBuffers method.george822006-09-052-30/+43
| | | | | | ScaledDIBSectionBuffer class code improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@644 3789f03b-4d11-0410-bbf8-ca57d06f2519
* ScaledDIBSectionBuffer class code improvements. Added checkgeorge822006-08-021-2/+8
| | | | | | for changing class parameters such as width, height, pf. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@641 3789f03b-4d11-0410-bbf8-ca57d06f2519
* ScaledDIBSectionBuffer class code improvements. Now wegeorge822006-07-292-5/+6
| | | | | | | | set the scale using setScaleRatio. It improve the accuracy of scaling operation. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@640 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added new exception rfb::UnsupportedPixelFormatException.george822006-05-291-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@599 3789f03b-4d11-0410-bbf8-ca57d06f2519
* ScaledDIBSectionBuffer class improvements:george822006-05-271-3/+11
| | | | | | | | | | | Copy the pixel data from source buffer to scale buffer if scale was changed to 100 percent and copy the pixel data from scaled buffer to source buffer if scale was changed from 100 percent. It allow refresh the Desktop Window without sending FramebufferUpdateRequest message and decrease the network traffic. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@597 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added ScaledDIBSectionBuffer::area() method.george822006-05-271-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@596 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Merged the changes from revision range 582:588 into reorganized sources. ↵Constantin Kaplinsky2006-05-261-9/+14
| | | | | | These changes accidentally were not included in files copied during directory structure reorganization. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@594 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-25100-0/+12590
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519