Commit Graph

3198 Commits

Author SHA1 Message Date
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.
2017-01-15 00:57:59 -08:00
Idan Freiberg
63472bb181 Merge pull request #619 from neutrinolabs/master
Merge master into devel
2017-01-15 08:56:47 +02:00
Idan Freiberg
a64e1789c5 Merge pull request #615 from speidy/channels_fixes
Channels improvements
2017-01-15 08:55:00 +02:00
speidy
b7da395b5e libxrdp: use constant RDP_DATA_PDU_LOGON 2017-01-15 08:51:43 +02:00
speidy
0a5bc44a0b libxrdp: use log_message 2017-01-15 08:46:04 +02:00
speidy
264aad7603 neutrinordp: add session_info 2017-01-15 08:24:59 +02:00
Jay Sorg
6f74efa70a add session_info
Conflicts:
	libxrdp/libxrdp.h
2017-01-15 08:20:50 +02:00
metalefty
9f5656933b Merge pull request #578 from proski/warnings
Warning fixes
2017-01-13 07:03:05 -02:00
Koichiro IWAO
f29a98b243 TLS: log client port in addition to ssl protocol and cipher 2017-01-13 17:59:29 +09:00
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.
2017-01-11 23:25:42 -08:00
Pavel Roskin
f1a521204a Remove redundant function declarations 2017-01-11 23:25:42 -08:00
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.
2017-01-11 23:25:42 -08:00
Idan Freiberg
e08c85aa42 Merge pull request #618 from metalefty/max_disc_time
sesman: print max_disc_time as DisconnectedTimeLimit
2017-01-12 06:58:12 +02:00
Koichiro IWAO
c89c1318f8 obey coding standard, no logic change 2017-01-12 09:28:22 +09:00
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.
2017-01-11 12:24:59 -08:00
Pavel Roskin
b8ed23daab Constify the value argument to mod_set_param 2017-01-11 11:59:11 -08:00
Ricardo Duarte
a959a9f851 Move mouse before click 2017-01-10 12:22:06 -08:00
metalefty
f68d2b8a59 Merge pull request #576 from proski/nopam
Remove obsolete --enable-nopam option
2017-01-10 17:30:14 +09:00
metalefty
f9a5b637c7 Merge pull request #585 from proski/travis
.travis.yml: use -Werror, test two configurations - minimal and maximal
2017-01-10 17:30:00 +09:00
metalefty
7a9b8bce89 Merge pull request #580 from proski/winattr
rail: remove unneeded call to XGetWindowAttributes()
2017-01-10 17:26:14 +09:00
Koichiro IWAO
c3fbd71513 sesman: print max_disc_time as DisconnectedTimeLimit
not max_idle_time.
2017-01-10 15:35:16 +09:00
Pavel Roskin
c049c3dfd0 rail: remove unneeded call to XGetWindowAttributes()
It is already called above "if" with the same arguments.
2017-01-06 11:24:17 -08:00
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.
2017-01-06 11:24:10 -08:00
Pavel Roskin
ce69280951 Remove obsolete --enable-nopam option 2017-01-06 11:23:44 -08:00
Pavel Roskin
7b32fc864c Respect verbosity settings when generating manual pages 2017-01-06 11:06:09 -08:00
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.
2017-01-06 10:52:44 -08:00
speidy
6810aa3f79 libxrdp: libxrdp_send_to_channel, improve error message 2017-01-06 08:32:30 +02:00
speidy
a82d412754 libxrdp: channels, respect xrdp.ini channel blocking also for data
coming in from chansrv
2017-01-06 08:32:30 +02:00
speidy
58d8cb0fd2 libxrdp: ignore incoming channels with empty names 2017-01-06 08:01:33 +02:00
speidy
94cdbdcee6 libxrdp: change channel_code into a meaningful name 2017-01-06 07:59:49 +02:00
metalefty
e83a7c1fef Merge pull request #586 from proski/tjpeg-warnings
Fix all warnings in TurboJPEG code
2017-01-06 13:24:59 +09:00
metalefty
ac4c0404ca Merge pull request #579 from proski/voiddecl
Use "void" for empty argument list in declarations
2017-01-06 13:23:42 +09:00
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".
2017-01-05 17:27:20 -08:00
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.
2017-01-05 17:27:12 -08:00
jsorg71
15a24ff1c4 Merge pull request #612 from proski/includes
Use <> for system includes, move system includes above local ones
2017-01-05 16:01:52 -08:00
jsorg71
5194311d9d Merge pull request #611 from volth/support-enable-xrdpdebug=yes-2
fix build with --enable-xrdpdebug=yes
2017-01-05 16:00:51 -08:00
jsorg71
c3a38984d3 Merge pull request #607 from proski/pkgconfig
Exit with error message if pkg-config is not found
2017-01-05 10:38:45 -08:00
jsorg71
65084d26a0 Merge pull request #610 from proski/gitignore
Ignore untracked files in submodules, ignore X11rdp
2017-01-05 10:38:02 -08:00
Pavel Roskin
7ba3610787 Use <> for system includes, move system includes above local ones 2017-01-04 13:13:20 -08:00
volth
26a26ef906 fix build with --enable-xrdpdebug=yes 2017-01-04 19:20:44 +00:00
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.
2017-01-04 10:37:42 -08:00
Pavel Roskin
6cf62e6d45 Don't consider submodules dirty if they contain untracked files 2017-01-04 10:37:22 -08:00
Pavel Roskin
02f78abf46 Ignore X11rdp executable 2017-01-04 10:37:22 -08:00
jsorg71
edd8d5e60d Merge pull request #596 from speidy/rfx_frameacks
RFX: fix frame acks handling
2017-01-04 10:35:14 -08:00
volth
37b4a14b54 fix build with --enable-xrdpdebug=yes 2017-01-04 13:00:01 +00:00
Itamar Reis Peixoto
cd8b5f0030 Merge pull request #606 from proski/xfixes-msg
When Xfixes.h is checked, the user should have libX11 already
2016-12-31 11:17:50 -02:00
Pavel Roskin
ac51259573 When Xfixes.h is checked, the user should have libX11 already
No need to confuse the user by asking to install libX11 headers.
2016-12-31 00:51:13 -08:00
jsorg71
b84cb3583c Merge pull request #587 from proski/submodules
bootstrap: checkout submodules if they are missing
2016-12-29 21:53:06 -08:00
speidy
70e9132ab1 xrdp: add some logging, remove unused var 2016-12-29 08:38:59 -05:00
speidy
1f930f252f xrdp: fix for codec frame acks handling.
can handle zero unacked frames now.

This should make RemoteFX usable with Parallels Client. they always
wan't zero unacked frames on the wire.
2016-12-29 00:41:16 -05:00