Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
9 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
9 years ago
Pavel Roskin
1ded8ec437
Remove unused string support in scp_session_set_addr()
...
Using the same argument for binary and text data is not a good idea. If
string support is ever needed, it should be a separate function.
Remove SCP_ADDRESS_TYPE_IPV4_BIN and SCP_ADDRESS_TYPE_IPV6_BIN, use
SCP_ADDRESS_TYPE_IPV4 and SCP_ADDRESS_TYPE_IPV6, which simplifies the
code.
9 years ago
Pavel Roskin
f908528a00
Downgrade "libscp initialized" to LOG_LEVEL_DEBUG, remove line number
...
It's a bad style to start the log with a cryptic warning.
9 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
Pavel Roskin
f93074a430
Add unnamed semaphore support on Mac OS
...
sem_init() is not functional on Mac OS. Use the Grand Central Dispatch
implementation.
Make libscp_lock.c use semaphores through the thread_calls wrapper.
9 years ago
Jay Sorg
a6cba63a89
fix a warning
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
92a6833e9b
Fix typos
9 years ago
Pavel Roskin
dcab7552db
Stop redefining libdir, use moduledir for ${libdir}/xrdp
...
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.
Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
9 years ago
Jay Sorg
ac901fd283
sesman: add missing break
9 years ago
Itamar Reis Peixoto
09a69fbec2
remove duplicated call to scp_session_set_bpp
9 years ago
Pavel Roskin
a61349c1d3
Allow sessions with 32 bpp
9 years ago
Pavel Roskin
5d23d007e9
Check return value of scp_session_set_bpp()
9 years ago
Pavel Roskin
5de1d31a75
Change an unconditional #warning to a comment
...
Notes about software design should not be shown as warnings to everybody
who compiles the code. Warnings should be about unexpected conditions
detected at the compile time.
9 years ago
Pavel Roskin
02c981e796
More spelling fixes found by codespell and aspell
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
Laxmikant Rashinkar
e4654b57ca
coverity: Resource leak (2nd round)
10 years ago
Laxmikant Rashinkar
0915d33d70
coverity: dead code
10 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
11 years ago
Jay Sorg
49fcc23673
sesman: added SessionVariables to sesman.ini and some indent cleanup
11 years ago
Laxmikant Rashinkar
883650700f
added support for using Xorg driver model
11 years ago
Jay Sorg
b4ce83a685
ipv6 fix for sesman
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
12 years ago
Jay Sorg
58f5dcc030
autotools: change top_srcdir to top_builddir for LIBADD
13 years ago
Jay Sorg
0944509cf0
sesman: missing else and remove some EOL whitespace
13 years ago
norrarvid
318e09fd47
fix merge conflics
13 years ago
Jay Sorg
856783ba95
no logic changes, remove warnings and coding style changes
13 years ago
norrarvid
42edcbb6c1
Improved logging
13 years ago
norrarvid
eef475e025
timeout added for the reply to come from sesman
13 years ago
norrarvid
10fdc5c17f
separate pam authentication for gateways
13 years ago
norrarvid
4d4ebbf363
Initial syslog support in XRDP
13 years ago
Jay Sorg
0392b0167a
autotool fixes
14 years ago
Itamar Reis Peixoto
6b08b8b71e
include missing files in make dist
14 years ago
Nicola Ruggero
d797b2cf49
Implemented client IP logging
14 years ago
Nicola Ruggero
4cf06dbbcb
Major code cleanup:
...
- Initialized and zeroed out local variables
- Check for some null pointers
- Fixed some typos
- Other minor changes (beautify, etc.)
14 years ago
jsorg71
d83ebaa97a
use do ... while (0) style for parse.h
14 years ago
jsorg71
8490a2b24b
update copyright year
15 years ago
jsorg71
7136d457e9
remove some dead code
15 years ago
jsorg71
acd9f3d82d
fix a crash when freeing struct SCP_SESSION
15 years ago
jsorg71
df8527b251
pass domain, program, and directory to sesman and use directory and program
15 years ago
jsorg71
23ffdb0c5f
autotools fix and file_loc.h simplified
16 years ago
jsorg71
3417482d10
update copyright year
16 years ago
jsorg71
67911e9fb9
added 15bpp support
16 years ago
jsorg71
af83cb7cae
remove old makefiles
16 years ago
ilsimo
1cae42594b
forgotten files
16 years ago
ilsimo
7c79298612
added first management code
...
added a rough management tool
fixes in session.c
16 years ago
jsorg71
f77934a58e
remove lib version
17 years ago
jsorg71
8c68a7d7f5
common and version changes
17 years ago
jsorg71
edf6d54b55
added define check for ipv6 structs
17 years ago