Go to file
Ondrej Holy 3137caebf2 Fix colors on big endian (#4135)
* client/x11: Fix colors on big endian

The bitmaps are recieved in little endian byte order (LSBFirst in terms
of X11). This is a problem on systems, where bitmaps are expected in big
endian byte order (MSBFirst). X11 client tries to handle this situation
by different color formats (e.g. RGBX vs. BGRX), but this doesn't work.
BGRX is not MSBFirst variant of RGBX, it should be XRGB. But this would
work only for 32/24 depths, where color channels matches bytes. Let's
say to the XServer that all the bitmaps are in LSBFirst encoding instead
of changing the color formats on big endian systems.

https://github.com/FreeRDP/FreeRDP/issues/2520

* client/x11: Fix cursor color on big endian

The cursor color is wrong on big endian systems. It is not probably
possible to force bitmap_order for XcursorImage as it is possible for
XImage. Fortunately, cursors are always 32 bit so we can use ABGR
instead of BGRA to deal with.

https://github.com/FreeRDP/FreeRDP/issues/2520

* client/x11: Fix comment indentation

The comment has wrong indentation for some reason, let's fix it.

* client/x11: Fix BGR vs. RGB detection

The BGR vs. RGB detection code is leftover from history and I am conviced
that it is wrong with the current color handling, where invert flag is TRUE
by default. However, I suppose that the detection still makes sense and
XServer may use the inverted formats in some cases. Maybe we can force XServer
to use our masks somehow, but let's just fix the value to FALSE now.

* client/x11: Remove unused color shifts

The color shifts are lefover from history and are not used in current
code. Let's remove them.
2017-09-18 10:47:56 +02:00
channels Merge pull request #4052 from akallabeth/mac_fixes 2017-09-12 23:16:39 +02:00
ci/cmake-preloads Rewrite drive channel using WinPR functions 2017-03-13 14:18:46 -07:00
client Fix colors on big endian (#4135) 2017-09-18 10:47:56 +02:00
cmake Fix gstreamer-1.0 detection 2017-07-28 16:31:41 -04:00
docs Added android release build configurations. 2017-01-16 15:25:20 +01:00
external cmake: added external directory 2012-11-01 13:50:49 -04:00
include Removed unused variable. 2017-08-31 09:57:49 +02:00
libfreerdp cache: Use Bitmap_Free instead of free 2017-09-07 09:38:44 +02:00
packaging Fix nightly packages 2017-01-23 16:43:00 +01:00
rdtk fix clang warnings, directly include wtypes.h (#4097) 2017-08-29 09:09:38 +02:00
resources Recompressed images with FileOptimizer 6.8 (an open-source mass file recompression tool for Windows) 2014-08-08 20:12:25 -04:00
scripts Change documented source of windowsZones.xml file 2017-07-14 17:15:32 -04:00
server Fix warning in man pages 2017-08-03 08:41:50 +02:00
third-party cleanup cmake exports and pkg-config files 2016-01-12 17:32:33 +01:00
uwac Fixes scrolling crash in wlfreerdp 2017-08-16 18:02:07 +00:00
winpr Merge pull request #4063 from akallabeth/auth_fixes 2017-08-30 10:19:12 +02:00
.gitignore Add an environment variables section to the man 2016-06-21 15:28:38 +02:00
buildflags.h.in Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
ChangeLog changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
CMakeCPack.cmake Added pdb files to package target. 2015-12-15 12:07:21 +01:00
CMakeCPackOptions.cmake.in cmake: fix package generation on Mac OS X 2013-09-09 21:42:25 -04:00
CMakeLists.txt fix clang warnings, directly include wtypes.h (#4097) 2017-08-29 09:09:38 +02:00
config.h.in Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
LICENSE FreeRDP 1.0: initial commit 2011-06-30 15:12:51 -04:00
README Updated links in README 2013-05-27 18:29:24 +02:00

FreeRDP: A Remote Desktop Protocol Implementation
=================================================

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Enjoy the freedom of using your software wherever you want, the way you want it, in a world where
interoperability can finally liberate your computing experience.

Resources
---------

Project website: http://www.freerdp.com/
Issue tracker: https://github.com/FreeRDP/FreeRDP/issues
Sources: https://github.com/FreeRDP/FreeRDP/
Wiki: https://github.com/FreeRDP/FreeRDP/wiki
Downloads and other resources: http://pub.freerdp.com
API doc: http://pub.freerdp.com/api/

IRC channel: #freerdp @ irc.freenode.net
Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Microsoft Open Specifications
-----------------------------

Information regarding the Microsoft Open Specifications can be found at:
http://www.microsoft.com/openspecifications/

A list of reference documentation is maintained here:
https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation

Compilation
-----------

Instructions on how to get started compiling FreeRDP can be found on the wiki:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation