Commit Graph

2955 Commits (983a7073bff0d39e8d6923146cb5acbebd3e4aa6)
 

Author SHA1 Message Date
Pavel Roskin 983a7073bf Use OPENSSL_CFLAGS even if -lcrypto is used directly
OpenSSL headers are used even when the full set of OpenSSL libraries is
not used.
8 years ago
Pavel Roskin bbe718bd3a Don't define RDP_IS_XORG and RDP_IS_XFREE86, they are unused 8 years ago
Pavel Roskin 8db3de08eb Remove missing directories from the include path for X11rdp 8 years ago
Pavel Roskin 5d3197618e Fix pixmap compilation with clang
Clang does not allow a variable to be used for the "K" register, even if
all uses of the inlined function use a constant value.

The current version of pixmap doesn't use the inline function. It uses a
macro regardless of the optimization level. There should be no
performance overhead from using the macro.
8 years ago
Pavel Roskin 5c32e79605 Fix libpciaccess compilation on non-Linux systems
Both gcc and clang have __builtin_bswap16 and __builtin_bswap32.
8 years ago
Pavel Roskin 265ce37077 Fix download caching, only download missing or currently empty files 8 years ago
metalefty 0afbd57638 Merge pull request #628 from metalefty/kill_disconnected
x11rdp: respect disconnect timeout set by XRDP_SESMAN_MAX_DISC_TIME
8 years ago
Idan Freiberg 19375dda7a Merge pull request #426 from metalefty/log-tls-version-and-cipher
TLS: log TLS version and cipher
8 years ago
Koichiro IWAO 97cd454cd6 x11rdp: respect disconnect timeout set by XRDP_SESMAN_MAX_DISC_TIME
The old code overwrites disconnect timeout to 60 sec when
XRDP_SESMAN_KILL_DISCONNECT is set to truthy value.
8 years ago
Idan Freiberg 5fa636be89 Merge pull request #605 from proski/pamconfig
Allow PAM file selection in configure, improve autodetection, add SUSE
8 years ago
Pavel Roskin 8799bbac42 Allow PAM file selection in configure, improve autodetection, add SUSE
Use easy to understand names for config files (debian, redhat, suse,
unix). Move all autodetection to a separate script.
8 years ago
Idan Freiberg 63472bb181 Merge pull request #619 from neutrinolabs/master
Merge master into devel
8 years ago
Idan Freiberg a64e1789c5 Merge pull request #615 from speidy/channels_fixes
Channels improvements
8 years ago
speidy 0a5bc44a0b libxrdp: use log_message 8 years ago
metalefty 9f5656933b Merge pull request #578 from proski/warnings
Warning fixes
8 years ago
Koichiro IWAO f29a98b243 TLS: log client port in addition to ssl protocol and cipher 8 years ago
Pavel Roskin 8ee886a5cc Don't log device_data_len in the code where it may be uninitialized
Log device_data_len only in the code that reads it.
8 years ago
Pavel Roskin f1a521204a Remove redundant function declarations 8 years ago
Pavel Roskin 9a2e728396 Remove send_channel_data() from devredir.h, it's declared in chansrv.h
Include "chansrv.h" from devredir.c to have send_channel_data()
declaration.
8 years ago
Idan Freiberg e08c85aa42 Merge pull request #618 from metalefty/max_disc_time
sesman: print max_disc_time as DisconnectedTimeLimit
8 years ago
Koichiro IWAO c89c1318f8 obey coding standard, no logic change 8 years ago
Pavel Roskin d46a26c1c3 Don't call file_read_section() on unitialized section name
This can only happen if xrdp.ini is corrupted and has no sections for
backends.
8 years ago
Pavel Roskin b8ed23daab Constify the value argument to mod_set_param 8 years ago
Ricardo Duarte a959a9f851 Move mouse before click 8 years ago
metalefty f68d2b8a59 Merge pull request #576 from proski/nopam
Remove obsolete --enable-nopam option
8 years ago
metalefty f9a5b637c7 Merge pull request #585 from proski/travis
.travis.yml: use -Werror, test two configurations - minimal and maximal
8 years ago
metalefty 7a9b8bce89 Merge pull request #580 from proski/winattr
rail: remove unneeded call to XGetWindowAttributes()
8 years ago
Koichiro IWAO c3fbd71513 sesman: print max_disc_time as DisconnectedTimeLimit
not max_idle_time.
8 years ago
Pavel Roskin c049c3dfd0 rail: remove unneeded call to XGetWindowAttributes()
It is already called above "if" with the same arguments.
8 years ago
Pavel Roskin db098a98b9 .travis.yml: use -Werror, test two configurations - minimal and maximal
Use separate entries for every command. Travis CI would still run the
commands sequentially, and it would provide better annotation for the
output.
8 years ago
Pavel Roskin ce69280951 Remove obsolete --enable-nopam option 8 years ago
Pavel Roskin 7b32fc864c Respect verbosity settings when generating manual pages 8 years ago
Pavel Roskin f25659d2ee Suppress versioning for modules, tell libtool they are modules
Versioning is for libraries. Modules are not libraries; no code is linked
against them.

Libtool makes sure the modules can be opened by dlopen(). That is already
true for ELF format, but other file formats may need special processing.
8 years ago
speidy 6810aa3f79 libxrdp: libxrdp_send_to_channel, improve error message 8 years ago
speidy a82d412754 libxrdp: channels, respect xrdp.ini channel blocking also for data
coming in from chansrv
8 years ago
speidy 58d8cb0fd2 libxrdp: ignore incoming channels with empty names 8 years ago
speidy 94cdbdcee6 libxrdp: change channel_code into a meaningful name 8 years ago
metalefty e83a7c1fef Merge pull request #586 from proski/tjpeg-warnings
Fix all warnings in TurboJPEG code
8 years ago
metalefty ac4c0404ca Merge pull request #579 from proski/voiddecl
Use "void" for empty argument list in declarations
8 years ago
Pavel Roskin 6664aac00f Use "void" for empty argument list in declarations
In C, an empty argument list in a declaration means that the function
can accept any arguments. Use "void" instead, it means "no arguments".

C++ treats void and empty list as "no arguments".
8 years ago
Pavel Roskin bcaa1709e0 Fix all warnings in TurboJPEG code
Actually use the error code from tjCompress() by logging the errors.

Make sure width is more than zero before filling the pad with the last
pixel data.
8 years ago
jsorg71 15a24ff1c4 Merge pull request #612 from proski/includes
Use <> for system includes, move system includes above local ones
8 years ago
jsorg71 5194311d9d Merge pull request #611 from volth/support-enable-xrdpdebug=yes-2
fix build with --enable-xrdpdebug=yes
8 years ago
jsorg71 c3a38984d3 Merge pull request #607 from proski/pkgconfig
Exit with error message if pkg-config is not found
8 years ago
jsorg71 65084d26a0 Merge pull request #610 from proski/gitignore
Ignore untracked files in submodules, ignore X11rdp
8 years ago
Pavel Roskin 7ba3610787 Use <> for system includes, move system includes above local ones 8 years ago
volth 26a26ef906 fix build with --enable-xrdpdebug=yes 8 years ago
Pavel Roskin 3376a6daf8 Exit with error message if pkg-config is not found
PKG_PROG_PKG_CONFIG does not exit if it fails to find pkg-config.

Continuing without pkg-config leads to misleading error messages when
checks for packages fail.
8 years ago
Pavel Roskin 6cf62e6d45 Don't consider submodules dirty if they contain untracked files 8 years ago
Pavel Roskin 02f78abf46 Ignore X11rdp executable 8 years ago