Commit Graph

3011 Commits

Author SHA1 Message Date
Jay Sorg e0ac84aaa4 change some casts to long long 2017-02-22 20:39:56 -08:00
Jay Sorg c5e9bc7851 common: print list items as pointers 2017-02-22 20:39:56 -08:00
Jay Sorg 7825246d7a fix warning new since stdint.h change 2017-02-22 20:39:56 -08:00
Koichiro IWAO 2424a9c020 Workaround for a regression of JP keyboard detection #663
caused by 9c31bd5.  This is not a complete fix but just a workaround
because keylayout value of Japanese keyboard can be other than these
4 values. This workaround still doesn't cover all JP keyboards.

  - 0x00000411
  - 0xe0010411
  - 0xe0200411
  - 0xe0210411

Looking for `0411` in lower 16 bits is enough to detect JP keyboards.
2017-02-16 18:40:06 +09:00
Pavel Roskin f8d22ce673 aarch64 doesn't require pointers to be aligned 2017-02-13 21:00:22 -08:00
Pavel Roskin 8a1de8dbc4 Remove trailing whitespace 2017-02-08 13:30:56 +09:00
Pavel Roskin 33790e1fed Use middle dot instead of dash to connect directories to descriptions
Dashes are too similar to the line drawing characters used to represent
the directory tree.
2017-02-08 13:30:56 +09:00
Pavel Roskin 658aa270ba Remove reference to rdp directory, it was removed 2017-02-08 13:30:56 +09:00
Pavel Roskin c7bc634e17 Improve Fedora installation instructions 2017-02-08 13:30:56 +09:00
Pavel Roskin 90083e5f23 Remove --break-blocks option, it doesn't match the existing code style
Strip trailing newlines.
2017-02-07 13:51:22 +09:00
Koichiro IWAO f11eed3277 chansrv: fix warnings in pulse module 2017-02-02 21:46:49 -08:00
Pavel Roskin dc1e341f5a Constify input arguments of ssl_mod_exp() and ssl_gen_key_xrdp1() 2017-02-02 21:39:10 -08:00
Pavel Roskin 35d7a0b34f Constify all input string arguments in keygen.c 2017-02-02 21:39:10 -08:00
Pavel Roskin 6a3f0a75bd Remove support for OpenSSL older than 0.9.8
It's hard to find an older version of OpenSSL even on long term support
distros.
2017-02-02 21:39:10 -08:00
Pavel Roskin d8d6b08aa3 Update m4/ax_type_socklen_t.m4, it works with -Wall now 2017-02-02 21:33:05 -08:00
Pavel Roskin 130fa12845 Don't use ACCESS macro
ACCESS is defined unconditionally in the files that use it. No comments
exist about that macro. The code guarded by the macro is PAM related.
2017-02-02 21:28:53 -08:00
Pavel Roskin 99e4e4520a xrdp-sesadmin: show sessions in human readable format 2017-02-02 21:24:50 -08:00
Pavel Roskin ea6882fd4c xrdp-sesadmin: refactor array access 2017-02-02 21:24:50 -08:00
Pavel Roskin 0017081d78 xrdp-sesadmin: fix crash on network or authentication error
If scp_v1c_mng_get_session_list() returns an error, report it to the
user and exit. Session list is not initialized in that case and should
not be freed.

