summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| | |
* | | common: fix possible deadlock in transJay Sorg2015-11-021-1/+2
| | |
* | | rename g_tcp_can_recv to g_sck_can_recvJay Sorg2015-10-072-4/+4
| | |
* | | common: change wait objs to use 'pipe' and remove per process temp ↵Jay Sorg2015-10-062-250/+191
| | | | | | | | | | | | directories in /tmp/.xrdp/
* | | common: set log file fd to close on execJay Sorg2015-09-271-0/+7
| | |
* | | common: fix logic for internal_log_endJay Sorg2015-09-271-1/+1
| |/ |/|
* | common: remove d3des filesJay Sorg2015-08-183-568/+0
| |
* | common: changes to trans for timeoutJay Sorg2015-08-181-4/+72
| |
* | common: add g_mirror_memcpyJay Sorg2015-08-182-0/+58
| |