aboutsummaryrefslogtreecommitdiffstats
path: root/common/os
Commit message (Collapse)AuthorAgeFilesLines
* Remove a lot of platform compatibilty stuffPierre Ossman2014-07-076-266/+5
| | | | It's either not used, or no longer relevant.
* Create common/os/libos.la fileAdam Tkac2012-09-051-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4996 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable WinVNC build with MinGW and MinGW64DRC2011-10-124-0/+218
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4723 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move setting of PIC code to a central locationDRC2011-08-231-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4648 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CMake doesn't handle convenience libraries as nicely as autotools does. WePierre Ossman2011-08-221-0/+8
| | | | | | | need to be explicit with -fPIC here as we use these in libvnc.so. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4645 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused autotools build systemDRC2011-06-241-9/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't need to special case Windows anymore now since we have properPierre Ossman2011-03-081-5/+1
| | | | | | | checks for old GnuTLS in CMake. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4333 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix up typo that's been copied around in several places.Pierre Ossman2011-03-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4332 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Windows actually has socklen_t, it's just that it is in a special header.Pierre Ossman2011-03-081-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4327 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fix Windows build, recently added GNUTLS compat code broke it.Adam Tkac2011-02-092-5/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4279 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Improve compatibility with ancient GNUTLS implementations even more.Adam Tkac2011-02-092-0/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4278 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] os: add gnutls_x509_crt_print() implementation, older systemsAdam Tkac2011-02-094-3/+246
| | | | | | | don't have it and improve backward compatibility of TLS code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4277 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] os: introduce new function called "fileexists"Adam Tkac2011-02-072-0/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4255 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename function "gethomedir" to "getvnchomedir" and rewrite it inAdam Tkac2011-02-072-8/+8
| | | | | | | | | platform-intependent manner. Thanks to Guillaume Destuynder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4252 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement gethomedir() function on Windows.Adam Tkac2010-11-252-8/+32
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4208 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't compile gethomedir function on WIN32Adam Tkac2010-10-291-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4178 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Introduce gethomedir() function to retrieve home directory path.Adam Tkac2010-10-294-3/+104
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4176 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CMake build system for WindowsDRC2010-10-272-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4171 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - use unix/configure.ac as top-level configure.ac baseAdam Tkac2009-09-045-16/+11
| | | | | | | | - create stub top-level Makefile.am - make common/ subtree compilable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3892 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert r3657 (import of autogenerated) files.Adam Tkac2009-03-131-443/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Import autogenerated files for unix/ and common/ subdirs to make sourceAdam Tkac2009-03-111-0/+443
| | | | | | | | compilable without GNU autotools. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 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-103-2/+108
| | | | | | | | | | 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
* [Portability] Implemented snprintf() function to support old compilersAdam Tkac2008-12-032-0/+19
| | | | 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
* 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
* [Refactoring] Improved rdr::Exception constructor. It now accepts variableAdam Tkac2008-11-141-0/+9
| | | | | | | | | 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-143-0/+100
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