Armin Novak
09d43a66f4
Fixed tests and dead store warnings.
2017-03-28 16:49:56 +02:00
Armin Novak
99c45405cb
Fixed GetEnvironmentVariable.
2017-03-03 12:43:00 +01:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Marc-André Moreau
d72ff5d241
Merge pull request #3640 from awakecoding/uwp_fix
...
UWP portability fixes
2016-12-02 16:54:06 -05:00
Marc-André Moreau
53a61f512c
winpr: fix UWP portability
2016-12-02 13:18:55 -05:00
Martin Fleisz
d30a138a01
wtsapi: Fix issue with setting custom API table
2016-11-24 10:35:36 +01:00
Armin Novak
44b8756617
Warning fixes.
2016-10-06 13:43:10 +02:00
Norbert Federa
c6aeba6a67
winpr/wtsapi: fixed race conditions and tests
2016-05-30 17:54:59 +02:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Bernhard Miklautz
7d49893ddf
winpr/wtsapi: disable tests that block on windows
2015-06-22 19:09:59 +02:00
Bernhard Miklautz
bf73f4e4f1
Fix unchecked strdups
...
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
0b902eeb5d
wtsapi: add WTSStartRemoteControlSessionEx
...
WTSStartRemoteControlSession doesn't allow to specify additional flags
therefore add a new extended version WTSStartRemoteControlSessionEx
with an additional "flags" parameter.
The following flags are defined:
REMOTECONTROL_FLAG_DISABLE_KEYBOARD - disable keyboard input
REMOTECONTROL_FLAG_DISABLE_MOUSE - disable mouse input
REMOTECONTROL_FLAG_DISABLE_INPUT - disable input (keyboard and mouse)
2015-02-16 12:16:54 +01:00
Bernhard Miklautz
67fb97f68f
wtsapi: add TestWtsApiExtra
...
Move wtsapi tests that only make sense when run within a session
("interactive") to TestWtsApiExtra since they either brake automated
builds or don't make sense if the return value isn't checked.
TestWtsApiExtra is not build by default but can be enabled by specifying
-DTESTS_WTSAPI_EXTRA=ON (this option is only available if BUILD_TESTING
is enabled).
The tests set the ctest label WTSAPI_EXTRA and can therefore also
be run explicitly with ctest -L WTSAPI_EXTRA.
2015-02-10 18:05:40 +01:00
Martin Haimberger
256b420afc
wtsapi: extended wtsapi
...
- added missing definitions for session change notification
- extended wtsapi to allow remote logon and logoff against the wtsapi (this allows remote wtsapi usage)
2015-02-09 06:30:18 -08:00
Armin Novak
5075aec5a2
Added function WTSErrorToString to get a string from an error code.
2015-01-20 11:03:21 +01:00
Armin Novak
c3f47128db
Fixed header include.
2014-11-17 01:39:45 +01:00
Armin Novak
8d4589b1e1
Replaced fprintf error messages with WLog.
2014-11-16 12:21:38 +01:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Marc-André Moreau
e0a063a3f9
libwinpr-wtsapi: improve Win32 winsta.dll-based channel API
2014-10-14 19:25:41 -04:00
Marc-André Moreau
f837ba3caa
libwinpr-wtsapi: implement overlapped i/o event handle Win32 wrapper
2014-10-14 15:23:07 -04:00
Marc-André Moreau
398eab35d4
libwinpr-wtsapi: add Win32 winsta.dll-based VC implementation
2014-10-13 10:55:11 -04:00
Marc-André Moreau
d5cbadee9d
libwinpr-utils: improve .ini file parser
2014-10-02 18:45:53 -04:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Marc-André Moreau
1ba42dccf3
shadow: improve DXGI support
2014-08-12 16:57:58 -04:00
Marc-André Moreau
8321d7ffad
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
2014-07-28 17:22:02 -04:00
Marc-André Moreau
2036b443eb
libwinpr-wtsapi: fix WtsApi32.dll dynamic loading on Windows
2014-07-26 15:23:39 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
247beff1b3
winpr: fix test compilation on Windows
2014-05-22 13:50:01 -04:00
Bernhard Miklautz
0bcd933e70
wtsapi: add fallback to load freerds lib
...
Try to load libfreerds-fdsapi.so directly if the freerds ini file
isn't found. This adds a fallback that uses the systems library
loading mechanisms (e.g LD_LIBRARY_PATH).
Might also be required for older version of FreeRDS.
2014-04-28 16:54:58 +02:00
Bernhard Miklautz
bc73a554fc
wtsapi: replaced printf with fprintf
2014-04-28 16:48:24 +02:00
Bernhard Miklautz
21bcf31c43
wtsapi: consolidate lib initialization and load
...
Move duplicated code to LoadAndInitialize.
2014-04-28 16:46:07 +02:00
Marc-André Moreau
6e2699d2d6
libwinpr-wtsapi: fix failing tests
2014-04-27 21:54:21 -04:00
Marc-André Moreau
314acdb5fc
winpr: fix missing link dependencies
2014-04-27 21:45:50 -04:00
Marc-André Moreau
b67288868d
Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi
2014-04-27 19:18:23 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
934a5d497b
winpr: fix failing unit tests
2014-04-09 10:01:58 -04:00
Marc-André Moreau
64b550e18f
libwinpr-utils: fix .ini parser whitespace trimming
2014-03-25 00:32:05 -04:00
Marc-André Moreau
822b07eb3e
Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi
2014-03-24 11:56:30 -04:00
Benoit LeBlanc
23d80d78b7
added missing cast for GetProcAddress
2014-03-19 11:52:12 -04:00
Marc-André Moreau
2c17f438f8
libwinpr-wtsapi: extend WtsApiQuerySessionInformation unit tests
2014-03-17 16:39:35 -04:00
Marc-André Moreau
5cf4a00658
libwinpr-wtsapi: add support for WTSAPI_LIBRARY environment variable
2014-03-17 12:16:07 -04:00
Marc-André Moreau
b813189266
libwinpr-wtsapi: fix linker issue
2014-03-12 11:40:39 -04:00
Marc-André Moreau
707f3c0692
libwinpr-wtsapi: add missing link dependency
2014-03-12 10:02:26 -04:00
Marc-André Moreau
bb5c5dcaf0
libwinpr-wtsapi: start adding support for dynamically loaded FreeRDS-provided WTSAPI implementation
2014-03-01 00:32:23 -05:00
Marc-André Moreau
6695873394
libwinpr-wtsapi: fix multiple inconsistencies with original wtsapi headers
2014-02-28 14:49:57 -05:00
Marc-André Moreau
a143a70114
libfreerdp-core: link against libwinpr-wtsapi, dynamically register proper WtsApi implementation in FreeRDS
2014-02-16 20:41:19 -05:00