g_free() already checks its argument for being to NULL, remove an extra
check.
2017-02-02 21:24:50 -08:00
Koichiro IWAO 021b79ba55 docs: remove IdleTimeLimit until it is actually implemented
it gives users false hope and finally disappoints them.
2017-01-31 05:07:06 -03:00
Itamar Reis Peixoto 64af6ec03a Update README.md (#651) 2017-01-30 20:18:56 -02:00
Dominik George 5b2364196c Some fixes/improvements to service files. (#646)
* Add Documentation field so the systemctl help command works.
 * Remove syslog.target as syslog is normally socket-activated now.
2017-01-30 20:15:43 -02:00
Jay Sorg a1aff316dc change log message to long long 2017-01-29 23:14:33 -08:00
Jay Sorg d7967ec897 minor arch.h change 2017-01-29 23:14:33 -08:00
Jay Sorg b5029c2596 sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bit 2017-01-29 23:14:33 -08:00
Jay Sorg 3b84314a1a arch.h changes to include stdint.h 2017-01-29 23:14:33 -08:00
metalefty cc48345f40 sesman: remove unnecessary fork for FreeBSD (#650)
it is not only unnecessary but causes another bug.
2017-01-28 21:14:55 +09:00
mirabilos 6257bae23f Add GNU/kFreeBSD support (#645)
* GNU/kFreeBSD is a FreeBSD variant, for code purposes.

* GNU/kFreeBSD uses GNU/Linux-ish init scripts, however.
2017-01-26 23:02:41 -02:00
Pavel Roskin 0bb048d35e Fix several cases of discarding return values 2017-01-25 23:22:29 -08:00
metalefty 9f66ddfc33 Merge pull request #637 from proski/const
Constify string arguments in xrdp-chansrv sources
2017-01-26 12:06:36 +09:00
Pavel Roskin e35b5a4708 Constify string arguments in xrdp-chansrv sources 2017-01-22 22:39:10 -08:00
Idan Freiberg 92d9f2e37e Merge pull request #627 from proski/openssl
Check for openssl binary in configure, don't fail if not found
2017-01-23 08:22:29 +02:00
Idan Freiberg dbfea35662 Merge pull request #633 from proski/systemd
Only check for systemd on Linux, no need to warn users of other OSes
2017-01-23 08:17:18 +02:00
Idan Freiberg 4a23b7939c Merge pull request #630 from selu/devel
Fix calling XChangeProperty in clipboard provide
2017-01-23 08:16:18 +02:00
Idan Freiberg 6a5f90ca6e Merge pull request #636 from proski/painter
Fix incorrect argument to painter_line()
2017-01-23 08:15:39 +02:00
Idan Freiberg 482671fd18 Merge pull request #625 from speidy/proxy_session_info
Pass session info in proxy mode
2017-01-23 08:15:18 +02:00
Pavel Roskin 3cace61d9e Only check for systemd on Linux, no need to warn users of other OSes 2017-01-21 18:20:45 -08:00
Pavel Roskin 6807b616ed Fix incorrect argument to painter_line() 2017-01-21 18:20:27 -08:00
Pavel Roskin 250bb61025 Check for openssl binary in configure, don't fail if not found
Prefer openssl binary from the same location as the openssl library.

Make it possible to suppress certificate generation during install by
passing OPENSSL=: to make.
2017-01-21 18:20:24 -08:00
Itamar Reis Peixoto e217e68acb Merge pull request #635 from proski/bindsto
Change BindTo to BindsTo, it was renamed in systemd long time ago
2017-01-21 19:34:55 -02:00
Pavel Roskin 409623a65f Change BindTo to BindsTo, it was renamed in systemd long time ago
BindTo was left for compatibility.

https://lists.freedesktop.org/archives/systemd-commits/2012-July/002272.html
2017-01-20 09:05:00 -08:00
Pavel Roskin 2b614ed4ab Remove librdp.so sources, it's obsoleted by neutrinordp
Remove "rdp-any" section from xrdp.ini.
2017-01-19 20:13:49 -08:00
metalefty c5e6eec12f Merge pull request #603 from proski/x11rdp
Some good things extracted from the X11rdp MacOS port
2017-01-19 13:13:58 +09:00
metalefty 27b58884fd Merge pull request #629 from proski/cmdline
Improve command line documentation for xrdp and xrdp-sesman
2017-01-19 13:12:38 +09:00
Pavel Roskin ec1655d3ca Compile applewmproto before xorg-server
xorg-server can use applewmproto if it's available.
2017-01-17 18:10:13 -08:00
Pavel Roskin 3b52a36afd Use fonts installed as part of X11rdp 2017-01-17 18:10:13 -08:00
Pavel Roskin 1e83db964b Fix Mesa compatibility with clang 2017-01-17 18:10:13 -08:00
Pavel Roskin 9c83414a9c Make sure X11rdp is not copied to a file called "bin"
It can happen if buildx.sh is run with one argument and them with another
without removing build_dir in between.
2017-01-17 18:10:13 -08:00
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.
2017-01-17 18:10:13 -08:00
Pavel Roskin bbe718bd3a Don't define RDP_IS_XORG and RDP_IS_XFREE86, they are unused 2017-01-17 18:10:13 -08:00