4374 Commits

Author SHA1 Message Date
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
Bernhard Miklautz
b91f0bbb90 Merge pull request #1295 from bmiklautz/mac_build_fix
Mac build fix
2013-06-27 11:39:25 -07: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
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
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
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
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
byteboon
3065523405 fixed incorrect size calculation 2013-06-20 11:29:18 -07: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
Bernhard Miklautz
729efc7d57 Merge pull request #1304 from nfedera/fix-2013-06-18-03
xfreerdp-server: removed binary
2013-06-18 06:42:11 -07:00
Norbert Federa
bacc272299 xfreerdp-server: removed binary 2013-06-18 15:39:13 +02:00
Bernhard Miklautz
5517ea1ef6 Merge pull request #1303 from nfedera/fix-2013-06-18-02
codec: yCbCrToRGB did not get profiled anymore
2013-06-18 05:39:10 -07:00
Norbert Federa
86ca8f9523 codec: yCbCrToRGB did not get profiled anymore 2013-06-18 14:33:07 +02:00
Bernhard Miklautz
edc34d4d02 directfb: print "unmaintained" build warning
directfb client is currently unmaintained
2013-06-18 12:29:30 +02:00
Norbert Federa
12ad8cceaf Merge pull request #1291 from bmiklautz/misc-fixes
Misc fixes
2013-06-18 03:03:22 -07:00
Mike Gilbert
89f69aa9ba libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix. 2013-06-17 20:46:23 -04:00
Bernhard Miklautz
bcef931755 build: changed X11_FEATURE_TYPE to optional on osX
If X11_FEATURE_TYPE is disables on mac xfreerdp can't be build properly.
Setting it to optional allows to enable X11 builds with -DWITH_X11
2013-06-17 11:14:25 +02:00
Bernhard Miklautz
c89be21c71 build: use uppercase XRENDER_FOUND
FIND_PACKAGE_HANDLE_STANDARD_ARGS sets <UPPERCASED_NAME>_FOUND
2013-06-17 11:13:14 +02:00
Christian Plattner
9373787fb1 winpr: check added if handle is NULL 2013-06-14 15:41:06 +02: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
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
c96cbb7f74 server/x11: build fix when xfixes is disabled 2013-06-13 15:46:31 +02:00
Bernhard Miklautz
0fd6439123 server/sample: fix build
Needs now also to be linked against winpr-error
2013-06-13 14:53:09 +02:00
Bernhard Miklautz
8748cfc57f Added auth-only parameter to new command line syntax
auth-only only authenticates. This can be used for credential testing.
Username and password are required for auth-only
2013-06-13 14:51:25 +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
04752f0144 Merge pull request #1282 from awakecoding/master
Misc. Fixes
2013-06-05 08:14:10 -07:00
Marc-André Moreau
2bd6808432 freerdp: merge with master 2013-06-05 10:31:01 -04:00
Marc-André Moreau
3196996597 Merge pull request #1266 from bmiklautz/information
Updated links in README
2013-06-03 16:42:15 -07:00
Marc-André Moreau
3a845adadf Merge pull request #1277 from hardening/fixes2
Refactored printf(msg) to fprintf(stderr, msg)
2013-06-03 16:41:45 -07:00
Marc-André Moreau
6e0cbdddb1 Merge pull request #1261 from simon-engledew/master
Ber Encoding Issue
2013-06-03 16:41:29 -07:00