Commit Graph

5103 Commits

Author SHA1 Message Date
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
nogginware
2761cef387 new file: winpr/include/winpr/wtsapi.h
new file:   winpr/libwinpr/wtsapi/CMakeLists.txt
	new file:   winpr/libwinpr/wtsapi/ModuleOptions.cmake
	new file:   winpr/libwinpr/wtsapi/wtsapi.c
2013-06-24 16:32:12 -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
Norbert Federa
018ed7e09b server/sample: fix for issue #1312 (mstsc protocol error) 2013-06-21 16:46:46 +02:00
Benoît LeBlanc
1648ca2917 AsyncInput implementation.
WARNING: settings->AsyncInput intentionnally left at FALSE, because the input callback function does not seem to be triggered after a certain point. Possibility of a deadlock?
2013-06-20 20:55:49 -04:00
Benoît LeBlanc
7185c8a8fe mac client: Set clipboard redirection ON by default, small refactoring 2013-06-20 16:45:27 -04:00
Benoît LeBlanc
d6fe444f45 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  xfreerdp-server: fix build without XFIXES
  freerdp: fix rdpClientContext duplicate definition
2013-06-20 15:02:24 -04:00
Benoît LeBlanc
f24e6a2c3a mac client: async channels implementation 2013-06-20 15:00:50 -04:00
byteboon
3065523405 fixed incorrect size calculation 2013-06-20 11:29:18 -07:00
Marc-André Moreau
e166840a26 xfreerdp-server: fix build without XFIXES 2013-06-20 12:11:32 -04:00
Marc-André Moreau
62fe554c6a freerdp: fix rdpClientContext duplicate definition 2013-06-20 11:52:50 -04:00
Benoît LeBlanc
57d99af6fd Mac client: removed non-async transport methods 2013-06-20 11:47:28 -04:00
Benoît LeBlanc
5a8318022d Fixed typo (AsyncChannels) 2013-06-20 10:42:11 -04: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
Benoît LeBlanc
19717162f0 mac client: implemented async update
Activated async transport, channels
Removed duplicate rdpClientContext definition
2013-06-20 10:03:20 -04:00
Vic Lee
237c9e1975 libfreerdp-common: add some null pointer checks. 2013-06-20 14:13:57 +08:00