Commit Graph

1675 Commits

Author SHA1 Message Date
Bernhard Miklautz
668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
81004b44c5 build: Honor REQUIRE if set in find_package
FIND_PACKAGE_HANDLE_STANDARD_ARGS handles REQUIRE only correct if
called with the same package name as find_package was called with.

The returned xxxx_FOUND is still uppercase.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
cc24a7ad6a Changed cmake find prefix for pulseaudio.
Now option (WITH_PULSEAUDIO) and package prefix (PULSEAUDIO_FOUND) match.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
ac5dcbf565 Fixed optimization flags for release builds.
cmake uses CMAKE_C_FLAGS_RELEASE in addition to CMAKE_C_FLAGS for
make based build systems. Without the fix the optimization level
argument is set twice (-O2 -O3) and -O3 was used instead of -O2.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
94d44c2aba Merge pull request #361 from floppym/client-server-options
cmake: Add options to enable/disable client/server targets.
2012-01-22 09:27:29 -08:00
Mike Gilbert
ff10a65c8e Change ENABLE_{CLIENT,SERVER} to WITH_{CLIENT,SERVER}. 2012-01-22 12:26:30 -05:00
Mike Gilbert
3c61b381c6 cmake: Add options to enable/disable client/server targets. 2012-01-22 12:14:06 -05:00
Marc-André Moreau
5a024802ca Merge pull request #358 from pjd/crypto
Crypto
2012-01-18 20:40:43 -08:00
Pawel Jakub Dawidek
164c8a0a67 Whitespace fixes. 2012-01-19 05:36:52 +01:00
Pawel Jakub Dawidek
8238f2369d - Simplify security_mac_signature() API.
- Introduce implementation of security_salted_mac_signature() that would be
  used to handle packets with SEC_SECURE_CHECKSUM flag.
