Commit Graph

10188 Commits

Author SHA1 Message Date
akallabeth 79a360b1db Merge pull request #3405 from hardening/wlog_man
Add a dedicated man page for wLog
2016-07-07 10:38:51 +02:00
Armin Novak 40bfc174d3 Added gradle.properties to extend heap size. 2016-07-06 17:21:46 +02:00
Armin Novak 48b4c5b7a4 Fixed android libfreerdp install paths. 2016-07-06 17:18:13 +02:00
Norbert Federa 89c25276b4 Merge pull request #3384 from akallabeth/android64_build
Android64 build fixes
2016-07-06 13:58:10 +02:00
Armin Novak d5b7c19288 Updated gradle. 2016-07-06 13:02:35 +02:00
Armin Novak f5fef88486 Disabled OpenH264 build for pull request tester. 2016-07-06 11:59:08 +02:00
Armin Novak 730ff20b63 Using android build-tools 24 (23 is broken) 2016-07-06 11:50:53 +02:00
David Fort 070b2c6f38 Merge pull request #3402 from doughdemon/master
Compile without <sys/queue.h>
2016-07-05 15:35:41 +02:00
David Fort 4a67ba8d7f Merge pull request #3433 from akallabeth/wlog_callbac_init_fix
Wlog callback init fix
2016-07-05 15:15:19 +02:00
Armin Novak 2ceb38a1c8 Proper wLogMessage initialisation. 2016-07-05 13:22:28 +02:00
Armin Novak d96fbd1bce Initialise WLog PrefixString for each message type. 2016-07-05 13:00:54 +02:00
Armin Novak 44fc5b521d Added support for OpenH264 1.6 2016-07-04 12:42:57 +02:00
David Fort a132545545 Merge pull request #3428 from nfedera/fix-getcomputernameex-lentgh-calculation
winpr/sspi/ntlm: fix computer name len calculation
2016-06-30 22:43:05 +02:00
Norbert Federa 333a1110f5 winpr/sspi/ntlm: fix computer name len calculation
The lpnSize parameter for GetComputerNameEx specifies the total
size of the buffer (in characters).
However, the current code calculated the amount of bytes.
Since only GetComputerNameExA was used and because sizeof(CHAR) == 1
the result was correct but the math was wrong.
Credit goes to @byteboon
2016-06-30 17:15:40 +02:00
Bernhard Miklautz c42d2ef0d1 Merge pull request #3426 from nfedera/fix-read-extended-info-packet
protocol violation: rdp_read_extended_info_packet
2016-06-27 15:28:22 +02:00
Norbert Federa ae9460f02f protocol violation: rdp_read_extended_info_packet
The clientTimeZone and all subsequent fields in the Extended Info Packet
(MS RDPBCGR 2.2.1.11.1.1.1) are optional but were not handled as such.
2016-06-27 10:56:40 +02:00
Armin Novak b7f8dc3d43 Fixed UUID find. 2016-06-27 10:37:24 +02:00
Martin Fleisz 0d7a6b5596 Merge pull request #3418 from llyzs/rdpsnd_server_latency
rdpsnd/server: decrease audio latency and make it configurable.
2016-06-22 15:32:11 +02:00
David Fort 1fdcae9a6a Add an environment variables section to the man 2016-06-21 15:28:38 +02:00
Vic Lee 019a569d42 rdpsnd/server: decrease audio latency and make it configurable. 2016-06-21 17:22:43 +08:00
David Fort 0905cc2ba7 man pages needed love
This patch cleans things up so that generated man pages for argument are nicer.
2016-06-21 09:49:44 +02:00
David Fort db6efd06d0 Add a dedicated man page for wLog 2016-06-21 09:49:44 +02:00
Bernhard Miklautz e86f7c2fd0 Merge pull request #3408 from hendwolt/master
fix errors in xdg-shell-xml for protocol creation
2016-06-16 16:16:37 +02:00
Martin Fleisz f166f5dc7a Merge pull request #3410 from nfedera/fix-symbols
Fix win32 linker hell and more
2016-06-16 14:46:27 +02:00
Norbert Federa 27c439675f winpr: fix win32 linking issues
Depending on the windows target version (_WIN32_WINNT), the used
SDK and the build configuration the linker will see multiple
libraries exporting the same symbols.
To prevent ugly hacks (e.g. modifying cmake's default system
libraries or fragile library linking order chains) we prefix
these functions with "winpr_" and create corresponding defines
to keep the current api names.
2016-06-16 11:47:33 +02:00
Norbert Federa 6a3b48d4f0 freerdp: remove static inet_ntop
inet_ntop is already implemented in winpr
2016-06-15 18:01:38 +02:00
Norbert Federa 7a68eebb03 cmake: remove some void statements and fix winpr source group 2016-06-15 13:54:31 +02:00
Norbert Federa 90cdfa7646 cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS 2016-06-15 13:36:27 +02:00
Norbert Federa 0ed98c4ee4 channels/audin/client/winmm: requires winpr 2016-06-15 13:30:38 +02:00
Hendrik Woltersdorf 8ea61fe55a fix errors in xdg-shell-xml for protocol creation 2016-06-14 20:43:35 +02:00
Bernhard Miklautz 50649acf47 Merge pull request #3407 from nfedera/enable-tests-on-windows
ci: build tests on windows from now on
2016-06-14 13:57:00 +02:00
Norbert Federa 675ea70e86 ci: build tests on windows from now on 2016-06-14 12:57:30 +02:00
Bernhard Miklautz 0cb37b0db8 Merge pull request #3406 from nfedera/fix-winpr-ntlm
winpr/sspi/ntlm: fix GetComputerNameExA parameters
2016-06-14 12:54:01 +02:00
Norbert Federa 26ed09a14f winpr/sspi/ntlm: fix GetComputerNameExA parameters
On input, the lpnSize [in, out] parameter for GetComputerNameEx()
specifies the total size of the buffer (in characters).
Several functions in ntlm.c were off by one which caused ntlm to fail
if the netbios hostname's strlen was exactly MAX_COMPUTERNAME_LENGTH.
2016-06-14 12:37:37 +02:00
akallabeth f0bdd62e9c Merge pull request #3404 from nfedera/fix-pathmakepath
winpr: fix PathMakePathA and TestWLog
2016-06-14 10:20:52 +02:00
Norbert Federa 62d73dcb75 winpr: fix PathMakePathA and TestWLog
PathMakePathA:
- This function had an endless loop if no native delimiter was in the string
- Use SHCreateDirectoryExA on Windows
- Replaced old code with a new implementation

