Commit Graph

509 Commits

Author SHA1 Message Date
Marc-André Moreau
353376abd3 libfreerdp-core: added input event queue 2013-01-27 21:07:17 -05:00
Marc-André Moreau
10a35a9224 libfreerdp-core: add +async-update and +async-input command-line options 2013-01-27 18:22:46 -05:00
Marc-André Moreau
d8afffd3a8 libfreerdp-core: fix server-side color depth negotiation 2013-01-27 17:17:04 -05:00
Marc-André Moreau
e1d0fad519 libfreerdp-core: fix memory leaks 2013-01-25 17:52:37 -05:00
Marc-André Moreau
f3d4da3cf9 libfreerdp-core: added more RPC fault PDU error codes 2013-01-25 13:52:01 -05:00
Marc-André Moreau
abca3f8c10 libfreerdp-core: fix check for null certificate 2013-01-25 13:47:56 -05:00
Marc-André Moreau
f6080b0c22 libfreerdp-core: disable asynchronous mode for now 2013-01-25 13:17:51 -05:00
Marc-André Moreau
c46074f926 libfreerdp-core: free messages after calls 2013-01-25 13:12:21 -05:00
Bernhard Miklautz
7089b8dcae primitives: return value to fix compiler warning 2013-01-25 18:13:14 +01:00
Marc-André Moreau
d8f8be192e xfreerdp: add asynchronous dequeuing of graphical messages 2013-01-25 12:08:00 -05: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
c79015831e libfreerdp-core: copy messages for asynchronous queuing 2013-01-25 00:27:39 -05:00
Marc-André Moreau
c1d61ef365 libfreerdp-core: implement message dequeuing 2013-01-24 22:38:13 -05:00
Marc-André Moreau
c14cf1e203 libfreerdp-core: add message callback registration 2013-01-24 20:05:03 -05:00
Marc-André Moreau
3c8c9aab62 libfreerdp-core: add default message post calls in message queue stubs 2013-01-24 19:08:30 -05:00
Marc-André Moreau
9ba0114e04 libfreerdp-core: added message IDs 2013-01-24 17:35:55 -05:00
Marc-André Moreau
f92f48bf9d libfreerdp-core: added message queue stubs 2013-01-24 17:11:43 -05:00
Marc-André Moreau
fa30eeaef9 libwinpr-utils: started implementing asynchronous MessageQueue 2013-01-24 14:09:44 -05:00
Marc-André Moreau
b2c49aad04 Merge pull request #922 from awakecoding/master
Platform-Specific System Information
2013-01-23 16:45:38 -08: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
C-o-r-E
575a38794b libfreerdp: fixed parenthesis 2013-01-23 13:44:58 -05:00
Marc-André Moreau
a5b66e3766 libfreerdp-codec: fix build on Windows 2013-01-23 11:48:31 -05:00
Bernhard Miklautz
1b16ed49f1 codec/nsc: initialize elements with NULL
bmpdata and plane_buf[i] are checked agains NULL before using/freeing them
but they were not initialized to NULL. This caused segfaults in
the sample server.
2013-01-23 14:55:38 +01:00
Marc-André Moreau
bab543b201 libfreerdp-codec: start parallelizing rfx_decode_rgb 2013-01-22 23:00:20 -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
37a59efbe3 libfreerdp-codec: use _aligned_free for RemoteFX buffers 2013-01-22 18:32:17 -05:00
Marc-André Moreau
438a727c6b libfreerdp-codec: start parallel decoding of RemoteFX tiles 2013-01-22 18:14:50 -05:00
Vic Lee
ec54a44449 rdpsnd: fix some null pointer crashes. 2013-01-22 23:26:55 +08:00
Marc-André Moreau
9a7bcbb084 libfreerdp-codec: remove old RemoteFX tile pool 2013-01-20 20:44:30 -05:00
david
4d01e2d4fe Allow to read ber integers with fancy size when the result is ignored 2013-01-20 21:30:17 +01:00
Marc-André Moreau
d8875ae3e7 libfreerdp-core: fix windows build 2013-01-19 22:00:09 -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
f38bc6d393 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-19 19:45:12 -05:00
Marc-André Moreau
888fcf8d47 Merge pull request #913 from llyzs/llyzs
libfreerdp-core: disable frame ack if server does not send the capability
2013-01-19 16:38:01 -08:00
david
ea43348ba3 Allow ignoring an 8 bytes integer 2013-01-19 23:32:04 +01:00
Marc-André Moreau
49ee48e8d0 libfreerdp-primitives: code style cleanup 2013-01-19 15:16:28 -05:00
Marc-André Moreau
1032c69e3f libfreerdp-primitives: fix building with IPP on Linux 2013-01-19 14:27:34 -05:00
david
193622dada Dump licence content when reading fails 2013-01-19 15:28:07 +01:00
Vic Lee
cde3407138 libfreerdp-core: disable frame ack if server does not send the capability. 2013-01-19 17:07:45 +08:00
Marc-André Moreau
ce5e52ba6f libfreerdp-primitives: fix build on Windows 2013-01-18 20:47:18 -05:00
Marc-André Moreau
3df754e0bb libfreerdp-codec: fix build 2013-01-18 19:43:53 -05:00
Marc-André Moreau
c6e6956a43 Merge branch 'master' of https://github.com/dpoe/FreeRDP 2013-01-18 19:28:55 -05:00
Marc-André Moreau
9ae698c1e5 Merge github.com:FreeRDP/FreeRDP 2013-01-18 19:28:03 -05:00
Marc-André Moreau
e00e14971e libfreerdp-core: disable sending frame ack (unknown pduType2 error) 2013-01-18 19:24:56 -05:00
Marc-André Moreau
7ed7e1c9aa freerdp: merging with master 2013-01-18 19:01:25 -05:00
Daryl Poe
b64408975d freerdp primitives library 2013-01-18 15:32:58 -07:00
Marc-André Moreau
930c9907ce libfreerdp-core: code style cleanup 2013-01-18 16:50:25 -05:00
Marc-André Moreau
3f3d30cd4d Merge pull request #911 from hardening/hardening10
Verbose message when processing fails
2013-01-18 11:30:25 -08:00
Marc-André Moreau
af5ea0e7fc Merge pull request #910 from hardening/hardening9
Fixed padding management when reading certificate
2013-01-18 11:29:41 -08: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
rdp.effort
46e7d94bf8 Added error messages when orders processing fails
Added a check for exponent_length
Added error messages for certificate parsing
2013-01-18 14:36:49 +01:00
Marc-André Moreau
bc81ebfd63 Merge pull request #906 from hardening/hardening8
Correctly treat error case and memory management when reading certificate
2013-01-17 07:12:12 -08:00
rdp.effort
e8acf29a48 Fixed padding management 2013-01-17 15:09:46 +01:00
Vic Lee
6b91ed5830 Frame acknowledgement should be sent by client UI. 2013-01-17 12:58:01 +08:00
Vic Lee
39d7cc5b43 libfreerdp-core/peer: remove a printf message. 2013-01-17 10:51:08 +08:00
Marc-André Moreau
df01ba88d4 libfreerdp-core: change fastpath return codes 2013-01-16 18:01:10 -05:00
rdp.effort
9c5352cd10 Correctly treat error case and memory management 2013-01-16 18:10:54 +01:00
Martin Fleisz
6fde5c1a49 libfreerdp-core: fix server crash when accepting NLA connections 2013-01-16 03:58:37 -08:00
david
43cb13585d always initialize lpMultiByteStr parameter when calling ConvertFromUnicode 2013-01-16 01:14:03 +01:00
rdp.effort
71c37bdfc3 call time instead of gmtime (makes valgrind happy) 2013-01-16 00:06:56 +01:00
rdp.effort
0a6c6ec4f3 don't free xkb_layout or xkb_variant when it has not been set 2013-01-16 00:04:04 +01:00
Corey C
3737eb658b libfreerdp-core: removed left over printf 2013-01-15 13:31:11 -05:00
rdp.effort
0abf945a18 check or propagate return values when writing 2013-01-14 23:40:34 +01:00
Corey C
74c6df510a libfreerdp-core: fixed server side pdu receiving 2013-01-14 16:10:05 -05:00
Marc-André Moreau
0146b21eb5 libfreerdp-core: fix surface commands 2013-01-14 15:19:51 -05:00
Marc-André Moreau
3d77d5a497 freerdp: merging with master 2013-01-14 13:50:16 -05:00
Marc-André Moreau
9f4b41d377 Merge pull request #895 from bmiklautz/renamedebug
utils/debug: renamed DEBUG to DEBUG_MSG
2013-01-14 06:28:51 -08:00
Marc-André Moreau
8b3b635d99 Merge pull request #896 from hardening/hardening5
Don't break connection when receiving an invalid synchronize packet
2013-01-14 05:08:22 -08:00
Marc-André Moreau
a324873c40 Merge pull request #894 from ArvidNorr/waitfix
Wrong max socket value fix
2013-01-14 05:07:52 -08:00
rdp.effort
2c9412bb1c Don't break connection when receiving an invalid synchronize packet 2013-01-14 12:33:56 +01:00
Bernhard Miklautz
49c3641b6e utils/debug: renamed DEBUG to DEBUG_MSG 2013-01-14 11:47:24 +01:00
ArvidNorr
8bdeb78f06 Wrong max socket value fix 2013-01-14 02:12:30 -08:00
ArvidNorr
cea442f24e login and synchronize fix 2013-01-14 01:13:29 -08:00
rdp.effort
81c0e99ceb Misc fixes and result checks 2013-01-13 23:37:50 +01:00
rdp.effort
4d259b5c8e fixed a typo with stream_skip
according to GDI-2.2.2.2.1.2.4 numberColors is an UINT16
fixed a rewrite error in multi_patblt
2013-01-12 16:12:50 +01:00
rdp.effort
91a0b6bb98 fixed a typo in capabilities.c 2013-01-12 14:55:38 +01: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
rdp.effort
869a1b9980 check return values when negotiating RDP connection 2013-01-12 14:37:21 +01:00
rdp.effort
df08643184 Fixed a bogus last time change 2013-01-12 14:31:53 +01:00
rdp.effort
98f3cf249b check stream size when processing update packets 2013-01-12 00:46:04 +01:00
rdp.effort
a30075b12d Added checks for RDP layer processing 2013-01-12 00:43:16 +01:00
rdp.effort
6fd03aba38 mechanize processing of graphical orders to improve security 2013-01-12 00:17:45 +01:00
rdp.effort
dc9777bea0 checks stream size when reading rail strings 2013-01-11 01:29:34 +01:00
rdp.effort
2a6c62520f checks BER decoding result and stream size when processing NLA packets 2013-01-11 01:27:19 +01:00
rdp.effort
6bc7da797b checks stream size when processing channel data 2013-01-11 01:25:26 +01:00
rdp.effort
0af0d3adfa checks stream sizes when reading GCC packets 2013-01-11 01:23:31 +01:00
rdp.effort
2f97638e98 checks stream sizes when reading redirection packets 2013-01-11 01:21:24 +01:00
rdp.effort
f320fc3530 check stream sizes when reading ClientInfoPDU 2013-01-11 01:18:11 +01:00
rdp.effort
dc967dcc89 adding const qualifiers for security.[c|h] helps understand inputs and
outputs
2013-01-11 01:15:52 +01:00
rdp.effort
376731315b Checks stream size when reading in BER format 2013-01-11 01:11:03 +01: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
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
45d001ef8b libfreerdp-core: change return values for PDU processing 2013-01-08 17:18:10 -05:00
Marc-André Moreau
811ff44720 libfreerdp-core: change ReceiveCallback return values 2013-01-06 17:24:08 -05:00
Marc-André Moreau
dcf6c17e03 libfreerdp-core: transport cleanup 2012-12-21 15:49:02 -05:00
Marc-André Moreau
87451b38c2 libfreerdp-core: pool receive buffers 2012-12-21 15:36:10 -05:00
Marc-André Moreau
06f76ee0fe libfreerdp-core: fix receiving with expected lengths 2012-12-21 14:13:40 -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
ed5ad30d4f libfreerdp-core/transport: select sockfd instead of sleep when blocking. 2012-12-21 16:24:26 +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
c8173c405d Merge pull request #866 from bmiklautz/keychanged_segfault
transport: fix segfault if host key changed
2012-12-20 08:02:39 -08:00
Marc-André Moreau
c6db4306af Merge pull request #867 from mfleisz/master
cmake: fixed errors with Android build
2012-12-20 08:02:24 -08:00
Vic Lee
2bfd06d7bc libfreerdp-core/listener: loopback address should consider local. 2012-12-20 21:57:55 +08:00
Martin Fleisz
30cb77835b cmake: fixed errors with Android build 2012-12-20 04:09:33 -08:00
Bernhard Miklautz
8fd6f63d14 transport: fix segfault if host key changed 2012-12-20 11:45:21 +01:00
Marc-André Moreau
05e6157d29 libfreerdp-core: return proper event handles on Windows 2012-12-19 12:16:39 -05:00
Marc-André Moreau
8267f2cb88 libfreerdp-core: fix usage of proper gateway credentials 2012-12-18 10:51:43 -05:00
LawrenceK
a6178d9297 ConvertToUnicode returns the number of wide characters including the NULL terminator. 2012-12-18 14:05:59 +00:00
Marc-André Moreau
d19e2042c3 libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR 2012-12-17 10:20:25 -05:00
Marc-André Moreau
af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -05:00
Marc-André Moreau
a02090c09b libfreerdp-utils: fix unicode conversion 2012-12-16 23:00:40 -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
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
2045a5aec8 libfreerdp-utils: remove print utils 2012-12-14 00:30:20 -05:00
Marc-André Moreau
709e66a596 libfreerdp: header cleanup 2012-12-14 00:25:48 -05:00
Marc-André Moreau
808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau
cfa2e169c1 libfreerdp-core: added missing codec GUIDs 2012-12-13 23:33:24 -05:00
Marc-André Moreau
b53bdba143 libfreerdp-core: TSG cleanup 2012-12-13 20:23:37 -05:00
Marc-André Moreau
72110807b1 libfreerdp-core: fix NLA 2012-12-13 16:29:16 -05:00
Marc-André Moreau
3e7824f393 libfreerdp-core: adding more monitor options 2012-12-13 14:38:02 -05:00
Marc-André Moreau
7d8ef00d6a libfreerdp-core: implement proper TS Gateway connection shutdown 2012-12-13 12:40:46 -05:00
Marc-André Moreau
c0d12b1b9e libfreerdp-core: implement RTS flow control ack PDU 2012-12-13 11:01:13 -05:00
Marc-André Moreau
c317c60275 libfreerdp-core: reply to TSG ping PDUs 2012-12-13 10:49:52 -05:00
Marc-André Moreau
26492f1cc7 libfreerdp-core: fix settings->HomePath leak (issue #810) 2012-12-13 07:48:16 -05:00
Marc-André Moreau
f43298d69b libfreerdp-core: set target name in RPC bind 2012-12-13 07:37:41 -05:00
Marc-André Moreau
a12925e0e8 libfreerdp-core: merging with master 2012-12-12 23:52:23 -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
52353e2427 libfreerdp-core: TSG printf cleanup 2012-12-12 22:34:41 -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
387a152299 libfreerdp-core: TSG reassembly refactoring 2012-12-12 15:55:42 -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
dc978a967c libfreerdp-core: improve receiving of TSG data 2012-12-11 19:17:57 -05:00
Marc-André Moreau
8aa1143cc6 libfreerdp-core: work around PDU corruption issue with TSG, still experience locking 2012-12-11 17:24:52 -05:00
Marc-André Moreau
db91555564 libfreerdp-core: improved TSG asynchronicity 2012-12-10 18:56:53 -05:00