Commit Graph

351 Commits

Author SHA1 Message Date
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
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
Anthony Tong 413190c5e4 xfreerdp: fix win_title string handling from #247 2012-01-13 17:32:14 -05:00
Marc-André Moreau c7cc745575 libfreerdp-codec: add freerdp_convert_color_var() 2012-01-09 18:45:36 -05:00
Marc-André Moreau 5165399b8c Merge pull request #336 from sunds/master
Inverted GDI when X server has BGR colormap
2012-01-09 15:11:30 -08:00
David Sundstrom 4975267c05 Invert colors went X server uses BGR colormap 2012-01-09 16:08:57 -06:00
David Sundstrom dcdf1d7a5b Invert rectangle colors when X server uses inverted colors 2012-01-09 15:39:19 -06:00
louyihua 77523cf587 wfreerdp: Fix the crash when 'HOME' env is not defined. Now use 'HOMEDRIVE' and 'HOMEPATH' to combine it if it don't exist. 2012-01-10 05:19:28 +08:00
Marc-André Moreau ebca5a2de2 xfreerdp: fix glyph background color bug 2012-01-08 19:08:13 -05:00
Norbert Federa cf3c03c60e xfreerdp: a quick workaround for some issues with TS Remote App.
Currently in Remote App mode we have no option to interact with the
remote desktop host before the first RAIL window is created.

In many situations this interaction possibility is absolutely required.
One example is that screen which gets displayed if another user is logged on.
It requires clicking a button in pre-RAIL mode so that the currently logged
on user gets notified to confirm or deny the connection.

