Armin Novak
17d43edafb
Fixed mac sound backend initialization.
2018-05-03 16:12:12 +02:00
Martin Fleisz
1a27f28ba9
Merge pull request #4620 from akallabeth/bio_ctrl_fix
...
Bio ctrl fix
2018-05-03 13:35:20 +02:00
Armin Novak
d4c98e4e71
Fixed formatting.
2018-05-03 12:30:40 +02:00
Armin Novak
5765e9a422
Fixed #4476 : broken casts/variable sizes for custom BIO calls.
2018-05-03 12:30:40 +02:00
David Fort
456b0e8934
Merge pull request #4453 from akallabeth/sound_channel_refactor
...
Sound channel refactoring
2018-05-03 11:56:58 +02:00
akallabeth
dd577377dd
Merge pull request #4617 from kevans91/spurious
...
Upstream the rest of our local FreeBSD patching
2018-05-03 11:55:03 +02:00
akallabeth
d130d9cb21
Merge pull request #4613 from kevans91/file64
...
Enable 64-bit file support on FreeBSD as well
2018-05-03 11:31:54 +02:00
akallabeth
ba37f04e1b
Merge pull request #4616 from kevans91/timerfd-nonblock
...
Pass TFD_NONBLOCK to timerfd_create to avoid later fcntl
2018-05-03 10:56:04 +02:00
Martin Fleisz
296b19e172
Merge pull request #4596 from p-pautov/rdg_ssl_fixes
...
RDG related fixes for better compatibility with mstsc
2018-05-03 10:23:12 +02:00
Armin Novak
066cb52caa
Fixed treat_wave sample length and checks.
2018-05-03 10:08:56 +02:00
akallabeth
613e0be208
Merge pull request #4614 from kevans91/cmakemod
...
Abstract away CMake module installation setting, install differently on FreeBSD
2018-05-03 09:49:31 +02:00
akallabeth
94b316bf81
Merge pull request #4618 from kevans91/buildtest
...
Pull in the libepoll-shim includes for libwinpr's synch/test
2018-05-03 08:55:23 +02:00
Kyle Evans
8073a7850e
Pull in the libepoll-shim includes for libwinpr's synch/test
...
This allows FreeBSD to successfully build with BUILD_TESTING enabled. Currently,
only 3/184 tests fail:
13 - TestLibraryLoadLibrary (Failed)
14 - TestLibraryGetProcAddress (Failed)
15 - TestLibraryGetModuleFileName (Failed)
These failures are probably due to a lack of GetModuleFileNameA implementation
on FreeBSD.
2018-05-02 23:19:44 -05:00
Kyle Evans
2fb992a962
Upstream the rest of our local FreeBSD patching
...
FreeBSD/DragonflyBSD are also UNIX platforms, as far as trio is concerned, and
we don't need to be setting the CMAKE_INSTALL_RPATH on FreeBSD.
2018-05-02 22:09:42 -05:00
Kyle Evans
f1a7c3cc6a
Pass TFD_NONBLOCK to timerfd_create to avoid later fcntl
2018-05-02 21:03:49 -05:00
akallabeth
2215071b23
Merge pull request #4576 from ccpp/bugfix-rdg-poll
...
Fix polling in RDG
2018-05-02 17:59:10 +02:00
akallabeth
3c51abc295
Merge pull request #4612 from kevans91/mandest
...
Follow OpenBSD convention when installing manpages on FreeBSD
2018-05-02 17:54:57 +02:00
Kyle Evans
5463b23591
Enable 64-bit file support on FreeBSD as well
2018-05-02 10:38:44 -05:00
Kyle Evans
a7c0632bf2
Use SetFreeRDPCMakeInstallDir where CMake modules are installed
2018-05-02 10:36:52 -05:00
Kyle Evans
824ace49ac
Add SetFreeRDPCMakeInstallDir function to abstract away platform differences
...
Different platforms/systems may install CMake modules into different places. For
instance, FreeBSD will install modules into ${PREFIX}/share/cmake/Modules while
Linux distributions might install into ${PREFIX}/lib/cmake.
This leaves us with a useful abstraction- consumers only need to care about
the name of their subdirectory, and only one place needs to be patched to change
where this subdirectory lands.
2018-05-02 10:36:52 -05:00
Kyle Evans
92a8e28f20
Follow OpenBSD convention when installing manpages on FreeBSD
...
Both OS install third party man pages into ${PREFIX}/man/man${SECTION}, rather
than the convention established in the base system of share/man/man${SECTION}.
2018-05-02 09:31:19 -05:00
Armin Novak
3a54713103
Fixed invalid argument parameter
2018-05-02 13:08:30 +02:00
Armin Novak
f631958a08
Fixed argument warning.
2018-05-02 13:08:17 +02:00
Armin Novak
1fd5c53a74
Fix #4597 : Do string argument checks before a possible strtol
...
strtol sets errno, which must be reset if it is no abort condition.
Invert the comparisons to avoid that.
2018-05-02 12:57:34 +02:00
Martin Fleisz
fbb21e3499
Merge pull request #4608 from akallabeth/posix_timer_cmake_check
...
Determine posix timer use by function availability
2018-05-02 12:11:24 +02:00
David Fort
9381e18cd2
Merge pull request #4570 from akallabeth/toolchain_fix
...
android Toolchain fix
2018-05-02 12:09:55 +02:00
Martin Fleisz
31c804c349
Merge pull request #4603 from hardening/socksplus
...
SOCKS5 proxy support
2018-05-02 11:26:13 +02:00
Armin Novak
60bf33f79d
Determine posix timer availability by function availability
...
To avoid having to whitelist every os starting to implement posix
timer API just detect if the functions are available.
2018-05-02 11:17:32 +02:00
David Fort
0f968b782c
proxy: cleanup SOCKS support and add user/password support
2018-05-02 10:51:16 +02:00
David Fort
a03c0d88d5
Merge pull request #4606 from kevans91/libressl-fixes
...
Pull in the LibreSSL compatibility patches from FreeBSD
2018-05-02 10:39:22 +02:00
Martin Fleisz
c0804699f1
Merge pull request #4609 from akallabeth/clipboard_return_check
...
Added proper return value checks for clipboard data.
2018-05-02 10:10:55 +02:00
Armin Novak
e0af47d26d
Fixed rebase introduced error.
2018-05-02 09:56:49 +02:00
David Fort
2dee696af0
Merge pull request #4607 from kevans91/epoll
...
FreeBSD: epoll/timerfd support
2018-05-02 09:47:17 +02:00
Jiri Sasek
1ba31551a6
socks proxy reply fix
2018-05-02 09:43:03 +02:00
Armin Novak
a1c3c1ad64
Added proper return value checks for clipboard data.
2018-05-02 09:21:42 +02:00
Armin Novak
f19a17d3ed
Fixed surface bits command cleanup.
2018-05-02 08:54:21 +02:00
Armin Novak
4e66972616
Fixed remaining global order buffers.
2018-05-02 08:54:21 +02:00
Armin Novak
e5767f07ac
Refactored order updates
...
Unified order creation/copy/delete to avoid memory leaks.
2018-05-02 08:54:21 +02:00
Kyle Evans
aca530bc5b
Use shared memory instead of temp files on FreeBSD-compatible OS
2018-05-01 23:50:15 -05:00
Kyle Evans
45d8e2dfb2
Pull in libepoll-shim for the bits that require timerfd/epoll
...
libepoll-shim is our implementation of this API on top of kevent. It supplies
the same headers and a library, but we don't install it in any of the default
include search paths when it comes in through ports on an as-needed basis.
This set of changes is restricted to FREEBSD-compatible OS, which includes
DragonflyBSD and FreeBSD.
2018-05-01 23:42:25 -05:00
Kyle Evans
5e9c8c4bca
Set BSD/FREEBSD for DragonflyBSD
...
DragonflyBSD was a fork of FreeBSD once upon a time. As far as FreeRDP is
concerned, DragonflyBSD is FreeBSD-compatible and DragonflyBSD in-fact uses
the FreeBSD ports tree (+ patches)
2018-05-01 23:38:48 -05:00
Kyle Evans
f8c391876f
Pull in the LibreSSL compatibility patches from FreeBSD
2018-05-01 08:43:36 -05:00
Armin Novak
bda925c52d
Added libavcodec version check for dsp-ffmpeg component.
...
Abort compilation with a specific error if the libavcodec module
detected is too old.
2018-04-27 12:27:16 +02:00
David Fort
8cba201999
Merge pull request #4548 from akallabeth/autoreconnect_fix
...
Autoreconnect fix
2018-04-27 09:39:30 +02:00
David Fort
782039c6aa
Merge pull request #4589 from oshogbo/token
...
Recognize only the cookie format anything else treat as token.
2018-04-26 11:59:15 +02:00
p-pautov
fda76349b9
Fix Windows build.
2018-04-26 02:11:04 -07:00
Pavel Pautov
a0019ec79c
Fallback to RDG RPC transport only if server does not support RDG HTTP and
...
error out in other cases - invalid RDG SSL cert, bad credentials, PAA failue, etc.
2018-04-25 18:36:43 -07:00
Pavel Pautov
c60388954b
Remove some unused functions.
2018-04-25 18:36:16 -07:00
Pavel Pautov
32505fda13
Apply "authentication level" RDP property only to non-RDG connections (as mstsc does).
2018-04-25 18:12:23 -07:00
Pavel Pautov
3a8d721bb9
Don't use CertificateName setting for RDG connections.
2018-04-25 18:12:23 -07:00