Commit Graph

53 Commits

Author SHA1 Message Date
Pavel Roskin
a618d4f757 Don't use final newline in log calls, it's already appended 2016-10-17 08:54:07 -07:00
Pavel Roskin
931fb90832 sesrun: remove unused g_sck and write-only g_pid 2016-09-08 20:26:19 -07:00
Pavel Roskin
2c13ef5c6d Use enum logLevels consistently for log levels 2016-07-08 04:29:57 +00:00
Pavel Roskin
951e632757 Make program_name constant, don't duplicate or free it 2016-07-08 04:27:07 +00:00
Pavel Roskin
f7ef9bb938 Fix scp_init() invocation, it takes no arguments 2016-07-08 04:15:38 +00:00
Jay Sorg
38241f2a0b Fix all format warnings and some unused variable warnings 2016-03-14 17:04:08 -07:00
Pavel Roskin
59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
There should be no functional difference.
2016-02-21 23:06:48 -08:00
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.
2016-02-14 10:27:17 -08:00
Pavel Roskin
92a6833e9b Fix typos 2016-02-13 20:41:07 -08:00
Pavel Roskin
09709d3ced xcon: include unistd.h, it's needed for select() on MacOS 2016-02-12 23:52:45 -08:00
Pavel Roskin
f1ba2b2c9d xcon: include sys/types.h for select() and related macros 2016-01-31 23:35:40 -08:00
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.
2016-01-30 17:18:52 -08:00
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.
2016-01-29 22:45:00 -08:00
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.
2016-01-26 23:22:05 -08:00
mirabilos
57a7f18cb3 add historic GPLv2+ to Simone’s files
this becomes GPLv3+ when combined with Apache v2 licenced files
2015-08-26 23:33:00 +02:00
Laxmikant Rashinkar
27055d5762 coverity: improper use of negative value 2014-07-26 13:33:23 -07:00
Laxmikant Rashinkar
fde7be5151 coverity: fixed issue argument cannot be negative 2014-07-23 19:07:38 -07:00
Laxmikant Rashinkar
3bb31876e7 coverity: fixed resolution leak issues 2014-07-19 11:56:00 -07:00
Jay Sorg
c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Philipp Hahn
8f5005f43e sesman/tools: Disable debug tools
sestest and xcon look like debugging tools.
Don't install them by default.
2013-01-28 11:04:28 +01:00
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
2012-09-19 20:51:34 -07:00
Jay Sorg
17ee0e3aed sesman/tools: added xcon 2012-07-31 19:01:41 -07:00
Jay Sorg
58f5dcc030 autotools: change top_srcdir to top_builddir for LIBADD 2012-07-13 16:18:02 -07:00
Jay Sorg
856783ba95 no logic changes, remove warnings and coding style changes 2012-06-10 23:47:08 -07:00
norrarvid
3f3a4d0b35 Support for invalidate request sent from clients added 2012-06-05 15:54:28 +02:00
norrarvid
4d4ebbf363 Initial syslog support in XRDP 2012-05-27 17:17:39 +02:00
Jay Sorg
d8f9e8310d move temp files from /tmp to /tmp/.xrdp 2012-02-11 13:56:27 -08:00
Jay Sorg
8146a27fe3 added disconnect tool 2011-07-13 22:30:37 -07:00
Jay Sorg
7ad58be480 warnings 2011-07-05 20:27:11 -07:00
Itamar Reis Peixoto
6b08b8b71e include missing files in make dist 2010-11-20 22:13:50 -02:00
jsorg71
8490a2b24b update copyright year 2010-07-04 07:36:06 +00:00
jsorg71
3cfea6a959 patch from Christoph Brill - Don't always assume 3350 as the sesman port 2009-08-05 03:33:19 +00:00
jsorg71
23ffdb0c5f autotools fix and file_loc.h simplified 2009-05-19 04:23:49 +00:00
jsorg71
af83cb7cae remove old makefiles 2008-12-16 02:47:45 +00:00
jsorg71
c3c6b39e3d fix for older auto tools 2008-11-02 21:27:42 +00:00
ilsimo
7c79298612 added first management code
added a rough management tool
fixes in session.c
2008-09-11 20:23:15 +00:00
jsorg71
fa30584146 common change 2008-08-12 06:56:19 +00:00
jsorg71
e2ddf85628 adding autotools 2008-08-10 17:59:36 +00:00
ilsimo
d14b076a70 still more work on logging
libscp makefile fix
2008-07-30 10:58:30 +00:00
jsorg71
c81817ca16 renaming and moving install files 2008-05-04 05:19:34 +00:00
jsorg71
3ee71a2759 need tabs 2008-03-17 18:05:05 +00:00
jsorg71
6385d06f9b need tabs 2008-03-16 23:57:20 +00:00
ilsimo
57484bd701 more work on logging 2008-02-21 15:50:31 +00:00
jsorg71
cd57d1b689 update copyright year 2008-01-30 07:53:57 +00:00
jsorg71
5bec95f123 added mac makefiles 2007-09-27 18:09:29 +00:00
ilsimo
f06f9591bc fixing sessvc starting code and removing SESMAN_SESSVC_FILE definition 2007-09-17 15:28:51 +00:00
jsorg71
63b3893dd5 added vars so tools don't install in root dir 2007-05-23 05:53:03 +00:00
ilsimo
b97a2d2631 adding forgotten files 2007-05-06 21:14:09 +00:00
ilsimo
f22b5b42a7 making libscp a real library
some fixes in configuration options
2007-05-06 21:02:25 +00:00
jsorg71
9393b94a2e added -f to make clean rm command 2007-04-26 06:08:31 +00:00