TestWLog:
- Windows has no "/tmp" by default
- Use GetKnownPath(KNOWN_PATH_TEMP) for the WLog "outputfilepath"
2016-06-13 19:19:28 +02:00
Bernhard Miklautz ee4d118beb Merge pull request #3403 from TingPing/freerdp-client.pc
Fix include path in freerdp-client.pc
2016-06-13 10:06:51 +02:00
TingPing 9fe5da8597 Fix include path in freerdp-client.pc 2016-06-12 22:10:00 -04:00
Felix Janda cd581cfb22 Make iOS workaround iOS specific
Fixes compilation on systems without <sys/queue.h>.
2016-06-12 17:55:58 +02:00
Ondrej Holy b8f33aa59c winpr/crt: Make TestString endian-independent
Wide char strings use always little endian encoding since commit f722dc5.
Use only strings in little endian to make the tests endian-independent.
2016-06-10 18:18:47 +02:00
Ondrej Holy bbcc0476c7 winpr/crt: Fix endianness in string utils
All WCHAR strings are stored as little endian after commit f722dc5,
therefor WCHAR string utils have to be changed appropriately.
2016-06-10 18:18:39 +02:00
Bernhard Miklautz f818bab4b6 Merge pull request #3399 from nfedera/fix-winpr-library2
winpr/library: fix GetModuleFileName and tests
2016-06-10 15:08:49 +02:00
Norbert Federa 581c000435 winpr/library: fix GetModuleFileName and tests
- Use correct SetLastError values in GetModuleFileName
- Fix wrong return codes in GetModuleFileName
- Build the TestLibraryA/TestLibraryB libraries always shared and
  put them in the test output directory
- TestLibraryGetModuleFileName always returned success
- Improve TestLibraryGetModuleFileName to also check last error values
  and insufficient buffer sizes
- Change TestLibraryGetProcAddress and TestLibraryLoadLibrary to load
  the TestLibrary from the test executable's directory
2016-06-10 13:12:08 +02:00
Marc-André Moreau 0c8af43153 Merge pull request #3397 from awakecoding/master
add missing inet_pton implementation on Windows
2016-06-08 11:03:40 -04:00
Marc-André Moreau f905861616 wayk-now: add missing inet_pton implementation on Windows 2016-06-08 10:51:58 -04:00
Bernhard Miklautz b71f60c26e Merge pull request #3393 from nfedera/fix-winpr-library-wtimer-test
winpr: fix some tests
2016-06-08 11:50:43 +02:00
Hardening a0520f84a3 Merge pull request #3394 from nfedera/fix-client-x11-locked-mutex
client/x11: don't close locked mutex
2016-06-08 08:21:13 +02:00
Norbert Federa 374f97aad3 client/x11: don't close locked mutex 2016-06-07 19:01:03 +02:00
Norbert Federa f2c825bb76 winpr: fix some tests
TestNtCreateFile, TestPipeCreateNamedPipeOverlapped
- These tests are currently only expected to succeed on _WIN32
- Also reflect the reverse meaning of this fact in the return values

TestSynchWaitableTimer, TestSynchWaitableTimerAPC:
- These tests are currently expected to fail on __APPLE__
- Also reflect the reverse meaning of this fact in the return values

This logic makes sure that we don't forget to fix the tests if the
corresponding WinPR implementations are fixed.

TestLibrary:
- TestLibraryA and TestLibraryB must always get built as shared libraries
2016-06-07 17:20:56 +02:00
MartinHaimberger 0abb285c3d Merge pull request #3392 from nfedera/fix-winpr-barrier-deadlock
winpr/synch: fix barrier deadlock in release build
2016-06-07 15:33:49 +02:00