summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-096-2/+201
| | | | | | | | | | | | | | 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
* [Layout] Added file RawDecoder.java and RawDecoder class.enikey2008-12-081-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3320 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Layout] Added folder "decoder" for new package "com.tightvnc.decoder".enikey2008-12-080-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3318 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added auto scaling on resizing window (non applet mode), auto ↵enikey2008-12-042-9/+65
| | | | | | | | 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
* [Cleanup] Removed unneeded #includes from rdr/Exception.cxxAdam Tkac2008-12-031-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3292 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Portability] Use /**/ comments instead of // in C codeAdam Tkac2008-12-032-5/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3291 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Portability] Implemented snprintf() function to support old compilersAdam Tkac2008-12-035-2/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3290 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Portability] Reimplement vsnprintf to be C89 compatibleAdam Tkac2008-12-032-22/+64
| | | | | | | | 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
* Fix -PasswordFile, which was causing asserts. Since we are providingPeter Åstrand2008-12-031-1/+2
| | | | | | | | | | | | 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
* [Developement] Added "auto scaling" feature to Applet.enikey2008-12-032-5/+9
| | | | | | | [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
* [Developement] Added feature to change "Scaling factor" parameter from ↵enikey2008-12-031-13/+39
| | | | | | OptionsFrame.java ("TightVnc Options" dialog). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3286 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Developement] Added method setScalingFactor.enikey2008-12-031-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3285 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Needs to include ../jpeg/win here as wellPeter Åstrand2008-12-021-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3283 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This should be the final modification to restore a working VisualPeter Åstrand2008-12-022-2/+48
| | | | | | | | | | | | | 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
* jpeg.dsp is a text filePeter Åstrand2008-12-020-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3281 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed Xregion.vcproj. As I understand it, this file was committed byPeter Åstrand2008-12-021-298/+0
| | | | | | | | | 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
* Define VNC_SOCKLEN_T if not defined - needed for Visual Studio build. Peter Åstrand2008-12-021-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3279 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
* Need to include jpeg directory; used by JpegCompressor.hPeter Åstrand2008-12-011-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3277 3789f03b-4d11-0410-bbf8-ca57d06f2519
* rfb.dsp is a text file, corrected mime type. Peter Åstrand2008-12-010-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3276 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected r3167; the file is called common-config.win.h, notPeter Åstrand2008-12-011-1/+1
| | | | | | | | common-config.win32.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3275 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Project-Id-Version mustn't have initial default valuePeter Åstrand2008-11-301-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3274 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fixed building with new libtool (2.2.6)Adam Tkac2008-11-201-10/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3204 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Removed unneeded else branch in TcpSocket constructorAdam Tkac2008-11-181-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3184 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Backported patch from RealVNC 4.1.3. FYI it is not security related.Adam Tkac2008-11-181-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3183 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Basic IPv6 support to viewer.Adam Tkac2008-11-142-34/+94
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3169 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Improved rdr::Exception constructor. It now accepts variableAdam Tkac2008-11-1410-11/+32
| | | | | | | | | 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
* [Refactoring] Introduced common/os/ directory for platform dependentAdam Tkac2008-11-147-46/+107
| | | | | | | | | | 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
* Check where select() is defined during configure timeAdam Tkac2008-11-143-10/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3165 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Documentation] Included information from rfbproto.tex. LaTeX formatting is ↵Constantin Kaplinsky2008-10-251-0/+0
| | | | | | not fully converted yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3054 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Doc] Added "vncviewer host::port" syntax to vncviewer man pageAdam Tkac2008-10-231-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3046 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Handle conditional jpeg/zlib building through AM_CONDITIONAL to makeAdam Tkac2008-10-225-45/+36
| | | | | | | | 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
* [Bugfix] Include man files and more jpeg libraries in tarballAdam Tkac2008-10-227-2/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Check return value from fbPictureInitAdam Tkac2008-10-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3029 3789f03b-4d11-0410-bbf8-ca57d06f2519
* xserver.patch update in r3021 was incompleteAdam Tkac2008-10-151-6/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3022 3789f03b-4d11-0410-bbf8-ca57d06f2519