Commit Graph

4728 Commits

Author SHA1 Message Date
Marc-André Moreau
691813b847 Merge pull request #1330 from bmiklautz/misc_fixes_20130701
Misc fixes
2013-07-02 11:24:54 -07: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
c084e0f8ae xfreerdp: improve selection between multitouch and non-multitouch devices with XInput 2 2013-06-28 13:46:58 -04:00
Marc-André Moreau
1274752506 Merge pull request #1329 from awakecoding/master
Multitouch, Client API, Mac Client, PubSub, xrdp-ng
2013-06-28 09:58:44 -07:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
fd365121a8 Merge pull request #1323 from mfleisz/andr_fixes
Android: various bug fixes to prevent NullPointerExceptions
2013-06-28 09:41:01 -07:00
Marc-André Moreau
7bb9e5e408 Merge pull request #1308 from dbungert/tsmf
Assorted tsmf and gstreamer fixes
2013-06-28 09:40:29 -07: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
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
237f5a63d5 Merge pull request #1288 from dbungert/dvcmanDupeChannels
Free incompletely initialized dvcs.
2013-06-28 09:36:40 -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
Marc-André Moreau
674890f5d0 Merge pull request #1328 from bmiklautz/misc_fixes_20130628
Misc fixes
2013-06-28 09:33:09 -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
C-o-r-E
e85d793aa9 fixed initialization of xf_input 2013-06-27 20:26:31 -04:00
C-o-r-E
53b0d906af input: fixed screen not refreshing on scaling change 2013-06-27 19:16:13 -04:00
C-o-r-E
1e085197a9 some additional cleanup 2013-06-27 17:16:55 -04:00
Marc-André Moreau
1d0a579590 freerdp-client: use 32bpp with NSCodec 2013-06-27 15:39:56 -04:00
C-o-r-E
51a63db00b xfreerdp: added event handler for ScalingFactorChange 2013-06-27 15:07:40 -04:00
Bernhard Miklautz
b91f0bbb90 Merge pull request #1295 from bmiklautz/mac_build_fix
Mac build fix
2013-06-27 11:39:25 -07:00
C-o-r-E
6f3cc12b2c fixed deadlock in pubsub, remove scale from xf_context 2013-06-27 14:24:46 -04:00
Marc-André Moreau
3fbc4f899f libwinpr-utils: fix deadlock in PubSub 2013-06-27 14:16:50 -04:00
Benoît LeBlanc
6621239946 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: add new events for scaling and panning changes
  xfreerdp: add ParamChange event handler
  freerdp: add more settings for window panning and scaling
  winpr: add _WINRT platform detection macro
2013-06-27 11:24:51 -04:00
Benoît LeBlanc
0f24f6490e MacFreeRDP - Replaced MRDPView instance in NIB with instance allocated by the API. 2013-06-27 11:22:15 -04:00
Bernhard Miklautz
34c3952a01 Merge pull request #1326 from nfedera/fix-2013-06-27-01
utils: fix broken stopwatch implementation
2013-06-27 04:49:15 -07: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
C-o-r-E
27cb96e577 work in progress 2013-06-27 03:59:49 -04:00
C-o-r-E
ebdf1ea6a2 picked some changes from awakecoding's branch 2013-06-26 21:56:37 -04:00
C-o-r-E
11b0a9f185 xfreerdp-client: attempted fixing build 2013-06-26 19:16:28 -04: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
c8a09f3f76 xfreerdp: add ParamChange event handler 2013-06-26 18:57:16 -04:00
Marc-André Moreau
aa4ce5ee4b freerdp: add more settings for window panning and scaling 2013-06-26 18:49:01 -04:00
Marc-André Moreau
77f5994e1c winpr: add _WINRT platform detection macro 2013-06-26 18:12:01 -04:00
Benoît LeBlanc
ed4a25d1ae WaykClient (Mac): integrated MRDPView (allocated at runtime) 2013-06-26 13:45:12 -04:00
Benoît LeBlanc
2f310271c9 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  winpr: extend stream api
2013-06-26 10:26:54 -04:00
Martin Fleisz
77f8ca315e Android: various bug fixes to prevent NullPointerExceptions 2013-06-26 06:50:10 -07:00
Martin Fleisz
4d47514428 Merge pull request #1302 from bmiklautz/dfreerdp_unmaintained
directfb: print "unmaintained" build warning
2013-06-26 05:49:45 -07: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
14e81877fb Merge pull request #1294 from bmiklautz/null_handle
winpr: check added if handle is NULL
2013-06-26 05:48:30 -07:00
Martin Fleisz
6ad16f5b77 Merge pull request #1322 from bmiklautz/xf_bitmap_decompress
client/x11: fixed incorrect size calculation
2013-06-26 05:42:09 -07:00
Bernhard Miklautz
03f2b7ea51 client/x11: fixed incorrect size calculation
xf_Bitmap_Decompress used the same calculation like gdi_Bitmap_Decompress
see #1310
2013-06-26 14:35:49 +02: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
C-o-r-E
340c3a4246 merged completely (painful) from awakecoding's tree 2013-06-25 20:41:32 -04:00
C-o-r-E
90c536de94 picked some changes from awakecoding tree 2013-06-25 18:47:41 -04:00
Marc-André Moreau
c66b79ad46 winpr: extend stream api 2013-06-25 16:46:55 -04:00
Benoît LeBlanc
44034305d3 Fixed output path for MacFreeRDP framework deployment.
MRDPView: replaced awakeFromNib with viewDidLoad
2013-06-25 16:05:37 -04:00
Martin Fleisz
bff4cbdf6f Merge pull request #1318 from nfedera/fix-2013-06-25-02
libfreerdp-utils/pcap: open pcap in binary mode
2013-06-25 08:30:54 -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