Commit Graph

723 Commits

Author SHA1 Message Date
Benoît LeBlanc
20d3518c6b - MRDPView: rdpConnectError moved outside of the Framework, to the native App (in AppDelegate) This is now handled on the client side.
- freerdp_connect: all code paths now trigger a ConnectionResult event.
2013-07-19 16:33:20 -04:00
Marc-André Moreau
6cde25937d libfreerdp-core: wrap state transition actions 2013-07-18 17:15:10 -04:00
Marc-André Moreau
f27ab422e3 libfreerdp-core: expand comments for connection sequence, split in more steps server-side connection code 2013-07-18 15:18:59 -04:00
Marc-André Moreau
7e63668090 libfreerdp-core: split licensing/capability steps in server-side RDP state machine 2013-07-17 17:46:58 -04:00
Marc-André Moreau
a55fbc7b68 libfreerdp-core: initialize queue objects earlier 2013-07-17 15:27:55 -04:00
Marc-André Moreau
ba69071d04 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-07-15 17:14:40 -04:00
Marc-André Moreau
fe62e8c69b Merge branch 'master' of github.com:mrthebunny/FreeRDP 2013-07-15 17:14:20 -04:00
Bernhard Miklautz
738cd19478 Merge pull request #1353 from nfedera/fix-2013-07-15-01
libfreerdp-gdi: added gdi_surface_frame_marker
2013-07-15 06:15:37 -07:00
Norbert Federa
e0e337e278 libfreerdp-gdi: added gdi_surface_frame_marker
Frame markes are not really implemented. Just SendFrameAcknowledge on
SURFACECMD_FRAMEACTION_END if settings->FrameAcknowledge > 0

This fixes issue #1352
2013-07-15 15:00:18 +02:00
Armin Novak
6e6581ab87 Fix for Issue #1349 2013-07-15 10:20:24 +02:00
Marc-André Moreau
5926fa36dd libfreerdp-client: use PubSub for OnChannelConnected/OnChannelDisconnected 2013-07-11 08:53:15 -07:00
Marc-André Moreau
f5c2181218 channels/disp: update 2013-07-10 14:04:43 -07:00
Norbert Federa
b9c8ac6527 codec/rfx: use function pointer for rlgr codec
Option to switch the rlgr implementation during runtime - exactly
like we do it with the ycbcr, dwt and quantization functions.
2013-07-10 07:14:26 +02:00
Monty
f8fa2f9f5d fixed error on compilation WITH_DEBUG_RDP ON that was raising due to wrong variable in debug statement 2013-07-07 12:14:38 +05:30
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
Norbert Federa
df7526f888 codec/rfx: Fixed bufferpool size used for RemoteFX
y_r_buffer, cb_g_buffer, cr_b_buffer and dwt_buffer are all word arrays (16bit)
but obviously the bufferpool size was calculated based on the wrong assumption
that these are 32 bit values in commit 37a59efbe3
2013-07-05 12:30:13 +02:00
Marc-André Moreau
1159d55569 libfreerdp-core: fix unused variable 2013-07-04 22:39:32 -04:00
Marc-André Moreau
5f4f3af98a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-07-04 20:33:00 -04:00
Marc-André Moreau
0ee7ca5741 libfreerdp-codec: add bitmap encoder 2013-07-04 16:31:54 -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
Marc-André Moreau
cbd93f1b3b freerdp: add ConnectionResult event 2013-07-03 16:18:45 -04:00
Marc-André Moreau
bc631c93a8 freerdp: separate GatewayUsageMethod from GatewayEnabled 2013-07-03 15:07:12 -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
Bernhard Miklautz
87e9a24b1e tls: updated certificate mismatch message
Added information to the message if the name found is an CN or an
alternative name. Also print a message if no CN was not found instead
of (null).
2013-07-01 19:21:57 +02:00
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