summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #390 from proski/june21jsorg712016-08-059-53/+62
|\ | | | | Cleanups and C++ compatibility
| * Declare unified module interface and use it in modulesPavel Roskin2016-07-081-1/+10
| | | | | | | | | | This fixes loading modules compiled with a C++ compiler. Remote thandle type, it's unused. Use tintptr for module data. Don't cast pointers to long, they won't fit on Win64.
| * Use enum logLevels consistently for log levelsPavel Roskin2016-07-081-2/+2
| |
| * Use char* for TLS send and receivePavel Roskin2016-07-082-6/+6
| | | | | | | | This is consistent with ssl_tls_read() and ssl_tls_write(). C++ warnings are fixed without adding any casts.
| * Use correct types for ssl and ctx fields in struct ssl_tlsPavel Roskin2016-07-081-2/+2
| |
| * Fix signed to unsigned comparisons reported by g++ 6.1.0Pavel Roskin2016-07-081-1/+1
| |
| * Use g_new or g_new0 when C++ compiler would complain about implicit castPavel Roskin2016-07-082-2/+2
| |
| * Introduce glib style macros for allocating memory with typePavel Roskin2016-07-081-0/+7
| |
| * Fix warnings detected by -Wwrite-stringsPavel Roskin2016-07-084-11/+11
| |
| * Make program_name constant, don't duplicate or free itPavel Roskin2016-07-082-9/+3
| |
| * Fix format warnings in log_message() callsPavel Roskin2016-06-211-6/+4
| |
| * Check string format in log_messagePavel Roskin2016-06-213-12/+13
| | | | | | | | | | Move "printflike" definition to arch.h, it's used both by log.h and os_calls.h.
| * Fix incorrect use of "it's" and "its", adjust wordingPavel Roskin2016-06-211-1/+1
| |
* | sesman: env_set_user, fix potential bof issuesspeidy2016-07-222-10/+14
|/
* xrdp_wm: fix for multimon, draw login window and log window on primaryspeidy2016-05-171-0/+1
| | | monitor
* Merge pull request #370 from proski/typosItamar Reis Peixoto2016-05-062-6/+6
|\ | | | | Typo fixes and more
| * Use uniform comments for GUIDsPavel Roskin2016-05-051-5/+5
| |
| * Typo fixesPavel Roskin2016-05-041-1/+1
| |
* | Merge pull request #332 from metalefty/freebsd/ipv6jsorg712016-05-051-40/+47
|\ \ | |/ |/| common: add log for g_tcp_connect
| * common: no logic change, indent 2 -> 4Koichiro IWAO2016-02-231-39/+39
| |
| * common: no logic change, fix alignment, whitespacesKoichiro IWAO2016-02-231-2/+2
| |
| * common: add log for g_tcp_connectKoichiro IWAO2016-02-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in case getaddrinfo(3) might fail. In FreeBSD, AI_V4MAPPED support for getaddrinfo(3) was very recently implemented[1]. Most of FreeBSD systems in the world do not have this implementation yet. This will be a problem when AI_V4MAPPED isn't supported and xrdp is built with IPv6 option. In such a case, g_tcp_connect always fails. Of course getaddrinfo(3) might fail in other cases. The log helps us to know what's happening. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092
* | Merge pull request #360 from proski/format-warningsjsorg712016-05-032-1/+5
|\ \ | | | | | | Warning fixes
| * | Fix more format warningsPavel Roskin2016-04-211-1/+1
| | |
| * | Include config_ac.h from common/os_calls.h to enable all format warningsPavel Roskin2016-04-211-0/+4
| | |
* | | trans: set non blocking socket after acceptJay Sorg2016-04-271-1/+1
| | |
* | | Add unnamed semaphore support on Mac OSPavel Roskin2016-04-231-0/+15
|/ / | | | | | | | | | | | | sem_init() is not functional on Mac OS. Use the Grand Central Dispatch implementation. Make libscp_lock.c use semaphores through the thread_calls wrapper.
* | common: call recv/send before can_recv/can_sendJay Sorg2016-04-061-51/+45
| |
* | common: fix warningsJay Sorg2016-04-021-3/+7
| |
* | Merge pull request #341 from proski/sanity-checksjsorg712016-03-161-5/+14
|\ \ | | | | | | Sanity checks
| * | Annotate printf-like functions if supported by the compilerPavel Roskin2016-03-031-5/+14
| |/ | | | | | | Both GCC and Clang support it. Add a macro from Autoconf archive to check for format attribute support.
* | fix warnings, move some calls to os_callsJay Sorg2016-03-162-0/+24
| |
* | Don't attempt to intercept SIGKILL, it doesn't work on any OSJay Sorg2016-03-142-12/+0
|/
* common: minor fix for older openssl keygenJay Sorg2016-02-221-1/+1
|
* Merge branch 'devel' of git:neutrinolabs/xrdp into develJay Sorg2016-02-226-31/+29
|\
| * Move headers from EXTRA_DIST to sources, sort alphabeticallyPavel Roskin2016-02-211-23/+21
| | | | | | | | There should be no functional difference.
| * Fix typosPavel Roskin2016-02-134-5/+5
| |
| * Stop redefining libdir, use moduledir for ${libdir}/xrdpPavel Roskin2016-02-122-3/+3
| | | | | | | | | | | | | | libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries.
* | common: fix for key generated smaller than asked forJay Sorg2016-02-221-12/+20
|/
* common: updates for file.cJay Sorg2016-02-091-23/+32
|
* Merge pull request #273 from gschwind/develjsorg712016-02-081-75/+48
|\ | | | | fix wrong handle of commented section in configuration file.
| * fix wrong handle of commented section in configuration file.Benoit Gschwind2015-08-191-75/+48
| | | | | | | | | | | | | | | | | | - fix parssing of commented section like the line: #[section_name] or ![section_name] - add few comments - improve redability
* | Merge pull request #254 from metalefty/freebsd/ipv6Itamar Reis Peixoto2016-02-081-3/+7
|\ \ | | | | | | Unbreak IPv6 on FreeBSD and add IPv6-only option
| * | common: add --enable-ipv6only optionKoichiro IWAO2015-07-021-0/+4
| | |
| * | common: drop ipv6 autodetection only valid for linuxKoichiro IWAO2015-07-021-3/+3
| | |
* | | More spelling fixes found by codespell and aspellPavel Roskin2016-01-301-1/+1
| | |
* | | Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGSPavel Roskin2016-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and includes. AM_CFLAGS is for flags affecting the compiler, such as debug and optimization settings. INCLUDES is an obsolete name. Users can pass INCLUDES and break compilation. AM_CPPFLAGS is more explicit that the flags come from Automake and should not be overridden.
* | | Run through codespellPavel Roskin2016-01-142-3/+3
| | |
* | | common: check for term in force send and recvJay Sorg2016-01-111-54/+66
| | |
* | | no logic change, remove trailing spaceJay Sorg2015-12-111-1/+1
| | |