summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure all files ends with newlinePeter Åstrand2008-12-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3354 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
* Basic support for building Windows vncviewer using MinGW. This patchPeter Åstrand2008-12-092-2/+8
| | | | | | | | | | | | | | 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
* [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
* 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
* 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
* 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
* 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
* [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-149-10/+31
| | | | | | | | | 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
* [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-221-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Fixed some compiler warningsAdam Tkac2008-10-104-7/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2976 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fixed typo in rfb/util.cxx (caused in r2890)Adam Tkac2008-10-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2916 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Handle system dependent defines through autoheader & common-config.hAdam Tkac2008-10-068-31/+32
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Detect and handle IRIX related enhancements in common/* directory onlyAdam Tkac2008-10-062-11/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Merged changes from branches/1.5-xserver (revision range 2432:2631) back to ↵Constantin Kaplinsky2008-09-2833-9652/+416
|\ | | | | | | | | | | trunk. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2829 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Include -L/usr/lib32 into LDFLAGS on IRIXAdam Tkac2008-07-141-1/+1
| | | | | | | | | | | | | | (http://sourceforge.net/mailarchive/message.php?msg_name=486A0011.5090503%40tightvnc.com, does anyone have better idea?) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2624 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Added zutil.c to libz.la sourcesAdam Tkac2008-07-141-1/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2623 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Add headers to Makefile.am-s to fix "make dist" command in common/* subtreeAdam Tkac2008-06-186-18/+58
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2591 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Replaced --with-tight-{jpeg,zlib} configure parameters by ↵Adam Tkac2008-06-111-8/+8
| | | | | | | | | | | | --with-included-{jpeg,zlib} git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2582 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - removed autogenerated and obsoleted filesAdam Tkac2008-04-175-5152/+0
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2492 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - cleanup in common/configure.ac (boilerplate is no longer needed)Adam Tkac2008-04-161-10/+0
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2482 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - add libz to librdr.la to avoid tight/system zlib checking in xserver configureAdam Tkac2008-04-162-0/+4
| | | | | | | | | | | | | | - add libjpeg to librfb.la to avoid tight/system libjpeg checking in xserver configure git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2481 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - don't build sources whose contains main() function into libz.aAdam Tkac2008-04-161-3/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2480 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - generate Makefile.in from Makefile.am templateAdam Tkac2008-04-1410-154/+59
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2466 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - improved zlib configuration, parameter --with-installed-zlib replaced by ↵Adam Tkac2008-04-141-13/+16
| | | | | | | | | | | | --with-tight-zlib git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2464 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - improved jpeg configuration, parameter --with-installed-jpeg replaced by ↵Adam Tkac2008-04-141-18/+19
| | | | | | | | | | | | --with-tight-jpeg git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2463 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - introduced common/jpeg/jconfig.h.in - minimal jconfig.h templateAdam Tkac2008-04-142-2/+49
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2462 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - introduced common/jpeg/{configure.ac,Makefile.am}Adam Tkac2008-04-0311-4212/+100
| | | | | | | | | | | | | | | | - removed autogenerated stuff (jconfig.h, configure, config.guess, config.sub, jconfig.h, install-sh) - minor macros changes in jchuff.c, jcphuff.c, jmorecfg.h (same with configure produced macros) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2455 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Introduced common/zlib/{configure.ac,Makefile.am}. Renamed macrosAdam Tkac2008-03-276-10/+49
| | | | | | | | | | | | | | | | generated by old configure to same as generated by new configure and add config.h include where needed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2454 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * Rename common/configure.in to common/configure.ac and fix AC_INITAdam Tkac2008-03-271-1/+1
| | | | | | | | | | | | | | macro parameters. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2453 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438Adam Tkac2008-03-2225-154/+5442
| | | | | | | | | | | | | | | | (build automation and i18n changes). Latest server changes (2439 and 2440) are OK. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519
| * - use Makefile.am and configure.acAdam Tkac2008-03-2025-5442/+154
| | | | | | | | | | | | | | | | - removed unwanted files - internationalization and jpeg library doesn't work yet git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Merge] Revision 2778 has been reverted.syuri2008-09-196-0/+2541
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2779 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Layout] Xregion has been deleted from screen-update folder.syuri2008-09-196-2541/+0
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2778 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Layout] Project for Xregion has been created.syuri2008-09-191-0/+298
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2776 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Bugfix] Resetting video rectangle on last client disconnect.Constantin Kaplinsky2008-09-051-0/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2755 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Enhancements, refactoring] Rationalized functions to control videoConstantin Kaplinsky2008-09-057-39/+52
| | | | | | | | | | | | | | | | rectangle selection and default video rectangle. Added more logging and improved error checking in the related code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Bugfix] If JpegCompressor could not compress the data, it did switch to ↵Constantin Kaplinsky2008-09-031-0/+1
| | | | | | | | | | | | StandardJpegCompressor but did not actually try to compress the same data once again. That caused sending a zero-size JPEG data block to the client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2749 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Bugfix] Fixed a problem with overloading x0vncserver by update requests, ↵Constantin Kaplinsky2008-08-291-2/+13
| | | | | | | | | | | | when video area is selected. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2742 3789f03b-4d11-0410-bbf8-ca57d06f2519