Commit Graph

4716 Commits

Author SHA1 Message Date
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
Martin Fleisz
84aa209322 Merge pull request #1317 from nfedera/fix-2013-06-25-01
libwinpr-synch: fix broken USleep (on WIN32)
2013-06-25 07:50:02 -07: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
f670bce3c5 Merge pull request #1314 from nfedera/fix-2013-06-24-01
sample server: support build on win32
2013-06-24 09:14:04 -07:00
Norbert Federa
729814fabd sample server: support build on win32 2013-06-24 18:02:21 +02:00
Marc-André Moreau
1fdcf5354c mfreerdp: change output name 2013-06-23 00:18:55 -04:00
Marc-André Moreau
3d479448a3 mfreerdp: refactoring 2013-06-22 22:55:51 -04:00
Marc-André Moreau
bda3a7e9cc mfreerdp: cleanup 2013-06-22 20:27:23 -04:00
Marc-André Moreau
bff4e22547 mfreerdp: remove cmake debug output 2013-06-22 18:38:35 -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
Norbert Federa
3a6a8881f4 Merge pull request #1313 from nfedera/fix-2013-06-21-01
server/sample: fix for issue #1312 (mstsc protocol error)
2013-06-21 07:55:17 -07:00