Commit Graph

699 Commits

Author SHA1 Message Date
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
2d860f5385 Merge pull request #1297 from ccpp/master
Improve Certificate Checking (Add support for wildcard certificates and check against RDP gateway hostname)
2013-06-28 09:37:58 -07:00
Marc-André Moreau
6d9e131d68 Merge pull request #1298 from floppym/testfixes
libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix.
2013-06-28 09:33:49 -07:00
Bernhard Miklautz
554268674c cache and core: set pointer to NULL after free 2013-06-28 15:18:20 +02:00
Bernhard Miklautz
1c2506f937 pointer cache: fixed double free 2013-06-28 15:17:37 +02:00
Norbert Federa
40976a91b7 utils/profiler: fix unix build 2013-06-27 13:43:29 +02:00
Norbert Federa
b2108839b0 utils: fix broken stopwatch implementation
Stopwatch (in the way it is used) must be able to measure the wall
clock time with high resolution but used clock() which is not
appropriate for this purpose:
On POSIX systems clock() returns the processor time used by the
program. On Windows clock() does measure the wall clock time but
has only a resolution of 1ms (if at all).
This also renders the freerdp profiler unusable.

This commit changes stopwatch to use the performance counters
on Windows and gettimeofday() for the rest.

Also added a warning about invalid profiling results to the
RemoteFX codec if rfxcontext->priv->UseThreads is enabled because
stopwatch is currently not used in a thread safe way.

Also see GitHub Issue #1325
2013-06-27 13:00:54 +02:00
Marc-André Moreau
aca13e5eac freerdp: add new events for scaling and panning changes 2013-06-26 19:05:44 -04:00
Marc-André Moreau
aa4ce5ee4b freerdp: add more settings for window panning and scaling 2013-06-26 18:49:01 -04:00
Martin Fleisz
920863cd15 Merge pull request #1292 from bmiklautz/issue_1229
core: Don't sent persistent key list if deact/react
2013-06-26 05:49:16 -07:00
Martin Fleisz
0ca9bcf90d Merge pull request #1310 from byteboon/master
incorrect size calculation in gdi_Bitmap_Decompress
2013-06-26 00:05:47 -07:00
Norbert Federa
9df9c7d28a libfreerdp-utils/pcap: open pcap in binary mode
Use 'b' in fopen's mode string to force binary (untranslated) mode
when reading or writing the pcap file.
This is required on WIN32 and maybe on other non POSIX conforming
systems.