Another example is the option to log on graphically (e.g. for hosts that
don't support NLA) without predefined credentials.

Also if the administrator sets the "User must change password at next logon"
option there is currently no way to do this in TS Remote App mode.

This change basically lets xfreerdp create the main window in Remote App mode
like in a normal session and xfi->remote_app is not set to true initially.

As soon as the rail exec result event or the first rail window creation
request is received (whatever comes first) the main window gets destroyed and
xfi->remote_app is set to true.

The second change is to disconnect immediately if the rail exec result event
reports an error, e.g. if the specified app cannot be found or if it is not
in the list of allowed applications.

This fixes FreeRDP github issue #143 and issue #308.

I'm aware that this is not the most elegant solution but it is definitely an
improvement and probably good enough for 1.0.
A nicer solution would be hiding the main window and only displaying it if
no rail exec result or rail window creation event is received after a certain
timeout ...
2012-01-02 10:27:04 +01:00
Anthony Tong adfb223133 xfreerdp: fix patblt pixmap leak & quick fix for patblt brush 2011-12-31 16:00:26 -06:00
Marc-André Moreau 845d6ead55 libfreerdp-codec: fix color pointer conversion 2011-12-31 15:23:29 -05:00
Marc-André Moreau 2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Vic Lee 522bd24d19 xfreerdp: fix trivial compile warnings. 2011-12-29 21:26:34 +08:00
Anthony Tong 6ef9d6da30 xfreerdp: create all X11 atoms used for safety 2011-12-27 09:26:20 -06:00
Vic Lee 0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
Dorian Johnson 5d825990f2 xfreerdp: create _NET_WM_ICON atom if not already exist
fixes crash on MacOS X and systems without WM.

some of the other XInternAtom calls should probably be changed to
False, but they don't appear to cause crashes
2011-12-22 12:01:29 -06:00
Marc-André Moreau 596f88e6b2 Merge pull request #301 from atong-tcs/master
xfreerdp: patblt fix, set stipple before drawing the rect
2011-12-21 17:21:01 -08:00
Anthony Tong b455455365 xfreerdp: patblt fix, set stipple before drawing the rect 2011-12-21 18:51:22 -05:00
David Sundstrom 622375cef2 Detect when sever visual has an inverted color map and invert all color conversions.
Remote spurious printf() in code
2011-12-21 17:00:09 -06:00
Anthony Tong 5e98558ea0 xfreerdp: missed a commit for --dbg-x11 2011-12-21 13:05:48 -05:00
Anthony Tong a63e81581d xfreerdp: add --dbg-x11 which may help debugging 2011-12-21 12:50:22 -05:00
louyihua 32ff6a0b69 wfreerdp: enable SSE2 acceleration for RemoteFX under Visual C++ 2011-12-21 08:32:04 +08:00
Marc-André Moreau 77bbd18d5c libfreerdp-core: fix input callback registration for slow-path input 2011-12-20 14:51:44 -05:00
Marc-André Moreau 216947a330 libfreerdp-core: disable fastpath output if server does not support it 2011-12-20 14:42:22 -05:00
Mike Gilbert 53c902cea7 xfreerdp: Correct manpage description of numeric values passed via the -x parameter 2011-12-16 22:48:06 -05:00
David Sundstrom 49303c8969 Fix compile error on Solaris
Fix few small issues with local move race conditions
Add missing --gdi option to command-line help
2011-12-16 15:10:07 -06:00
Marc-André Moreau 8e8d62e067 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-12-16 14:43:33 -05:00
Marc-André Moreau 8bb1554851 wfreerdp: fix RemoteFX 2011-12-16 14:43:14 -05:00
Marc-André Moreau 1def0258ca Merge pull request #280 from nfedera/fullscreenfix
xfreerdp: fix non-xinerama fullscreen issue (issue #266)
2011-12-15 07:04:27 -08:00
Norbert Federa f52526f120 xfreerdp: fix non-xinerama fullscreen issue (issue #266)
If fullscreen==true then settings->width and settings->height are
calculated in xf_monitor.c based on the vscreen->area which is in
turn calculated using xinerama functions.
Thus if xinerama is not used this will result in width=height=1.
2011-12-15 10:45:50 +01:00
Marc-André Moreau 2edfcb50fb libfreerdp-core: fix glyph cache, enable it by default 2011-12-14 17:08:22 -05:00
David Sundstrom 031482a5ba Issue #274 - wrong macro used for WITH_DEBUG_X11_LOCAL_MOVESIZE 2011-12-13 18:47:21 -06:00
Marc-André Moreau 6e4086e977 xfreerdp: improve glyph drawing 2011-12-13 12:18:11 -05:00
Marc-André Moreau bdc181ecbe libfreerdp-gdi: fix opaque rect color with --gdi sw 2011-12-13 11:36:05 -05:00
Marc-André Moreau fcd03260d6 xfreerdp: added select() timeout 2011-12-11 18:05:32 -05:00
Marc-André Moreau 25a3a6e68f libfreerdp-core: provide more descriptive warning message for certificate check failure 2011-12-10 11:23:48 -05:00
Marc-André Moreau 31d47302ef xfreerdp: fix unused variables warnings 2011-12-09 18:20:23 -05:00
David Sundstrom 6bd2b736aa allow updates from cached pixmap during local moves 2011-12-09 14:26:11 -06:00
David Sundstrom b17fe2e60e Do not do XMoveWindow after local_move event from RDP server
Do not update window area of RDP and local X window are not synchronized
Use RootWindowOfScreen for translate coordinates
2011-12-09 14:26:11 -06:00
Marc-André Moreau 904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
Not Nyguen Doze 4d341f27a5 Do not make windows with borders transient
Z
2011-12-06 16:39:53 -08:00
Not Nyguen Doze 51bd226cf3 Complete local move support. Use a state machine to keep track of XEvents to infer local move start and finish. 2011-12-06 15:43:38 -08:00
Not Nyguen Doze a70ca93c43 Add option for WITH_DEBUG_WND for window order updating, already existing in code
Correct sign on variables in xf_rail_paint
2011-12-06 15:43:38 -08:00
Not Nyguen Doze 8f38bdb87a Make popups transient, use local window manager for moves.
This fixes a number if issues on Ubuntu in particular.
2011-12-06 15:43:38 -08:00
David Sundstrom 31cbac201d Add a function to synchronize the RDP server with the local window position and size when the window is moved locally.
Complete implementation for initiating RAIL local move support, however, this is still disabled until a method is found to tell when local moves complete on the X server.
2011-12-06 15:43:38 -08:00
David Sundstrom 354b00711b After local X window manager has moved a window to a different location than what the RDP server expects, send a client update to the RDP server to inform the server of the new window position. 2011-12-06 15:43:38 -08:00
Marc-André Moreau a50ef84c21 wfreerdp: fix compilation and warnings 2011-12-03 17:24:18 -05:00
bluebird a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Youngdal Kwon 6a174c655e dfreerdp : enable polyline order support 2011-12-02 17:29:30 +09:00