Marc-André Moreau
331933635c
Merge pull request #1401 from nfedera/fix-2013-08-07-02
...
libwinpr-utils: Use criticalsection with spincount
2013-08-07 12:35:46 -07:00
Norbert Federa
3a58934eb2
libwinpr-utils: Use criticalsection with spincount
...
Use InitializeCriticalSectionAndSpinCount instead of IntializeCriticalSection.
Using spin counts for critical sections of short duration enables the calling
thread to avoid the wait operation in most situations which can dramatically
improve the overall performance on multiprocessor systems.
On Linux this change has no effect because the new winpr critical section
implementation does not use the SpinCount field under Linux because the NPTL
synchronization primitives are implemented using the extremely performant
futex system calls which have this magic already built in.
However, on Mac OS X this change improved the overall performance of the
multithreaded RemoteFX decoder by 25 percent.
I've used a SpinCount of 4000 which avoided 99 percent of the wait calls.
This value is also used by Microsoft's heap manager for its per-heap
critical sections.
Note: This change requires pull request #1397 to be merged.
2013-08-07 18:16:01 +02:00
Norbert Federa
2b25b4a520
libwinpr-sync: New complete critical section code
...
- Complete implementation including recursion support
- Added an intensive ctest (TestSynchCritical)
- Struct members are used exactly as Windows does it internally:
LockCount starts at -1, RecursionCount at 0
- Same performance optimizations as internally on Windows:
- Fast lock acquisition path using CAS -> SpinCount -> wait
- SpinCount automatically disabled on uniprocessor systems
- On Linux SpinCount is disabled because it provided no advantage over NPTL/futex in all tests
Support for CRITICAL_SECTION's DebugInfo is not yet included (but trivial to add).
2013-08-07 10:20:04 +02:00
richterger
505facbb6f
Fix off by one problem in StreamPool allocation
2013-08-07 08:01:33 +02:00
Marc-André Moreau
7b80b19306
cmake: add FindPixman.cmake
2013-08-05 20:50:23 -04:00
Marc-André Moreau
13872f33bf
libwinpr-utils: implement doubly-linked list
2013-08-05 17:29:14 -04:00
Marc-André Moreau
190ed85a3d
libwinpr-synch: add detection of timerfd support
2013-08-03 19:50:17 -04:00
Marc-André Moreau
ecc543d87d
Merge branch 'master' of github.com:FreeRDP/FreeRDP into multitouch
2013-08-03 16:22:09 -04:00
Norbert Federa
81ef251fc8
winpr: improve and fix locking for data structures
...
- Improved/completed(almost) winpr's critical section implementation
- Replaced WaitForSingleObject locking with critical sections
Note:
WaitForSingleObject should _never_ be used for granular low-contention
locks as it _always_ enters the kernel.
Just replacing WaitForSingleObject locking in Bufferpool with
EnterCriticalSection boosts the multithreaded rfx decoder
performance by almost 400% on win32.
2013-08-02 12:07:05 +02:00
Marc-André Moreau
913d532e0d
winpr: fix build on Linux
2013-07-30 10:57:54 -04:00
Marc-André Moreau
4d2bc6ba46
libwinpr-synch: add unit tests, initial waitable timer support
2013-07-29 13:07:39 -04:00
Marc-André Moreau
007bd87ff4
libwinpr-synch: start implementing waitable timers
2013-07-29 11:57:29 -04:00
Marc-André Moreau
8a4e83bdfb
libfreerdp-core: fix server-side update encoding edge case
2013-07-28 16:31:38 -04:00
Benoît LeBlanc
03a401b8e6
CMakelists:
...
disabled installation of headers and libraries for the wayk client.
2013-07-25 21:59:21 -04:00
Marc-André Moreau
bef2ad5c92
libwinpr-pipe: added overlapped io tests for named pipes
2013-07-23 15:03:08 -04:00
Marc-André Moreau
507899ade9
libwinpr-pipe: initial basic named pipe support
2013-07-22 23:17:08 -04:00
Marc-André Moreau
65bc944def
libwinpr-pipe: implement of more named pipes
2013-07-22 22:53:44 -04:00
Marc-André Moreau
afe1f22bcf
libwinpr-pipe: start implementing named pipes
2013-07-22 18:20:34 -04:00
Marc-André Moreau
c6764f9034
libwinpr-pipe: added stubs for named pipes
2013-07-22 16:30:25 -04:00
Benoît LeBlanc
163cc975d9
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
libwinpr-utils: implement ListDictionary
2013-07-07 22:02:09 -04:00
Marc-André Moreau
b3265b6958
libwinpr-utils: implement ListDictionary
2013-07-05 18:23:26 -04:00
Benoît LeBlanc
d72452b4f5
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
# By Bernhard Miklautz (4) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
libfreerdp-core: fix unused variable
libfreerdp-codec: add bitmap encoder
cmdline: unix/windows return detected error
client/common: fixed command line parsing issue
channels/serial: bring it back to life
nla: invalidate sec handle after creation
tls: updated certificate mismatch message
2013-07-05 16:35:08 -04:00
Benoît LeBlanc
c17c2f811b
FreeRDP:
...
- replaced char* by const char* in function prototypes
- MacFreeRDP: moved assignation of context function pointers
- freerdp: added more pointer and return value validations to prevent crashes
2013-07-04 14:42:40 -04:00
Bernhard Miklautz
0773bb9303
nla: invalidate sec handle after creation
...
If sec pointer isn't invalidated after creation it is not possible
to check if the upper and lower pointers are valid.
This fixes a segfault in the server part if the client disconnects before
the authentication was finished.
2013-07-01 19:24:19 +02:00
Marc-André Moreau
863b51f938
freerdp: merge with master
2013-06-28 12:50:24 -04:00
Marc-André Moreau
48347b1f4d
Merge pull request #1305 from bmiklautz/mem_alignment
...
winpr: offset support in _aligned_offset_malloc
2013-06-28 09:39:02 -07:00
Marc-André Moreau
3fbc4f899f
libwinpr-utils: fix deadlock in PubSub
2013-06-27 14:16:50 -04:00
Marc-André Moreau
77f5994e1c
winpr: add _WINRT platform detection macro
2013-06-26 18:12:01 -04:00
Martin Fleisz
14e81877fb
Merge pull request #1294 from bmiklautz/null_handle
...
winpr: check added if handle is NULL
2013-06-26 05:48:30 -07:00
Marc-André Moreau
c66b79ad46
winpr: extend stream api
2013-06-25 16:46:55 -04:00
Norbert Federa
786df03bb6
libwinpr-synch: fix broken USleep (on WIN32)
...
Also reduce CPU usage by reducing the max busy-looping time to 1ms
2013-06-25 16:33:40 +02:00
Marc-André Moreau
31f68d0779
winpr: fix type conflict with X11
2013-06-24 23:58:31 -04:00
Bernhard Miklautz
b0d69caee8
winpr/alignment: use size_t instead of UINT32
2013-06-19 19:07:31 +02:00
Marc-André Moreau
fbf3208b0a
libwinpr-utils: rename certain PubSub functions
2013-06-18 21:23:26 -04:00
Bernhard Miklautz
40ea683982
winpr: offset support in _aligned_offset_malloc
...
Added support to handle offset parameter in _aligned_offset_ functions.
fixes #1299
2013-06-18 18:43:59 +02:00
Marc-André Moreau
508bae674b
libwinpr-utils: improve PubSub with automatic strongly-typed helpers
2013-06-18 00:39:48 -04:00
Marc-André Moreau
c76efec345
wfreerdp: update client with new API
2013-06-15 22:57:21 -04:00
Marc-André Moreau
e77d4657e4
libwinpr-utils: add PubSub multiplexing and synchronized access
2013-06-15 18:18:02 -04:00
Marc-André Moreau
6c9a3b8e64
freerdp: start using pubSub for client GUI events
2013-06-15 17:01:10 -04:00
Marc-André Moreau
95a129eb69
libfreerdp-client: start splitting termination and printing logic for CLI parsing
2013-06-15 15:13:38 -04:00
Marc-André Moreau
8ad532a9d4
libwinpr-utils: implement basic Publisher/Subscriber pattern
2013-06-15 13:32:13 -04:00
Marc-André Moreau
174d1bdd71
libwinpr-utils: start implementing Publisher/Subscriber pattern
2013-06-14 16:55:05 -04:00
Christian Plattner
9373787fb1
winpr: check added if handle is NULL
2013-06-14 15:41:06 +02:00
Marc-André Moreau
2bd6808432
freerdp: merge with master
2013-06-05 10:31:01 -04:00
Daryl Poe
86156ce61f
fix memory errors due to too-large memcpy in ArrayList
2013-06-03 09:30:14 -06:00
Marc-André Moreau
9d3ec97f9e
freerdp: fix monolithic build with Xcode
2013-05-24 18:38:02 -04:00
Marc-André Moreau
8a2220a3d9
libwinpr-synch: remove unnecessary critical section
2013-05-16 19:27:12 -04:00
Marc-André Moreau
c0160b8015
libwinpr-handle: reduce usage of unneeded handle management functions
2013-05-16 18:27:26 -04:00
Marc-André Moreau
23e8af45f0
libwinpr-handle: don't use a centralized handle table as it was a major performance bottleneck
2013-05-16 18:14:37 -04:00
Marc-André Moreau
f8b24826da
libwinpr-handle: optimize handle table lookup
2013-05-16 17:49:41 -04:00
Marc-André Moreau
72e9087d1f
winpr: unify handle types
2013-05-16 17:32:58 -04:00
Marc-André Moreau
e8c5e6c70b
libfreerdp-core: send using separate streams, re-enable frame acks
2013-05-15 18:05:40 -04:00
Marc-André Moreau
54281cac13
libwinpr-utils: grow stream by a factor of two
2013-05-15 16:22:58 -04:00
Marc-André Moreau
367ebf32a3
freerdp: make use of stream macros to access members
2013-05-15 12:14:26 -04:00
Marc-André Moreau
1b28ef5976
winpr: fix endian.h
2013-05-08 19:44:51 -04:00
Marc-André Moreau
d11752aa4b
libwinpr-utils: started endianness utility macros
2013-05-08 18:29:41 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
9bf924929c
xfreerdp-server: use libwinpr-input for keyboard mapping
2013-05-02 01:34:54 -04:00
Marc-André Moreau
b4cac74136
xfreerdp-server: fix RemoteFX encoding
2013-05-01 18:15:55 -04:00
Marc-André Moreau
e88b59c32c
libfreerdp-core: improve async-transport mode
2013-04-30 17:16:38 -04:00
Marc-André Moreau
c49c235c93
libwinpr-utils: fix stream pool
2013-04-30 00:36:16 -04:00
Marc-André Moreau
83af4266bf
libfreerdp-core: refactor fastpath fragmentation
2013-04-29 23:55:44 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
5f4342f4e8
Merge github.com:FreeRDP/FreeRDP
2013-04-29 14:05:21 -04:00
Marc-André Moreau
70dea34a90
Merge github.com:FreeRDP/FreeRDP
2013-04-29 13:59:24 -04:00
Marc-André Moreau
fae24b1ef9
xfreerdp-server: auto-generate self-signed certificate
2013-04-23 18:17:01 -04:00
Hardening
dcdb411208
Fix winpr headers for C++ usage
...
This patch add missing extern "C" declaration to use the headers in
C++ projects.
2013-04-17 23:06:48 +02:00
Hardening
129614ff6c
Merge branch 'master' of git://github.com/FreeRDP/FreeRDP
2013-04-14 15:46:23 +02:00
Hardening
4b9f61596b
Fixed signed/unsigned warning
2013-04-14 15:41:04 +02:00
Hardening
fa5ee0a7dd
Fixed external declaration for C++
2013-04-14 15:40:34 +02:00
Marc-André Moreau
b4b0fb0642
Merge pull request #1188 from awakecoding/master
...
Android Translation, LoadBalanceInfo, StreamPool
2013-04-12 15:30:14 -07:00
Marc-André Moreau
d04b76d005
libfreerdp-core: use stream pool
2013-04-12 13:44:23 -04:00
Marc-André Moreau
0fded8c2d0
winpr-utils: fix StreamPool
2013-04-12 12:20:20 -04:00
Vic Lee
edaf5073e3
winpr: do not redefine UNICODE_STRING on Windows.
2013-04-11 20:52:54 -07:00
Marc-André Moreau
f94f90c08b
winpr-utils: initial stream pool implementation
2013-04-11 21:59:02 -04:00
Marc-André Moreau
0be8a12d78
winpr: fix string.h for C++
2013-04-11 16:27:12 -04:00
Marc-André Moreau
e7436a1a9d
wfreerdp: minor 64-bit fixes
2013-04-10 21:15:38 -04:00
Marc-André Moreau
0cbdd6b641
freerdp: merge with master
2013-04-09 10:18:03 -04:00
Marc-André Moreau
6dfa196966
wfreerdp: unify client interface
2013-04-08 22:10:59 -04:00
Marc-André Moreau
c48a7bc5f1
Merge pull request #1169 from hardening/scancode_fix
...
Small correctly in GetVirtualKeyCodeFromVirtualScanCode
2013-04-06 13:30:36 -07:00
Hardening
37e2f97180
Small correctly in GetVirtualKeyCodeFromVirtualScanCode
...
this function was not doing his job, this patch fixes it.
2013-04-06 22:22:55 +02:00
Marc-André Moreau
f778cd38c3
Merge pull request #1161 from bmiklautz/mutex_init
...
winpr/mutex: Support for bInitialOwner in CreateMutex
2013-04-04 14:22:24 -07:00
Marc-André Moreau
7b2f70c0c7
xfreerdp: fix including from C++
2013-04-03 18:48:59 -04:00
Marc-André Moreau
55fb73fc42
winpr: fix headers for C++ (VOID issue)
2013-04-03 16:54:09 -04:00
Bernhard Miklautz
aea81fb5c8
winpr/mutex: Support for bInitialOwner in CreateMutex
2013-04-03 19:35:45 +02:00
Marc-André Moreau
022ceec22a
xfreerdp: split client into executable and library
2013-04-02 16:22:30 -04:00
Marc-André Moreau
d13f89d359
xfreerdp: modify way to return thread exit code
2013-04-02 14:51:12 -04:00
Martin Fleisz
8d16086969
Android: Fix crash after changes in FreeRDP directory handling
2013-04-02 06:33:59 -07:00
Marc-André Moreau
3835fa8a35
Merge pull request #1152 from mfleisz/master
...
iOS: Got rid of .xcodeproj file and various compile fixes
2013-04-02 06:07:53 -07:00
Hardening
4a92e370e0
Fix includes + pkgconfig file
...
This patch fixes some winpr includes when used with C++.
It also fix the pkgconfig file as Stream_New has changed of
library.
2013-03-29 23:37:13 +01:00
Martin Fleisz
38446b5f2b
iOS: got rid of xcode project file
2013-03-29 14:28:27 +01:00
Marc-André Moreau
c65ee0c2f4
wfreerdp: fix build on Windows
2013-03-29 00:33:15 -04:00
Marc-André Moreau
d187becc28
freerdp: merge with master
2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5
freerdp: merge RDP_EVENT type with wMessage
2013-03-28 21:13:56 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
8b9ea43d78
libfreerdp-core: fix locking with TS Gateway
2013-03-27 20:06:10 -04:00
Marc-André Moreau
6f69b8a22f
wfreerdp: fix build
2013-03-26 15:02:33 -04:00
Marc-André Moreau
690b5147db
cmake: simplify android build
2013-03-23 18:13:10 -04:00
Marc-André Moreau
890c418536
winpr-makecert: added file output functions
2013-03-22 17:34:57 -04:00
Marc-André Moreau
c715ff69bc
winpr-makecert: improve library/executable separation
2013-03-22 16:59:54 -04:00
Marc-André Moreau
48419c0a0a
libwinpr-tools: start splitting makecert tool into library and executable
2013-03-22 16:36:44 -04:00
Marc-André Moreau
b4f70ed8fd
libwinpr-path: rename known path constants
2013-03-22 16:03:42 -04:00
Marc-André Moreau
068f0de4d4
libfreerdp-utils: purge old file utils
2013-03-22 15:52:43 -04:00
Marc-André Moreau
edf6e7258d
libwinpr-path: add path detection functions
2013-03-22 00:42:09 -04:00
Marc-André Moreau
27dc85bed9
libwinpr-utils: add trio portable printf implementation
2013-03-21 21:30:31 -04:00
Marc-André Moreau
8fb7e80919
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-03-21 16:46:35 -04:00
Vic Lee
1964a2e4f1
include/winpr/synch.h: add missing extern C decl.
2013-03-21 15:13:33 -07:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
882c914e6c
channels/tsmf: fix build
2013-03-21 14:45:03 -04:00
Bernhard Miklautz
0a90bec26f
winpr/dsparse: removed autogenerated test file
2013-03-15 23:15:59 +01:00
Bernhard Miklautz
6b1a414b36
winpr/sspi: disable test TestSchannel
2013-03-15 23:11:17 +01:00
Bernhard Miklautz
f6810fb138
Fixed warnings for 32 bit builds
2013-03-15 22:49:25 +01:00
Bernhard Miklautz
1519152709
winpr/sspi: fixed test TestInitializeSecurityContext
2013-03-15 21:47:24 +01:00
Bernhard Miklautz
e4aef1b07f
Merge remote-tracking branch 'upstream/master' into fix_warnings
2013-03-15 20:43:57 +01:00
Bernhard Miklautz
103171a98e
Fixed compiler warnings (-Wall)
2013-03-15 20:41:10 +01:00
Bernhard Miklautz
e8eb0d0b44
Fixed formating build warnings (-Wformat)
2013-03-15 20:03:48 +01:00
Bernhard Miklautz
77df254265
Fixed some build warnings
2013-03-15 18:22:49 +01:00
Bernhard Miklautz
d7b4f68b0c
winpr/sysinfo: cleaned up cpu flag tests
2013-03-15 01:31:48 +01:00
Bernhard Miklautz
3bac044825
winpr/sysinfo: fixes and detection for avx PCLMULQDQ added
...
- fixed defines for avx aes detection
- added detection for avx carry less multiplication (PF_EX_AVX_PCLMULQDQ)
2013-03-15 01:06:33 +01:00
Bernhard Miklautz
81580f10d9
winpr/sysinfo: fixed build and detection when build with AVX
2013-03-14 23:18:21 +01:00
Martin Fleisz
7518170cd4
winpr: Don't build tools for Android and iOS
2013-03-14 09:38:50 -07:00
Marc-André Moreau
79638db42c
winpr-makecert: only include OpenSSL's applink.c on Windows
2013-03-13 17:57:13 -04:00
Marc-André Moreau
f0de7c88a8
winpr-makecert: fix OpenSSL applink error
2013-03-13 17:55:42 -04:00
Marc-André Moreau
140b44006b
winpr-makecert: fix linking against OpenSSL
2013-03-13 17:43:33 -04:00
Marc-André Moreau
10e09ed846
winpr-makecert: fix CMakeLists.txt
2013-03-13 14:04:18 -04:00
Marc-André Moreau
2a99837fb9
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-03-13 12:43:42 -04:00
Martin Fleisz
b5ffa2f8ae
iOS: Compile fix
2013-03-13 15:12:44 +01:00
Martin Fleisz
96a2717b3c
iOS: Compile fixes ( Fixed #1069 , #1086 )
2013-03-13 15:08:45 +01:00
Marc-André Moreau
9eaa530d49
makecert: generate self-signed RDP certificate
2013-03-13 00:26:10 -04:00
Marc-André Moreau
91c12fa312
makecert: accept more parameters
2013-03-12 21:53:41 -04:00
Christian Hofstaedtler
8833c14eac
fix ArrayList_Shift for args (al, 0, -1)
...
As a result, this should fix #1051 .
2013-03-12 23:21:42 +01:00
Marc-André Moreau
00cbfdb2af
winpr-makecert: start implementing
2013-03-12 17:57:16 -04:00
Christian Hofstaedtler
b8d0e03a53
add KBDEXT to KEYCODE_TO_VKCODE_APPLE where needed
2013-03-11 23:23:20 +01:00
Marc-André Moreau
89cf0a3dd0
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-03-07 13:56:51 -05:00
Marc-André Moreau
32d9f76c41
libwinpr-input: fix virtual key code definitions
2013-03-07 13:56:00 -05:00
Marc-André Moreau
72957e39eb
libwinpr-input: started mapping XKB keynames to virtual key codes
2013-03-06 17:43:41 -05:00
Marc-André Moreau
f91efc8f05
Merge pull request #1053 from C-o-r-E/master
...
Various small changes on the server and a fix for winpr-pool
2013-03-06 14:33:37 -08:00
Marc-André Moreau
9c8ae99628
Merge pull request #1028 from hardening/waylanCompilationWarnings
...
Fixed prototype for -Wstrict-prototypes
2013-03-05 04:57:50 -08:00
Marc-André Moreau
1630b80bda
libwinpr-input: added more japanese definitions
2013-03-04 21:27:56 -05:00
Marc-André Moreau
6c40fde892
libwinpr-input: map most evdev keycodes
2013-03-04 20:37:44 -05:00
Marc-André Moreau
d4dc6b256e
libwinpr-input: prepare comments for evdev keycode map
2013-03-04 18:27:31 -05:00
Marc-André Moreau
0bff72935b
libwinpr-input: add empty keycode map for evdev
2013-03-04 17:19:33 -05:00
Marc-André Moreau
cd7edbbc81
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-03-04 16:07:29 -05:00
Corey C
395cfe94c5
winpr-pool: better solution for building on winxp to win8
2013-03-04 16:05:32 -05:00
Corey C
6882ed2f14
wfreerdp-server: removed manuallly setting sse2, winpr-pool: fixed build on win8
2013-03-04 14:06:54 -05:00
Martin Fleisz
a822d736f0
Fixed issues with new sysinfo on windows
2013-03-04 09:40:26 +01:00
Marc-André Moreau
7d75343e8e
libfreerdp-locale: cleanup Mac OS X keycode mapping
2013-03-03 19:30:01 -05:00
Marc-André Moreau
44758bfe54
libfreerdp-locale: start moving some code to libwinpr-input
2013-03-03 16:30:31 -05:00
hardening
f0f7c9d80d
Fixed prototype for -Wstrict-prototypes
2013-03-03 18:23:43 +01:00
Marc-André Moreau
be27783e81
libwinpr-input: initial commit
2013-03-02 22:25:40 -05:00
Marc-André Moreau
8f3911d4b8
Merge pull request #1023 from bmiklautz/cpuflagdetection
...
CPU feature detection
2013-03-02 15:52:25 -08:00
Martin Fleisz
c76d009a35
libwinpr-pool: Fix compile issue if SDK version is pre Vista
2013-03-01 11:57:00 +01:00
Bernhard Miklautz
b8a545d9c9
winpr/sysinfo: restructuring and "aliases" added
...
Added meaningful aliases for the not so clear defines.
2013-03-01 09:02:15 +01:00
Bernhard Miklautz
0ce13c3837
sysinfo: neon is supported on all current ios devices
2013-03-01 09:02:15 +01:00
Bernhard Miklautz
bf7f7f0f60
winpr/sysinfo: added IsProcessorFeaturePresent and IsProcessorFeaturePresentEx
...
These functions can be used to check if an processor feature is supported.
IsProcessorFeaturePresentEx is a extended version which is not available
in the windows API and allows to query additional features.
Currently it works on the following platforms:
- i386/amd64 when compiling with gcc
- ARM on linux
2013-03-01 09:02:14 +01:00
Marc-André Moreau
ea63fdb18e
libwinpr-utils: start custom printf replacement
2013-02-28 15:43:57 -05:00
Marc-André Moreau
62e686f62a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-28 10:42:13 -05:00
Marc-André Moreau
9873ce28d0
libwinpr-utils: experiment with printf replacement
2013-02-28 08:41:51 -05:00
Bernhard Miklautz
b95bf97c20
android: build fix - no librt
...
Android NDK doesn't provide librt.
2013-02-28 11:47:09 +01:00
Marc-André Moreau
fe34a529d5
freerdp: fix build and warnings on Mac OS X
2013-02-21 21:09:42 -05:00
Marc-André Moreau
41fbdbeb0d
libfreerdp-utils: don't use freerdp_thread util in svc_plugin
2013-02-20 19:44:14 -05:00
Marc-André Moreau
082e069913
libwinpr-utils: initial MessagePipe implementation
2013-02-20 14:48:32 -05:00
Marc-André Moreau
5e8d35c4ac
channels/rdpsnd: use MessageQueue
2013-02-19 22:36:04 -05:00
Marc-André Moreau
43fd37de6e
channels/rdpsnd: fix timestamps
2013-02-19 21:21:20 -05:00
Marc-André Moreau
f75b3f5d51
libwinpr-utils: fix parsing of optional arguments with the space separator
2013-02-19 18:05:20 -05:00
Marc-André Moreau
35033497d8
libwinpr-sspi: implement partial Schannel EncryptMessage/DecryptMessage support
2013-02-18 21:50:33 -05:00
Marc-André Moreau
4e565e26b5
Merge branch 'master' of github.com:awakecoding/FreeRDP
2013-02-18 20:07:41 -05:00
Marc-André Moreau
01e8eb8204
libwinpr-sspi: complete Schannel handshake
2013-02-18 20:07:29 -05:00
Marc-André Moreau
801708297a
libwinpr-rpc: fix windows build
2013-02-18 19:29:50 -05:00
Marc-André Moreau
7987875591
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-15 11:23:59 -05:00
Marc-André Moreau
d74a53c738
Merge pull request #973 from hardening/includeFixesTrunk
...
Fixed compilation with -Wstrict-prototypes
2013-02-15 08:18:22 -08:00
Marc-André Moreau
289aad8d45
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-15 11:16:36 -05:00
Marc-André Moreau
0dc52e219c
libwinpr-interlocked: fix iOS build
2013-02-15 10:33:21 -05:00
Marc-André Moreau
e42b1272ef
libfreerdp-core: added ObjectPool
2013-02-14 20:39:56 -05:00
hardening
865ff2a5f8
Fixed compilation with -Wstrict-prototypes
2013-02-14 22:20:43 +01:00
Bernhard Miklautz
e5cf8ff7fb
iOS: initial release of iFreeRDP
...
This is the initial release of iFreeRDP the FreeRDP iOS client.
Build instructions can be found in docs/README.ios.
2013-02-14 14:59:12 +01:00
Marc-André Moreau
cca810aa4c
libfreerdp-core: refactor bitmap codec guid handling
2013-02-12 21:25:49 -05:00
Marc-André Moreau
47a7d54370
xfreerdp: stabilize asynchronous X11 event handling
2013-02-11 20:38:19 -05:00
Marc-André Moreau
4269ac5c14
xfreerdp: improve asynchronicity
2013-02-09 17:13:53 -05:00
Marc-André Moreau
4cd720416a
libfreerdp-core: added more licensing debug output
2013-02-05 01:07:34 -05:00
Marc-André Moreau
64160af3a8
libfreerdp-core: added more message definitions
2013-02-04 14:56:54 -05:00
Marc-André Moreau
d9ac2cca39
libfreerdp-gdi: fix 8bpp FillRect color
2013-02-03 15:16:37 -05:00
Marc-André Moreau
a00ac1f689
Merge pull request #949 from hardening/eventfd
...
Add support for eventfd
2013-02-02 13:30:33 -08:00
hardening
497041b44e
event: don't select then write when using eventfd, write directly
2013-02-01 00:47:44 +01:00
Marc-André Moreau
51293f48e9
libfreerdp-crypto: fix build on windows
2013-01-31 16:36:56 -05:00
Marc-André Moreau
a17ddeea2a
mfreerdp-server: merging with master
2013-01-31 11:33:08 -05:00
Marc-André Moreau
ff586504e7
libwinpr-sspi: cleanup NTLM messages
2013-01-30 20:39:57 -05:00
Marc-André Moreau
4a5bd8584a
libwinpr-sspi: cleanup NTLM authenticate message construction
2013-01-30 19:47:27 -05:00
C-o-r-E
a39ef9980f
Merge remote-tracking branch 'upstream/master'
2013-01-30 19:05:35 -05:00
Marc-André Moreau
ed33ac84c5
libwinpr-sysinfo: fix hostname detection
2013-01-29 16:18:17 -05:00
Marc-André Moreau
22ecaa85a7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-01-29 14:01:33 -05:00
Vic Lee
2fa23e598e
include/winpr/pool.h: fix windows build.
2013-01-29 15:04:17 +08:00
Bernhard Miklautz
f91b88f714
added missing defined() in #elif
...
gcc >= 4.4 requires a condition in #elif.
2013-01-25 17:50:40 +01:00
Marc-André Moreau
f92f48bf9d
libfreerdp-core: added message queue stubs
2013-01-24 17:11:43 -05:00
Marc-André Moreau
470defa4af
libwinpr-utils: test MessageQueue
2013-01-24 15:08:49 -05:00
Marc-André Moreau
fa30eeaef9
libwinpr-utils: started implementing asynchronous MessageQueue
2013-01-24 14:09:44 -05:00
Bernhard Miklautz
f54f6ce196
winpr/pool: zero thread pool on creation
2013-01-24 17:17:12 +01:00
Marc-André Moreau
0478449fb4
libwinpr-sysinfo: fix build on Mac OS X
2013-01-23 19:37:50 -05:00
Marc-André Moreau
ebefab1de4
libfreerdp-codec: add processor count detection and auto-enabling of threads in RemoteFX decoder
2013-01-23 19:21:14 -05:00
Marc-André Moreau
da3a3d5c9a
libfreerdp-primitives: cleanup platform definitions
2013-01-23 18:39:48 -05:00
Marc-André Moreau
ec22b89772
libwinpr-sysinfo: added platform-specific macro definitions
2013-01-23 17:46:32 -05:00
C-o-r-E
caa1032cce
Merge remote-tracking branch 'upstream/master'
2013-01-23 16:10:57 -05:00
hardening
f0d5e24979
Added preliminary support for eventfd
2013-01-23 21:59:01 +01:00
C-o-r-E
58e5034d5f
mfreerdp-server: replaced xnew/xzalloc calls
2013-01-23 12:54:09 -05:00
Marc-André Moreau
683e395bf8
Merge pull request #918 from awakecoding/master
...
RemoteFX Parallel Processing of Tiles
2013-01-22 19:03:06 -08:00
Marc-André Moreau
7b7acf4944
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-01-22 21:57:21 -05:00
Marc-André Moreau
94ad538185
libfreerdp-codec: added registry keys for multithreaded RemoteFX decoder
2013-01-22 21:54:13 -05:00
Marc-André Moreau
22f374ac36
libfreerdp-codec: implement buffer pooling for RemoteFX
2013-01-22 21:24:04 -05:00
Marc-André Moreau
f5d9b06252
libwinpr-utils: added buffer pool
2013-01-22 20:36:08 -05:00
Marc-André Moreau
438a727c6b
libfreerdp-codec: start parallel decoding of RemoteFX tiles
2013-01-22 18:14:50 -05:00
Marc-André Moreau
fb189989af
libwinpr-pool: fix InitializeThreadpoolEnvironment
2013-01-22 17:24:57 -05:00
Marc-André Moreau
74bba0e767
libwinpr-pool: improve thread pool API on Linux
2013-01-22 16:19:32 -05:00
Marc-André Moreau
c230726259
Merge pull request #917 from hardening/WaitForMultipleObjectsFix
...
WaitForMultipleObjects should conform to API and return WAIT_FAILED when nCount is 0
2013-01-22 13:04:52 -08:00
hardening
7b37f92b2b
WaitForMultipleObjects should conform to API and return WAIT_FAILED when nCount is 0
2013-01-22 21:58:06 +01:00
Marc-André Moreau
a98b8a1390
libwinpr-pool: improve Windows implementation
2013-01-21 23:34:46 -05:00
Marc-André Moreau
d4d19d6473
libwinpr-pool: implement WaitForThreadpoolWorkCallbacks
2013-01-21 19:22:08 -05:00
Marc-André Moreau
025b5bab68
libwinpr-pool: start implementing scheduling of asynchronous calls
2013-01-21 18:33:00 -05:00
Marc-André Moreau
ad9769dfe7
libwinpr-pool: make tests pass on Windows
2013-01-20 22:39:32 -05:00
Marc-André Moreau
c048dc4cc4
libwinpr-pool: add test stubs
2013-01-20 21:15:55 -05:00
Marc-André Moreau
9a7bcbb084
libfreerdp-codec: remove old RemoteFX tile pool
2013-01-20 20:44:30 -05:00
Marc-André Moreau
151c2a63e4
libfreerdp-primitives: fix build on Mac OS X
2013-01-19 20:32:14 -05:00
Marc-André Moreau
49ee48e8d0
libfreerdp-primitives: code style cleanup
2013-01-19 15:16:28 -05:00
Marc-André Moreau
04c6f689cc
Merge branch 'master' of github.com:awakecoding/FreeRDP
2013-01-18 13:50:59 -05:00
Marc-André Moreau
5b4aaf276f
libfreerdp-core: added reference counter for receive buffers
2013-01-18 13:50:35 -05:00
Marc-André Moreau
3d77d5a497
freerdp: merging with master
2013-01-14 13:50:16 -05:00
rdp.effort
4d90284657
Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
...
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
Marc-André Moreau
136bbc8bf7
libwinpr-sspi: start implementing Schannel EncryptMessage
2013-01-11 14:23:54 -05:00
Marc-André Moreau
b868af322e
libwinpr-sspi: fix Schannel TLS handshake
2013-01-10 17:12:27 -05:00
Marc-André Moreau
03ef822d0c
libwinpr-sspi: add Schannel EncryptMessage/DecryptMessage tests
2013-01-10 16:28:56 -05:00
rdp.effort
e53e8e524d
Initialize lpWideCharStr parameter when using ConvertToUnicode
...
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Marc-André Moreau
59084a09ba
libwinpr-sspi: fix Schannel TLS handshake
2013-01-10 12:19:07 -05:00
Marc-André Moreau
0fbf846671
libwinpr-sspi: NTLM extended protection cleanup
2013-01-10 11:19:57 -05:00
Marc-André Moreau
f0c94562cc
libfreerdp-core: TS Gateway cleanup and NTLM SingleHostData implementation
2013-01-09 12:05:34 -05:00
Marc-André Moreau
1d893ed268
libwinpr-sspi: add support for NTLMv2 Channel Binding Token (CBT)
2013-01-09 00:20:08 -05:00
Marc-André Moreau
d8949f5d8f
libfreerdp-core: fix computing of test channel binding token
2013-01-08 21:56:28 -05:00
Marc-André Moreau
811ff44720
libfreerdp-core: change ReceiveCallback return values
2013-01-06 17:24:08 -05:00
Marc-André Moreau
218773a04c
Merge branch 'master' of github.com:awakecoding/FreeRDP
2013-01-06 16:42:59 -05:00
Marc-André Moreau
4cf0dc1004
libwinpr-sspi: improve attempted channel binding token computation
2013-01-06 16:05:20 -05:00
Marc-André Moreau
3b71138442
wfreerdp-server: fix build on Windows 7
2013-01-05 14:58:47 -05:00
Marc-André Moreau
609459f8a6
libwinpr-sspi: fix build on Linux
2013-01-05 12:35:24 -05:00
Marc-André Moreau
05ef57bb01
libwinpr-sspi: complete Schannel TLS handshake test
2013-01-04 13:43:44 -05:00
Marc-André Moreau
f8b364d696
libwinpr-sspi: add more Schannel tests
2013-01-04 12:16:55 -05:00
Marc-André Moreau
985721d035
libwinpr-sspi: start implementing ISC and ASC for Schannel
2013-01-03 13:36:19 -05:00
Marc-André Moreau
80daf6fb5c
libwinpr-sspi: fix build on Linux
2013-01-03 11:35:08 -05:00
Marc-André Moreau
27084c4642
libwinpr-sspi: improve SSPI Schannel test
2013-01-03 11:13:13 -05:00
Marc-André Moreau
436a7dfc9f
libwinpr-sspi: enable extended protection by default to restore TSG connectivity with most servers
2012-12-28 11:53:17 -05:00
Marc-André Moreau
d0f623a1a9
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2012-12-28 10:12:01 -05:00
Vic Lee
48c0c4b090
libwinpr-utils/queue: fix a memory corruption in Queue_Clear.
2012-12-24 12:45:55 +08:00
Marc-André Moreau
45ad6e9ac9
libwinpr-sspi: started OpenSSL-based Schannel implementation
2012-12-23 20:20:41 -05:00
Marc-André Moreau
5240823124
libwinpr-sspi: fix build on Linux
2012-12-23 18:59:59 -05:00
Marc-André Moreau
a5aa8fc2cc
libwinpr-sspi: improved Schannel test with fake client-server communication
2012-12-23 18:41:02 -05:00
Marc-André Moreau
85690a3ec7
libwinpr-sspi: improve Schannel QueryCredentialsAttributes stubs
2012-12-23 14:38:58 -05:00
Marc-André Moreau
d4e580834f
libwinpr-sspi: fix build on Windows
2012-12-23 13:21:57 -05:00
Marc-André Moreau
1c89b62f55
libwinpr-sspi: added Schannel test
2012-12-22 20:23:44 -05:00
Marc-André Moreau
af05962a8e
libwinpr-sspi: added more Schannel definitions
2012-12-22 12:18:13 -05:00
Marc-André Moreau
093a0edd9c
libwinpr-sspi: add schannel definitions
2012-12-22 03:58:09 -05:00
Marc-André Moreau
f9ad678a51
libfreerdp-client: fix /pcb and /pcid
2012-12-22 02:39:39 -05:00
Marc-André Moreau
0e02134c40
libwinpr-crypto: started stubbing CryptoAPI
2012-12-22 02:23:58 -05:00
Marc-André Moreau
fd993a5997
libwinpr-pool: stubbed thread pooling API
2012-12-21 18:30:33 -05:00
Marc-André Moreau
f2f1c641a3
libwinpr-synch: merge with master
2012-12-21 12:22:37 -05:00
Marc-André Moreau
81c2782be3
libwinpr-sspi: start implementing Channel Bindings
2012-12-21 12:17:07 -05:00
Vic Lee
502368dd95
libwinpr-synch: proper handling fd event creation on Windows.
2012-12-21 11:41:18 +08:00
Marc-André Moreau
8c746976bb
libfreerdp-core: return proper event handles on Windows
2012-12-21 11:27:44 +08:00
Marc-André Moreau
038754cbed
libwinpr-sspi: fix SSPI NTLM SuppressExtendedProtection
2012-12-20 16:35:07 -05:00
Marc-André Moreau
05e6157d29
libfreerdp-core: return proper event handles on Windows
2012-12-19 12:16:39 -05:00
Vic Lee
b3d34f62dc
libwinpr-crt: add extra null-terminator for ConvertFromUnicode.
2012-12-19 22:03:31 +08:00
Marc-André Moreau
0047511055
libwinpr-sspi: fix unicode conversion
2012-12-17 13:35:12 -05:00
Marc-André Moreau
f9321045a4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2012-12-17 10:41:26 -05:00
Marc-André Moreau
591bbaae5b
Merge branch 'master' of github.com:awakecoding/FreeRDP
2012-12-17 10:36:08 -05:00
Marc-André Moreau
f58a1205ae
libwinpr-error: fix windows build
2012-12-17 10:35:00 -05:00
Alam Arias
7b0f4ce1ea
libfreerdp-core: llvm said fd may not be set
2012-12-16 23:03:00 -05:00
Marc-André Moreau
a02090c09b
libfreerdp-utils: fix unicode conversion
2012-12-16 23:00:40 -05:00
Marc-André Moreau
15eb66a707
libwinpr-crt: document usage of unicode functions
2012-12-16 20:44:40 -05:00
Marc-André Moreau
136fd5da45
libwinpr-crt: fix unicode conversion null termination
2012-12-16 17:48:35 -05:00
Marc-André Moreau
c6503c3283
libwinpr-crt: isolate single failing unicode conversion test
2012-12-16 16:59:40 -05:00
Marc-André Moreau
d7bae41092
libwinpr-crt: improve UTF conversion efficiency
2012-12-16 16:51:05 -05:00
Marc-André Moreau
36a1683a5d
libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation
2012-12-16 16:21:48 -05:00
Marc-André Moreau
8fffb17933
libwinpr-crt: cleanup unicode conversion test
2012-12-15 14:07:32 -05:00
Marc-André Moreau
a23e658add
libwinpr-crt: improve unicode conversion test
2012-12-15 13:55:20 -05:00
Daryl Poe
d393a26790
allow GCC compile with no compare_and_swap_8
2012-12-14 15:41:02 -07:00
Marc-André Moreau
9dd281e9ee
libwinpr-crt: improve MultiByteToWideChar tests
2012-12-14 16:54:51 -05:00
Marc-André Moreau
b60754cee6
libwinpr-crt: added test strings for character set conversion
2012-12-14 14:45:52 -05:00
Marc-André Moreau
3e1ac9a55e
libfreerdp-utils: fix build
2012-12-14 13:15:27 -05:00
Marc-André Moreau
6cdb09740c
wfreerdp: fix build
2012-12-14 13:11:07 -05:00
Marc-André Moreau
92bf3e4ae0
libfreerdp-utils: remove sleep utils in favor of WinPR
2012-12-14 00:58:48 -05:00
Marc-André Moreau
85b023bb08
libwinpr-sspi: remove debug output
2012-12-13 16:30:34 -05:00
Marc-André Moreau
72110807b1
libfreerdp-core: fix NLA
2012-12-13 16:29:16 -05:00
Marc-André Moreau
c428d1c4de
libfreerdp-core: fix build on linux
2012-12-12 23:36:15 -05:00
Marc-André Moreau
6450ecd67f
libfreerdp-core: fix windows build
2012-12-12 23:18:20 -05:00
Marc-André Moreau
7ff2be09b2
libfreerdp-core: more TSG memory cleanup
2012-12-12 22:03:40 -05:00
Marc-André Moreau
102abcbef2
libfreerdp-core: improve TSG memory cleanup
2012-12-12 20:02:56 -05:00
Marc-André Moreau
d3e0537d0d
libfreerdp-core: more TSG memory cleanup
2012-12-12 00:49:15 -05:00
Marc-André Moreau
3aeb9eb197
libfreerdp-core: TSG partial cleanup
2012-12-11 23:34:51 -05:00
Marc-André Moreau
db91555564
libfreerdp-core: improved TSG asynchronicity
2012-12-10 18:56:53 -05:00
Marc-André Moreau
424ac18eba
libwinpr-utils: simplify winpr stream utils even more
2012-12-10 14:43:48 -05:00
Marc-André Moreau
6e07570dda
libwinpr-utils: simplify stream utils
2012-12-10 14:23:27 -05:00
Marc-André Moreau
c4e06eb0a7
libwinpr-utils: refactor winpr stream utils
2012-12-10 14:08:06 -05:00
Marc-André Moreau
731e606c15
libfreerdp-core: start handling client call state
2012-12-07 21:09:55 -05:00