2012-01-19 05:10:06 +01:00
Pawel Jakub Dawidek
ab4beb787f Implement signature verification in Server Security Data packet.
Because this signature doesn't protect against anything, only warn
the user if it is invalid.
2012-01-19 04:49:03 +01:00
Pawel Jakub Dawidek
44663ab332 Introduce more complete RSA API that implements:
- crypto_rsa_public_encrypt()
- crypto_rsa_public_decrypt()
- crypto_rsa_private_encrypt()
- crypto_rsa_private_decrypt()
2012-01-19 04:48:52 +01:00
Pawel Jakub Dawidek
a118afa879 Add Terminal Services Signing Keys. 2012-01-19 04:48:43 +01:00
Pawel Jakub Dawidek
3bbd2f28c7 Use CRYPTO_*_DIGEST_LENGTH defines instead of magic values. 2012-01-19 04:48:32 +01:00
Pawel Jakub Dawidek
af5501cdc5 Introduce CRYPTO_SHA1_DIGEST_LENGTH and CRYPTO_MD5_DIGEST_LENGTH that hold
number of bytes needed for a given hash.
2012-01-19 04:48:23 +01:00
Marc-André Moreau
d0bfcf1099 Merge pull request #353 from bmiklautz/x11includepathfixes
Changed include path for X11 and extensions.
2012-01-17 12:03:09 -08:00
Marc-André Moreau
75a2988600 Merge pull request #350 from pjd/fixes
Fixes
2012-01-17 12:02:57 -08:00
Bernhard Miklautz
1de5fbfbbf Changed include path for X11 and extensions.
X11 and X11/extensions should not be part of X11 include path
if X11/xxx.h or X11/extensions/xxx.h is used in source files.
2012-01-17 18:34:04 +01:00
Pawel Jakub Dawidek
9b07d525fb Introduce SIGNATURE_ALG_RSA and KEY_EXCHANGE_ALG_RSA defines and use them
instead of magic values.
2012-01-17 17:55:31 +01:00
Pawel Jakub Dawidek
6f418cb20b PROTOCOL_RDP is 0, so don't perform bitwise operations on it. 2012-01-17 17:52:12 +01:00
Marc-André Moreau
3725a032ef Merge pull request #349 from pjd/mcs_fixes
MCS fixes
2012-01-17 05:27:16 -08:00
Pawel Jakub Dawidek
1dd33b49d5 The ber_write_length() function can store variable number of bytes (one or
three). We can't tell until we write other data and know the length, so don't
assume how much space will by consumed to store length. Bug was observed with
the mcs_write_connect_response() function, where the function assumed that
application tag will take three bytes, but it was taking five.
2012-01-17 14:17:04 +01:00
Marc-André Moreau
41558e4bd6 ChangeLog: added FreeRDP 1.0.0 changes 2012-01-16 12:52:14 -05:00
Marc-André Moreau
3f01f4fe7f xfreerdp: updated man page 2012-01-16 12:17:50 -05:00
Marc-André Moreau
ee5491c6e0 README: update 2012-01-16 11:54:08 -05:00
Marc-André Moreau
949bce4d54 wfreerdp: fix warnings and color conversion 2012-01-16 11:40:18 -05:00
Marc-André Moreau
757e41a0d5 Merge pull request #347 from pjd/pullreq
Use of stream_read() / stream_write()
2012-01-16 07:18:50 -08:00
Marc-André Moreau
e6373f66d6 libfreerdp-gdi: fix gdi_Glyph_Free() segfault 2012-01-16 10:13:23 -05:00
Pawel Jakub Dawidek
7056f5f5ef Make use of stream_read(). 2012-01-16 15:56:47 +01:00
Pawel Jakub Dawidek
4815924d0e Use stream_read() instead of memcpy() + stream_seek(). 2012-01-16 15:56:39 +01:00
Pawel Jakub Dawidek
74860814fc Use stream_write() instead of memcpy() + stream_seek(). 2012-01-16 15:56:31 +01:00
Pawel Jakub Dawidek
6a7fe3e520 If we are server, our encryption key is client's decryption key and vice-versa. 2012-01-16 15:55:06 +01:00
Marc-André Moreau
5924666748 channels/drdynvc/audin: fix typo in header 2012-01-16 09:20:54 -05:00
Marc-André Moreau
42dfd2627b libfreerdp-core: fix FreeBSD compilation 2012-01-16 08:27:07 -05:00
Marc-André Moreau
f42b5f6a42 Merge pull request #344 from atong/master
various glyph cache resource fixes
2012-01-16 03:51:15 -08:00
Anthony Tong
2c30b11be2 glyph-cache: free pixmap, cache entries, cache fragments, and reuse secondary glyph cache buffers 2012-01-15 15:35:08 -05:00
Marc-André Moreau
8ed44b4f17 libfreerdp-core: add integer overflow check in GCC 2012-01-15 15:20:39 -05:00
Marc-André Moreau
277cbc3ccc libfreerdp-core: refactor header encoding fix 2012-01-15 15:16:32 -05:00
Marc-André Moreau
ccfb88b049 libfreerdp-core: apply RDP signature verification patch from Pawel Jakub Dawidek 2012-01-15 15:01:16 -05:00
Marc-André Moreau
a778ef2a8c Merge pull request #342 from dorianj/master
Better handling of --version and --help (don't print errors for these)
2012-01-14 13:35:19 -08:00
Dorian Johnson
8edb7d3efa Change freerdp_parse_args to return different values for error vs --help/--version, and change xfreerdp to only report real errors 2012-01-14 15:30:48 -06:00
Marc-André Moreau
0c9db6a40a libfreerdp-core: pad larger portion of rdpSettings 2012-01-14 14:42:36 -05:00
Marc-André Moreau
3f91e24a4d libfreerdp-core: added freerdp_get_version() 2012-01-14 13:33:04 -05:00
Anthony Tong
6884e18eeb cunit: fix test_read_fast_index_order() 2012-01-14 10:43:40 -06:00
Marc-André Moreau
ab5e2cc680 Merge pull request #341 from sunds/master
Fix drawing errors for remote app, issue #229
2012-01-13 16:11:37 -08:00
David Sundstrom
88d55493a9 Resolve a race condition between a local move update to the RDP server, GDI orders, and RAIL orders. Previously we could receive new GDI orders for the new window position before we received the RAIL order for the new position. The caused drawing errors.
Also correct some errors in managing the GDI damage region.
2012-01-13 18:08:51 -06:00
Marc-André Moreau
c1291c3601 libfreerdp-core: cleanup warnings in mppc.c 2012-01-13 18:39:09 -05:00
Anthony Tong
413190c5e4 xfreerdp: fix win_title string handling from #247 2012-01-13 17:32:14 -05:00
Marc-André Moreau
4fbbbb58b7 cunit: fixed license tests 2012-01-13 17:14:16 -05:00
Marc-André Moreau
80ce58af76 cunit: fix orders tests 2012-01-13 17:11:34 -05:00