Commit Graph

60 Commits (8a1de8dbc4310c00ce8fbe939346b55c4db1c2e9)

Author SHA1 Message Date
Pavel Roskin 99e4e4520a xrdp-sesadmin: show sessions in human readable format 8 years ago
Pavel Roskin ea6882fd4c xrdp-sesadmin: refactor array access 8 years ago
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.
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
volth 26a26ef906 fix build with --enable-xrdpdebug=yes 8 years ago
volth 37b4a14b54 fix build with --enable-xrdpdebug=yes 8 years ago
Pavel Roskin a01aaa19b8 Fix help text to match the manual and the actual behavior
The help text mentions "LIST" and "KILL" commands, but the manual says
"list" and "kill", and the command line parser expects the later.
8 years ago
Pavel Roskin a618d4f757 Don't use final newline in log calls, it's already appended 8 years ago
Pavel Roskin 931fb90832 sesrun: remove unused g_sck and write-only g_pid 9 years ago
Pavel Roskin 2c13ef5c6d Use enum logLevels consistently for log levels 9 years ago
Pavel Roskin 951e632757 Make program_name constant, don't duplicate or free it 9 years ago
Pavel Roskin f7ef9bb938 Fix scp_init() invocation, it takes no arguments 9 years ago
Jay Sorg 38241f2a0b Fix all format warnings and some unused variable warnings 9 years ago
Pavel Roskin 59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
There should be no functional difference.
9 years ago
Pavel Roskin 50cbf01044 xrdp-sesadmin: show help and exit if mandatory arguments are not given
Don't mark password as mandatory, it's asked if not provided on the
command line.
9 years ago
Pavel Roskin 92a6833e9b Fix typos 9 years ago
Pavel Roskin 09709d3ced xcon: include unistd.h, it's needed for select() on MacOS 9 years ago
Pavel Roskin f1ba2b2c9d xcon: include sys/types.h for select() and related macros 9 years ago
Pavel Roskin 00e70a5c54 Use standard autotools means to detect X11
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.

With this patch, X Windows system is correctly detected on Mac OS X.
9 years ago
Pavel Roskin a452d8d36a Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
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.
9 years ago
Pavel Roskin 309fca35ac Don't use a symlink where #include would suffice
Absolute symlinks break when the source is moved to another location. In
the best case, the symlink will be replaced with a copy, but that creates
code duplication. A user who got the packaged source may decide to change
one config.c without realizing that another config.c will get the same
changes.

Don't ignore config.c, it's a regular source file now, albeit very
short.

Testing done: compiled inside and outside build directory.
9 years ago
mirabilos 57a7f18cb3 add historic GPLv2+ to Simone’s files
this becomes GPLv3+ when combined with Apache v2 licenced files
10 years ago
Laxmikant Rashinkar 27055d5762 coverity: improper use of negative value 11 years ago
Laxmikant Rashinkar fde7be5151 coverity: fixed issue argument cannot be negative 11 years ago
Laxmikant Rashinkar 3bb31876e7 coverity: fixed resolution leak issues 11 years ago
Jay Sorg c6fa03102f copyright year update 12 years ago
Philipp Hahn 8f5005f43e sesman/tools: Disable debug tools
sestest and xcon look like debugging tools.
Don't install them by default.
12 years ago
Laxmikant Rashinkar 1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
13 years ago
Jay Sorg 17ee0e3aed sesman/tools: added xcon 13 years ago
Jay Sorg 58f5dcc030 autotools: change top_srcdir to top_builddir for LIBADD 13 years ago
Jay Sorg 856783ba95 no logic changes, remove warnings and coding style changes 13 years ago
norrarvid 3f3a4d0b35 Support for invalidate request sent from clients added 13 years ago
norrarvid 4d4ebbf363 Initial syslog support in XRDP 13 years ago
Jay Sorg d8f9e8310d move temp files from /tmp to /tmp/.xrdp 13 years ago
Jay Sorg 8146a27fe3 added disconnect tool 14 years ago
Jay Sorg 7ad58be480 warnings 14 years ago
Itamar Reis Peixoto 6b08b8b71e include missing files in make dist 14 years ago
jsorg71 8490a2b24b update copyright year 15 years ago
jsorg71 3cfea6a959 patch from Christoph Brill - Don't always assume 3350 as the sesman port 16 years ago
jsorg71 23ffdb0c5f autotools fix and file_loc.h simplified 16 years ago
jsorg71 af83cb7cae remove old makefiles 16 years ago
jsorg71 c3c6b39e3d fix for older auto tools 17 years ago
ilsimo 7c79298612 added first management code
added a rough management tool
fixes in session.c
17 years ago
jsorg71 fa30584146 common change 17 years ago
jsorg71 e2ddf85628 adding autotools 17 years ago
ilsimo d14b076a70 still more work on logging
libscp makefile fix
17 years ago
jsorg71 c81817ca16 renaming and moving install files 17 years ago
jsorg71 3ee71a2759 need tabs 17 years ago
jsorg71 6385d06f9b need tabs 17 years ago
ilsimo 57484bd701 more work on logging 17 years ago