This fixes the mstsc internal error disconnect followed by a crash
of the sample server when latter is used to serve a pcap file on
WIN32.
2013-06-25 17:11:36 +02:00
Marc-André Moreau
bda3a7e9cc mfreerdp: cleanup 2013-06-22 20:27:23 -04:00
Marc-André Moreau
508cef379e Merge branch 'master' of https://github.com/mrthebunny/FreeRDP 2013-06-21 23:35:35 -04:00
Marc-André Moreau
f6df97c61e freerdp: add server-side Bitmap Cache v3 and Frame Marker negotiation 2013-06-21 19:20:20 -04:00
byteboon
3065523405 fixed incorrect size calculation 2013-06-20 11:29:18 -07:00
Benoît LeBlanc
f0bee517ac fixed async transport crash on close
Setting the stop event to close the transport thread before closing
freeing resources.
2013-06-20 10:04:41 -04:00
Vic Lee
237c9e1975 libfreerdp-common: add some null pointer checks. 2013-06-20 14:13:57 +08:00
Vic Lee
6551815991 libfreerdp-codec/rfx: fix a memory leak. 2013-06-20 12:10:01 +08:00
Marc-André Moreau
f7af23c2e9 freerdp: added BitmapCompressionDisabled setting 2013-06-19 02:48:25 -04:00
Marc-André Moreau
fbf3208b0a libwinpr-utils: rename certain PubSub functions 2013-06-18 21:23:26 -04:00
Marc-André Moreau
90ce8be9fc freerdp-core: added Terminate event 2013-06-18 16:55:23 -04:00
Norbert Federa
86ca8f9523 codec: yCbCrToRGB did not get profiled anymore 2013-06-18 14:33:07 +02:00
Norbert Federa
12ad8cceaf Merge pull request #1291 from bmiklautz/misc-fixes
Misc fixes
2013-06-18 03:03:22 -07:00
Marc-André Moreau
508bae674b libwinpr-utils: improve PubSub with automatic strongly-typed helpers 2013-06-18 00:39:48 -04:00
Mike Gilbert
89f69aa9ba libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix. 2013-06-17 20:46:23 -04:00
Chris
44f6f16953 Fixed a possible buffer overflow issue 2013-06-17 21:49:29 +02:00
Chris
cd548da226 Using the more efficient code for comparing host names 2013-06-17 21:26:35 +02:00
Chris
13466349bc 1) Add support for Wildcard Certificates
2) For Gateway connections compare against gateway host name instead of target host
2013-06-17 21:19:01 +02:00
Marc-André Moreau
59b7c53c5f freerdp: remove temporary rdpClient* interface and replace with pubSub hooks 2013-06-15 17:39:45 -04:00
Vic Lee
96d5910a75 libfreerdp-utils: fix profiler on Windows. 2013-06-14 13:21:29 +08:00
Vic Lee
b194ddc211 libfreerdp-codec/rfx: dwSize must be initialized. 2013-06-14 12:16:04 +08:00
Marc-André Moreau
a8c268a9ff xfreerdp: improve common client API 2013-06-13 22:11:23 -04:00
Marc-André Moreau
208c9f844a freerdp: fix core API bugs 2013-06-13 21:34:46 -04:00
Bernhard Miklautz
72c6ecdd3b core: Don't sent persistent key list if deact/react
Client persistent key list should not be sent if deactivation-
reactivation sequence is in progress. See [MS-RDPBCGR] 2.2.1.17
for details.

fixes #1229
2013-06-13 20:27:10 +02:00
Bernhard Miklautz
0c2f6d59dd core: update play-rfx to work with async-updates 2013-06-13 16:38:31 +02:00
Bernhard Miklautz
ce17a827c4 Added play-rfx command line option.
PCAP dumps can now be played with /play-rfx:path_to_file again.
2013-06-13 14:51:25 +02:00
Vic Lee
9dbc240f68 libfreerdp-core/server: fix stream memory leaks. 2013-06-13 16:56:06 +08:00
Vic Lee
6422eb57d8 libfreerdp-core/surface: remove reduncdant frame ack - was done in client. 2013-06-13 13:39:49 +08:00
Marc-André Moreau
404f66820b libfreerdp-core: force flushing of updates 2013-06-09 20:37:58 -04:00
Marc-André Moreau
64d8c3d42b libfreerdp-core: add update_check_flush 2013-06-09 19:47:59 -04:00
Marc-André Moreau
49b056bec0 libfreerdp-core: added orders buffer size approximation functions 2013-06-09 17:56:57 -04:00
Marc-André Moreau
1695f530e7 libfreerdp-core: add method to flush server-side updates 2013-06-09 16:49:19 -04:00
Marc-André Moreau
e405fe2692 libfreerdp-crypto: create server directory for certificates 2013-06-06 16:45:19 -04:00
Marc-André Moreau
2bd6808432 freerdp: merge with master 2013-06-05 10:31:01 -04:00
Marc-André Moreau
6e0cbdddb1 Merge pull request #1261 from simon-engledew/master
Ber Encoding Issue
2013-06-03 16:41:29 -07:00
Hardening
fd835a747c Wire the frame acknowledge callback 2013-06-01 22:57:34 +02:00
Hardening
f37cd53769 Fixed a memory leak with alternative names 2013-06-01 22:37:49 +02:00
Benoit LeBlanc
bda6acbf3f Updated with changes from awakecoding repository. 2013-05-31 14:54:15 -04:00
Marc-André Moreau
2a08093e60 libfreerdp-crypto: fix openssl null pointer dereferencing in tls_accept 2013-05-30 19:44:58 -04:00