Commit Graph

659 Commits

Author SHA1 Message Date
Alam Arias
eb32070129 x: clean out xevent before using it 2012-06-14 12:43:21 -04:00
Marc-André Moreau
d7f8624e71 Merge pull request #624 from chihchun/master
xfreerdp: Add --authonly and --from-stdin switch
2012-06-14 07:34:51 -07:00
Irwan Halim
c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Mike Carifio
a31f0c62e6 xfreerdp: Adds switch --from-stdin.
This switch will prompt username, password, domain and connection
host if not specified at the command line.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Mike Carifio
88f2e84e5e xfreerdp: return correct logical value, if authentication failed.
Signed-off-by: Rex Tsai <rex.tsai@canonical.com>
2012-06-06 17:55:34 +08:00
Mike Carifio
28075f5ebb xfreerdp: add --authonly switch to xfreerdp client
Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Vic Lee
e7fd72b4d4 Merge pull request #620 from llyzs/x11
x11: implement frame marker.
2012-05-29 21:00:40 -07:00
Vic Lee
02ce0dba3b X11: add suppress output support. 2012-05-28 20:21:56 +08:00
Vic Lee
aca53f3973 x11: implement frame marker. 2012-05-26 14:41:38 +08:00
David Sundstrom
8f8389f66e use coding standard comment style 2012-05-25 18:01:25 -05:00
David Sundstrom
3656a86d99 Fix local moves by using XQueryPointer to report new mouse position.
Disable local keyboard moves for now until a way is found to make them work reliably.
2012-05-25 17:56:05 -05:00
David Sundstrom
e1e8f6284f make local functions static
reintroduce unmanaged windows for tooltips and dropdowns; this is required for proper focus behavior
2012-05-25 17:56:05 -05:00
David Sundstrom
fd429eb46f Tooltips should not be listed when remapped 2012-05-25 17:56:04 -05:00
David Sundstrom
dc81959060 Use locally assigned variable 2012-05-25 17:56:03 -05:00
David Sundstrom
cfcabaefc2 Do not use override redirect - causes windows to appear on all desktops
Enable non-rectangular windows and test with windows media player
2012-05-25 17:56:03 -05:00
David Sundstrom
e97a2bc158 Minor refactoring to encapsulate all X windows calls in xf_window.c
xf_rail.c should deal with RAIL concerns and delegate all X functions to xf_window APIs.
2012-05-25 17:56:02 -05:00
David Sundstrom
1060447cb5 Refactor event code to avoid searching seamless window linked list for desktop events. 2012-05-25 17:56:02 -05:00
Christian Nilsson
5212426bb4 Fix colors on bitmaps when using -a 15 2012-05-26 00:32:05 +02:00
Dorian Johnson
18f8d1a6b7 xfreerdp: add manpage info for -K option. Fixes #603 2012-05-21 20:33:05 -05:00
Aurimas Fišeras
64ad250f2d fix more color conversion problems for 16-bit displays
based on d588e30a
2012-05-17 21:55:51 +03:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Marc-André Moreau
d0d618fb76 Merge pull request #576 from bjcollins/master
XReparentWindow fix
2012-05-05 15:52:18 -07:00
Brent Collins
70ccbd1926 Moved the call order around such that the XReparentWindow call will work as intended. 2012-05-04 13:00:28 -05:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Vic Lee
f480b23439 x11: fix window resizing. 2012-04-26 14:01:34 +08:00
Andrew Zenk
652155a929 added reference to certificate-name 2012-04-14 11:05:20 -05:00
Vic Lee
11a3bf4db4 x11: use ARRAY_SIZE macro. 2012-04-12 13:50:20 +08:00
Vic Lee
400b58e934 x11: release all pressed keys when window is unmapped. 2012-04-11 12:37:47 +08:00
Anthony Tong
2ba5c04d63 xfreerdp: send extended mouse events, using common button values for now 2012-04-01 09:35:11 -04:00
Marc-André Moreau
f2ec024d51 Merge pull request #519 from kiilerix/master
build fixes
2012-03-30 08:34:13 -07:00
Bernhard Miklautz
25107cde67 xfreerdp: nocodec/nscodec free ximages after use 2012-03-29 13:01:42 +02:00
Mads Kiilerich
16478d8fad locale: update rdp scancodes according to Win CE "Translating Scan Codes to Virtual-Key Codes"
The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{cc240584}.

All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
2012-03-29 01:25:49 +02:00
Mads Kiilerich
3e4b434925 clients: use rdp scancode definitions when sending key events
This also introduces a slightly more high-level convenience function for
sending key events. The existing function where an RDP protocol flag field has
to be encoded by the caller is very lowlevel ... and a bad fit for fastpath
input. That could use a refactoring.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
94e9405202 locale: make RDP_SCANCODE a simple value type that easily can be passed around 2012-03-29 01:12:35 +02:00
Mads Kiilerich
53ab60dcb3 x: tell politely why xfreerdp is closing without making it look like an error 2012-03-22 21:30:39 +01:00
Mads Kiilerich
53c6815c84 x: improve debugging of X events 2012-03-22 21:30:15 +01:00
Pawel Jakub Dawidek
49fe529e15 Fix compilation warning when WITH_SSE2 is not defined. 2012-03-21 20:51:31 +01:00
Mads Kiilerich
44b6598252 x: clean up after xf_pre_connect if connection fails, and free instance where it was allocated
This prevents leak after "Error: protocol security negotiation failure"
2012-03-16 18:11:53 +01:00
Mads Kiilerich
338f7362e3 x: avoid leak by waiting for thread to finish before detaching 2012-03-16 16:42:56 +01:00
Mads Kiilerich
722260dd08 x: free bitmap_mono 2012-03-16 16:42:45 +01:00
Mads Kiilerich
ee7189bf2a x: please valgrind by initializing structure passed to X through writev 2012-03-16 15:45:14 +01:00
Norbert Federa
ba61607fcf X11/tsmf: Fixed XShmCreateImage BadMatch crashes
There was not check if the pixformat supplied in the XShmCreateImage function
was actually supported by the X-Video extension. Also reduced the amount of
xf_tsmf_is_format_supported calls in xf_process_tsmf_video_frame_event.
2012-03-13 17:32:59 +01:00
Vic Lee
100336ce57 X11/tsmf: use clipping if XV overlay does not support colorkey. 2012-03-13 15:35:38 +08:00
Vic Lee
ec9ca3e35f include: move config.h into private headers. 2012-03-12 19:14:56 +08:00
Vic Lee
28b203e57f nsc: add profiler. 2012-03-06 22:42:57 +08:00
Vic Lee
3fa2c4830e nsc: refactor nsc decoder #1
o the decoded argb buffer can be reused to enhance performance
o pass width, height and bpp through nsc_process_message() call
o rename nsc_context_destroy to nsc_context_free and make it actually free the context
2012-03-05 17:32:14 +08:00
Aaron Small
135a380d7f When a server sends an update where the bitmap data is insufficient to
cover the area the server indicates in width and height, discard the
update instead of crashing.
2012-03-04 16:59:15 -05:00
Marc-André Moreau
eb0e0f12a6 Merge pull request #481 from meosborne/d588e30a3873073e4ab76078ea27a61ada9922dd
Correct inaccurate colors on 16-bit X displays when using hardware gdi.
2012-03-03 11:09:55 -08:00
Michael Osborne
d588e30a38 correct colors for 16-bit displays 2012-03-02 16:49:52 -06:00
Norbert Federa
f821425bf3 xfreerdp: Fixed PIC base address corruption by inline assembly
EBX (or RBX on x86_64) is used for the PIC base address.
The current cpuid inline assembly only saved ebx which is fine
under i386 but only half of the fun on x86_64.
2012-02-29 21:06:56 +01:00
Mads Kiilerich
15169d0314 introduce generic ARRAY_SIZE macro 2012-02-28 18:11:11 +01:00
Michael Osborne
12eba8e1e9 fix getting state when in remote app mode 2012-02-27 17:04:11 -06:00
Marc-André Moreau
9e49daba85 xfreerdp: apply X2GO patch 2012-02-27 12:08:38 -05:00
Marc-André Moreau
32a54130e7 xfreerdp: fix multiple memory leaks detected by valgrind 2012-02-27 10:55:49 -05:00
Julien Ropé
9546df9300 Merge remote-tracking branch 'upstream/master' 2012-02-25 22:03:37 +01:00
Julien Ropé
43360b0453 Adding new comments to xfreerdp.c, going down to the functions it calls in the core lib.
Continue adding comments to struct rdp_freerdp fields.
2012-02-25 21:55:59 +01:00
Norbert Federa
b224126cc7 Completed (almost) System Pointer Update (MS-RDPBCGR 2.2.9.1.1.4.3)
Todo:
- Windows client: wf_Pointer_SetNull and wf_Pointer_SetDefault are just skeletons like all the other wf_Pointer functions.
- DirectFB client: only df_Pointer_SetNull is implemented and tested
2012-02-24 13:44:23 +01:00
LittleJawa
3e919f7a40 Merge remote-tracking branch 'upstream/master' 2012-02-23 16:57:29 +01:00
LittleJawa
37b35b3558 First round of comments while reading the code. 2012-02-23 16:22:05 +01:00
Marc-André Moreau
a1f5eeea0c xfreerdp: fix and document --kbd-list option 2012-02-21 12:00:02 -05:00
Marc-André Moreau
e85bfb4fd4 libfreerdp-locale: refactoring of XKB-based detection 2012-02-19 20:24:06 -05:00
Marc-André Moreau
46e3343232 libfreerdp-locale: refactoring of XKB dynamic mapping 2012-02-19 17:36:39 -05:00
Marc-André Moreau
94900c7836 libfreerdp-locale: merging keyboard headers 2012-02-18 23:08:17 -05:00
Marc-André Moreau
4af3ecd4cd libfreerdp-locale: refactoring step 1 2012-02-18 22:04:28 -05:00
Marc-André Moreau
61da01973d libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code 2012-02-17 17:43:00 -05:00
Christian Nilsson
38c85de539 fix known swaped b<>r colors in polygon drawings. 2012-02-13 22:07:20 +01:00
Marc-André Moreau
233b0b6ef4 libfreerdp-gdi: add mem3blt support 2012-02-12 19:41:39 -05:00
Marc-André Moreau
46e9eeb695 xfreerdp: added support for Mem3Blt 2012-02-12 18:12:28 -05:00
Marc-André Moreau
f7a71079dd xfreerdp: reintroduce Polygon drawing 2012-02-12 17:14:59 -05:00
Marc-André Moreau
5617af901a libfreerdp-gdi: add PatBlt DPa operation 2012-02-12 15:21:08 -05:00
Pawel Jakub Dawidek
69b8c2278e Document --no-motion, remove -m. 2012-02-12 19:35:29 +01:00
Marc-André Moreau
fdfc817fb6 xfreerdp: fix segfault with --gdi sw on disconnect 2012-02-09 21:01:13 -05:00
Pawel Jakub Dawidek
b75b5eb8a1 After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -05:00
Alexis Moinet
5ca9a37f68 remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()
2012-02-03 15:27:04 +01:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Pawel Jakub Dawidek
19f99d66ba Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.
2012-01-31 16:14:54 +01:00
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
Marc-André Moreau
3f01f4fe7f xfreerdp: updated man page 2012-01-16 12:17:50 -05: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
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
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
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
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
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
bluebird
a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Mike Gilbert
affd83c905 xfreerdp: Add static to a few global variables. 2011-11-30 19:22:22 -05:00
Mike Gilbert
bde19474a9 X11/xf_event: Optimize storage of constant strings. 2011-11-30 19:21:04 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
Marc-André Moreau
79fcd44bb1 xfreerdp: started X11 glyph drawing 2011-11-24 13:01:34 -05:00
Vic Lee
b6bf15ca27 cliprdr: fix incorrect condition. 2011-11-24 19:01:28 +08:00
Marc-André Moreau
a3dc63d738 xfreerdp: added more cliprdr debug output, identified failure point 2011-11-23 12:36:36 -05:00
Marc-André Moreau
65fe2f367f xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -05:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau
f17a25e08d update: move primary orders into sub-interface 2011-11-21 18:11:43 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
846a37b1b5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-17 19:51:41 -05:00
Marc-André Moreau
7f3bad1d15 cliprdr: added more debug output, still unable to stabilize 2011-11-17 19:51:30 -05:00
David Sundstrom
d3e953ba24 Fix issue with newly added pointer support for remote apps.
Reset current window when window is destroyed
2011-11-17 16:01:00 -06:00
Marc-André Moreau
b1afaccafe xfreerdp: fix red text cursor bug 2011-11-17 16:54:08 -05:00
Marc-André Moreau
d2335a5167 cliprdr: fix segmentation fault, still not working though 2011-11-15 15:41:00 -05:00
Marc-André Moreau
55294ad654 xfreerdp: fix opaque rect with 16bpp surfaces 2011-11-15 14:10:34 -05:00
David Sundstrom
96accb0327 Fix issue 202. No cursor icons for RemoteApp
Pointer updates are part of the base RDP protocol MS-RDPBCGR specification and do not include window information like those from the RAIL specification MS-RDPERP do.  To make pointer updates work, we need to keep track of which window has focus and then apply pointer updates to that window.  This appears to be easy to do, just watch for X11 EnterNotify events and update the window field of the main RDP structure.  I had some concerns that a window might receive an old pointer update for some other window due to network latencies, however, the RDP server seems to always send down new pointer updates whenver a window takes focus.
2011-11-14 16:42:14 -06:00
Marc-André Moreau
b2644901f4 libfreerdp-cache: refactoring of color table cache 2011-11-11 02:07:53 -05:00
Marc-André Moreau
a1b8dfd79f libfreerdp-cache: got glyph drawing partially working 2011-11-09 12:16:09 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
David Sundstrom
aa761c7a33 The VisibilityNotify function was using elements out fo the XEvent union that belong to the XExposeEvent event type. These fields are not valid for XVisibilityEvents and contain garbage values.
Remove the code that accessed these fields.  The XExposeEvent already has its own function containing the exact same code.
2011-11-02 18:31:14 -05:00
David Sundstrom
c5b9667825 Remove xf_rail_FilterWindowInfo() function. This function incorrectly calculated a new width for windows that had a negative origin (that is, windows partially off the desktop to the left). The function subtracted twice the window offset from the width. To be correct this function needed to keep track of the old and new window positions and just subtract the difference.
It turns out none of this was necessary.  X will handle windows placed partially off-screen and draw them correctly, just as it does for windows dragged partially off the screen to the left.  Removing this function fixed a number of drawing issues including tool tips being incorrectly drawn and windows not being drawn correctly after they'd been placed partially off-screen to the right.
2011-11-02 18:31:14 -05:00
David Sundstrom
0790c22683 remove unused pixmap 2011-11-02 18:31:14 -05:00
David Sundstrom
7a51d0300a Fix memory leak in xf_window.c. If property lookup for current desktop failed, we leaked property memory for workspace attributes. Added check in case returned desktop number is greater than number of workspaces. 2011-11-02 18:31:14 -05:00
Anthony Tong
a836faf3ed xfreerdp: handle -g X% 2011-11-01 19:09:20 -05:00
Marc-André Moreau
1820e9ca72 Merge pull request #195 from sunds/master
Intermittent crash Linux & Solaris with RAIL; add missing system library for sem_* on Solaris
2011-10-31 22:10:37 -07:00
Marc-André Moreau
4dbe450e39 cliprdr: add support for long format names 2011-11-01 01:09:38 -04:00
Marc-André Moreau
1f8b2989be Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-31 19:15:45 -04:00
Marc-André Moreau
1c5f9c173c cliprdr: add more detailed debug output 2011-10-31 19:15:27 -04:00
David Sundstrom
7322ef8047 Port to Solaris 10u9.
Added -lrt which is a required library for the sem_*() functions
Fixed xf_window.c to not return null for zero-width windows - rather coerce values to be valid as was already being done for height and width. This fixes intermittent crashs on Solars and Linux.
2011-10-31 12:55:05 -05:00
David Sundstrom
f714af7659 Merge branch 'sunds-branch' 2011-10-31 10:49:23 -05:00
Vic Lee
19f818a089 rfx: add rfx_context_set_cpu_opt() APi to replace passing rdpSettings. 2011-10-29 22:01:50 +08:00
David Sundstrom
21dcb56a72 Add missing includes for Solaris 2011-10-28 11:27:09 -05:00
Alan Pearson
4735dcc5c7 Reorder header files. X11 headers need to be before freerdp/types.h otherwise we get warnings about redefinition of True and False 2011-10-27 10:29:16 -07:00
Anthony Tong
3dc8e8a82f xfreerdp: fix bitmap buffer leak 2011-10-26 12:50:14 -04:00
Marc-André Moreau
35fb332116 Merge pull request #185 from atong-tcs/master
cmake: use CMAKE_DL_LIBS instead of dl for portability
2011-10-25 09:17:32 -07:00
Anthony Tong
e271363473 cmake: use CMAKE_DL_LIBS instead of dl for portability 2011-10-25 09:47:38 -04:00
Eduardo Beloni
f0ea4fa43b X11: X11: handling error info -> disconnect reason 2011-10-25 09:59:18 -02:00
Anthony Tong
c35ea342bf xfreerdp: ifdef cpuid inline asm properly 2011-10-25 01:10:24 -05:00
Anthony Tong
4bf4cb54d3 sse2: switch to cpuid, from /proc/cpuinfo 2011-10-25 00:32:06 -05:00
Anthony Tong
ce59c2226f cmake/sse2: initial sse2 detect 2011-10-25 00:32:06 -05:00
Nicolas Graziano
e059b03b68 Make option -a 15 works. 2011-10-25 04:04:51 +02:00
Anthony Tong
245a5498cc xfreerdp: set icon for DesktopWindow 2011-10-22 12:02:42 -05:00
Marc-André Moreau
9165505e0d xfreerdp: improved 8bpp support 2011-10-21 12:17:04 -04:00
Marc-André Moreau
488a4161f5 libfreerdp-core: refactoring of callback prefix 2011-10-20 23:15:18 -04:00
Marc-André Moreau
657fd998e5 xfreerdp: fix bitmap updates after refactoring 2011-10-20 21:34:55 -04:00
Marc-André Moreau
dbdbea9285 libfreerdp-core: added pointer object 2011-10-20 18:18:45 -04:00
Marc-André Moreau
b7e7067176 libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
Nicolas Graziano
87272e74dd Disable Save Bitmap (not implemented) 2011-10-19 16:35:49 +02:00
Nicolas Graziano
73e8afcd65 Reset XSetFunction to GXcopy afert each command.
There is a function wich do not correctly set XSetFunction to GXcopy, but
I did not find which one.
So Reset to GXcopy after each modification, it's a bit overkill but it's
 prevent black square on screen.
2011-10-19 16:35:49 +02:00
Marc-André Moreau
b1833f26ea Merge pull request #158 from nfedera/rfxcontextfix
xfreerdp: rfx_context was not freed
2011-10-18 13:57:31 -07:00
Norbert Federa
7ab708f754 xfreerdp: rfx_context was not freed 2011-10-18 22:50:40 +02:00
Martin Fleisz
cc210f5591 core: Added ui callback to verify certificates 2011-10-18 08:02:05 -07:00
Norbert Federa
c83038b4b3 xfreerdp: fix xf_GetWindowProperty
xf_GetWindowProperty should return False if the specified property does not exist.
It is not sufficient to simply check for the return value of XGetWindowProperty.
XGetWindowProperty also returns Success if the specified property does not exist.
However, it will return "None" to the actual_type_return parameter in that case.
This change fixes several crashes with some (exotic) window managers.
2011-10-17 15:39:06 +02:00
Marc-André Moreau
0070a5ab93 xfreerdp: move arguments processing on pre_connect 2011-10-16 21:39:11 -04:00
Marc-André Moreau
5d9e8b2e28 libfreerdp-core: cleanup of freerdp interface 2011-10-16 21:02:28 -04:00
Marc-André Moreau
8df77dba71 libfreerdp-core: move rdpChannels context to rdpContext 2011-10-16 20:10:09 -04:00
Marc-André Moreau
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Marc-André Moreau
fb5a7d73e4 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-16 00:50:48 -04:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Anthony Tong
0f69c586da fix xf_gdi_bitmap_update() memory leak 2011-10-15 11:32:12 -05:00
Marc-André Moreau
be6d043dd6 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-13 15:51:20 -04:00
Marc-André Moreau
8999bd8599 libfreerdp-cache: refactoring of bitmap and offscreen bitmap cache, fix major memory leaks 2011-10-13 15:51:07 -04:00
Marc-André Moreau
a40a971ea3 libfreerdp-core: fix polyline order parsing 2011-10-12 18:10:54 -04:00
Marc-André Moreau
fadce7ca56 xfreerdp: fix region invalidation in polyline 2011-10-12 16:00:10 -04:00
Marc-André Moreau
2121a4a5cc libfreerdp-gdi: merge fix from ngraziano for offscreen cache handling 2011-10-11 21:15:32 -04:00
Nicolas Graziano
2f06da5dae In memblt when index is 255 get from offscreen.
See http://msdn.microsoft.com/en-us/library/cc241608(v=prot.10).aspx
2011-10-12 02:21:35 +02:00
Nicolas Graziano
d08e82c171 Correct creation of offscreen bitmap.
data is null in xf_bitmap_new when called from xf_gdi_create_offscreen_bitmap.
2011-10-12 02:19:14 +02:00
Marc-André Moreau
9a72e4ffea libfreerdp-cache: refactoring of pointer cache 2011-10-11 18:51:45 -04:00
Marc-André Moreau
ee6ae92c42 xfreerdp: disable unimplemented mem3blt 2011-10-10 20:01:46 -04:00
Marc-André Moreau
8c4a8d982f xfreerdp: make use of --gdi hw by default 2011-10-09 21:43:31 -04:00
Marc-André Moreau
1e4d6df998 xfreerdp: added support for bitmap cache 2011-10-09 21:23:18 -04:00
Marc-André Moreau
7e6ce7ca4c xfreerdp: improve fullscreen mode 2011-10-07 15:50:07 -04:00
Marc-André Moreau
839100e0c7 xfreerdp: fix -D option (no window decorations) 2011-10-07 15:07:49 -04:00
Marc-André Moreau
f6cd71026e xfreerdp: started bitmap caching support 2011-10-04 21:29:01 -04:00
Marc-André Moreau
07077e2d3d xfreerdp: apply patch from zstegi (would grab window manager key combinations) 2011-10-04 18:46:49 -04:00
Marc-André Moreau
cdad8ff697 libfreerdp-gdi: update clients for gdi_init() modification 2011-10-04 18:35:47 -04:00
Vic Lee
6f61a8c68a xfreerdp: fix fullscreen toggling to avoid memory leaks. 2011-10-04 18:44:52 +08:00
Vic Lee
ce7eb4b13b xfreerdp: add missing include nsc.h 2011-10-04 17:40:03 +08:00
Marc-André Moreau
9c8baae8e7 xfreerdp: initialize NSCodec context if NSCodec is enabled 2011-10-03 15:42:32 -04:00
Marc-André Moreau
24f413c0a0 libfreerdp-core: move bitmap decompression out of the core 2011-10-02 23:09:13 -04:00
Marc-André Moreau
0401f7c17e libfreerdp-codec: merge with libfreerdp-nsc 2011-10-02 20:52:17 -04:00
Marc-André Moreau
3f8ad5e8f9 libfreerdp-nsc: merging 2011-10-02 20:31:52 -04:00
Marc-André Moreau
3297db7062 libfreerdp-codec: merge with libfreerdp-rfx 2011-10-02 20:28:20 -04:00
qubit
2be57ad628 nscodec in hw and sw gdi 2011-10-03 00:46:22 +05:30
Marc-André Moreau
df71487c56 xfreerdp: fix 32bpp cursors 2011-09-29 22:31:13 -04:00
Marc-André Moreau
10331c5c44 libfreerdp-core: added authenticate callback 2011-09-29 01:03:07 -04:00
Marc-André Moreau
af063100d2 xfreerdp: fix missing signal.h include 2011-09-29 00:37:30 -04:00
Marc-André Moreau
98d1ef12a5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-29 00:33:28 -04:00
Marc-André Moreau
6f3696f22b xfreerdp: initial cursor support 2011-09-29 00:33:16 -04:00
Shea Levy
a87b4e5671 xfreerdp: Handle signals on start 2011-09-28 01:27:14 -04:00
Marc-André Moreau
8f87f3e817 xfreerdp: fix color conversion in 16-bit X11 environment 2011-09-27 17:10:07 -04:00
Marc-André Moreau
a573898810 xfreerdp: improve error tolerance in xf_GetWorkArea 2011-09-26 23:06:45 -04:00
Marc-André Moreau
3894983766 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 21:48:24 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Shea Levy
a56bdea4c5 xfreerdp: Read passwords using passphrase_read if none is specified 2011-09-24 19:08:16 -04:00
Marc-André Moreau
5c5d8a11e8 xfreerdp: fix RemoteApp after addition of cliprdr 2011-09-23 10:49:59 -04:00
Marc-André Moreau
d60adb8325 Merge pull request #120 from llyzs/cliprdr
Integrate cliprdr with xfreerdp
2011-09-23 07:07:43 -07:00
Vic Lee
783681664a cliprdr: integrate with xfreerdp. 2011-09-23 13:41:26 +08:00
Marc-André Moreau
c003c5c038 xfreerdp: initial RemoteApp support with --gdi hw (much faster) 2011-09-23 00:06:39 -04:00
Marc-André Moreau
3869228349 xfreerdp: RemoteApp stabilization (window movement, region update) 2011-09-22 21:23:01 -04:00
Marc-André Moreau
5207be87f6 xfreerdp: properly handle local Alt+F4 for RemoteApp windows 2011-09-21 08:36:49 -04:00
Marc-André Moreau
6f2575c076 libfreerdp-core: improving parsing if fast index order 2011-09-20 15:30:52 -04:00
Marc-André Moreau
44664c0a48 Merge pull request #114 from llyzs/tsmf
Migrate tsmf plugin
2011-09-20 08:33:38 -07:00
Vic Lee
74ba2b3515 tsmf: add XVideo support in xfreerdp. 2011-09-20 16:37:00 +08:00
Marc-André Moreau
d16d40c17a xfreerdp: fix RemoteApp segfault 2011-09-19 14:33:57 -04:00
Marc-André Moreau
24a7011fcc libfreerdp-rfx: modify public API for easier external usage 2011-09-18 22:34:19 -04:00
Marc-André Moreau
4f94b1d449 xfreerdp: fix missing includes 2011-09-18 18:44:49 -04:00
Marc-André Moreau
89fd856ad3 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-18 18:29:34 -04:00
Marc-André Moreau
df3d4d4a80 xfreerdp: initial glyph drawing support 2011-09-18 18:29:23 -04:00
Shea Levy
7b42422cd3 Merge from upstream 2011-09-16 06:38:13 -04:00
Marc-André Moreau
405026575b libfreerdp-core: merging jsorg71's work on old encryption support 2011-09-14 22:09:33 -04:00
Jay Sorg
a406cd6619 got rdp encryption working 2011-09-14 14:14:50 -07:00
Marc-André Moreau
02ea6de9dc xfreerdp: add support for no-codec bitmaps in X11-GDI 2011-09-14 14:47:04 -04:00
Marc-André Moreau
278422aed5 xfreerdp: fix fullscreen window toggle 2011-09-13 22:20:04 -04:00
Marc-André Moreau
5c25717eae xfreerdp-server: encode a single tile from X11 at a hardcoded position 2011-09-13 19:03:06 -04:00
Marc-André Moreau
cb8f3dced9 libfreerdp-core: preparing memblt and bitmap cache 2011-09-11 23:35:33 -04:00
Marc-André Moreau
c7599ce5a3 xfreerdp: X11-GDI: add PatBlt, LineTo, Polyline 2011-09-11 22:32:22 -04:00
Marc-André Moreau
5ff2f23b63 xfreerdp: add RemoteFX support for --gdi hw 2011-09-11 21:22:03 -04:00
Shea Levy
79e6936819 Wrap the tcsetattr() call in a fork() so the terminal can always be restored on exit 2011-09-08 12:25:24 -04:00
Shea Levy
1b8a31bb2e Add some comments 2011-09-08 02:47:18 -04:00
Shea Levy
9b70c396f7 Turn off ECHO on stdin when reading a password
Note that POSIX claims we need to handle signals when using
tc{get,set}attr lest the terminal not be reset to its original
state. Tests with Bash/xterm show this to be not necessary:
sending SIGINT, SIGILL, etc. to the application while it's
waiting for a password results in a terminal with ECHO back on.
It would probably be a good idea to handle the signals anyway.
2011-09-08 02:43:31 -04:00
Shea Levy
091e600127 Fix memory leak in instance->settings->password when reading from stdin 2011-09-08 02:10:22 -04:00
Shea Levy
6b8ac9ef18 Add prompt for the password when reading from stdin 2011-09-08 01:35:46 -04:00
Shea Levy
f03b2e227a Read the password from stdin if -p - is sent 2011-09-08 01:32:08 -04:00
Vic Lee
53ccc4c013 fix memory leaks. 2011-09-07 14:23:19 +08:00
Vic Lee
b8e16bb1c1 fix memory leaks. 2011-09-07 13:51:29 +08:00
Vic Lee
60ebd1d6b4 xfreerdp: use gdi_resize to resize the surface. 2011-09-07 13:27:39 +08:00
Marc-André Moreau
0d412ba629 Merge pull request #80 from floppym/gentoo-patches
Build system fixes
2011-09-06 11:53:19 -07:00
Marc-André Moreau
097caee5e0 Merge pull request #81 from roman-b/rail
Rail Local Move/Size support looks like finished.
2011-09-06 11:52:57 -07:00
Vic Lee
ccebb5bb3d xfreerdp: process actual desktop window resizing. 2011-09-06 16:22:53 +08:00
roman-b
059eff9f56 xfreerdp: fixed "window shake" effect in RAIL Local Move/Size. 2011-09-06 00:25:46 +03:00
roman-b
3a8236c49c xfreerdp: fixed minor RAIL move/size error. 2011-09-06 00:15:29 +03:00
roman-b
0ec2777875 xfreerdp: fixed NULL windows destroying. 2011-09-05 23:42:18 +03:00
Vic Lee
01939cbd28 xfreerdp: add missing event mask. 2011-09-06 00:06:49 +08:00
Mike Gilbert
bbaceb75e2 client/X11: Install man page from the build dir
Fixes installation from out-of-tree builds.
2011-09-04 19:50:40 -04:00
roman-b
14ce6ae7f0 xfreerdp: RemoteApp Local Move/Size improvements.
Issues:
fast mouse moving after left button pressing is create "windows shake" effect.
Slow mouse speed after left button press allows to discard this effect.
2011-09-03 23:38:01 +03:00
roman-b
69b4b0318c xfreerdp: fix usage of new DEBUG_ macroses for RAIL and X11 Client. 2011-09-03 19:50:26 +03:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Marc-André Moreau
e649a68047 xfreerdp: stabilizing RemoteApp 2011-09-02 12:39:56 -04:00
roman-b
9b7eb7934f Merge remote-tracking branch 'upstream/master' into rail 2011-09-02 01:24:45 +03:00
roman-b
e244300347 xfreerdp: added initial Local Move/Size (by using _NET_WM_MOVERESIZE). 2011-09-02 01:08:53 +03:00
roman-b
3c78705515 xfreerdp: added sending Window Move Order to server. 2011-09-02 01:02:22 +03:00
roman-b
a966cc30c7 xfreerdp: preparation for Local Window Move/Size. 2011-09-01 01:22:21 +03:00
roman-b
72631d04e1 xfreerdp: added handlers for MinMax and Local Move/Size orders. 2011-09-01 01:02:22 +03:00
Marc-André Moreau
0de7b3dfa4 Merge pull request #73 from awakecoding/master
Windows Porting
2011-08-31 08:49:19 -07:00
Otavio Salvador
d5f029d26b Merge pull request #72 from nils-a/ebuild-prep
switched to find_optional_package to require or ignore opional packages
2011-08-31 07:42:28 -07:00
Marc-André Moreau
aee51a7e2e xfreerdp: fix after refactoring libfreerdp-rail on windows 2011-08-31 02:01:49 -04:00
Marc-André Moreau
b56962d254 xfreerdp: start handling multiple monitors in xf_monitor.c 2011-08-30 20:59:42 -04:00
Nils Andresen
6063a352b7 move from find_package and find_opitonal_package (old version) to find_required_package, find_suggested_package and find_opitonal_package (new version) 2011-08-30 22:39:46 +02:00
roman-b
585b436915 Merge remote-tracking branch 'upstream/master' into rail 2011-08-30 23:16:21 +03:00
Marc-André Moreau
9d7fce9194 xfreerdp: fix listing of RemoteApp windows in taskbar 2011-08-30 15:06:50 -04:00
Nils Andresen
3adf0875ca inserted find_optional_package to require or ignore opional packages 2011-08-30 20:38:05 +02:00
Marc-André Moreau
219979c064 Merge pull request #71 from nils-a/manpage
client/X11: Do not break compilation, if xmlto is not available
2011-08-30 11:28:31 -07:00
Nils Andresen
bc28606f01 client/X11: Do not break compilation, if xmlto is not available 2011-08-30 20:24:28 +02:00
Marc-André Moreau
a9a06abcc3 xfreerdp: stabilizing RemoteApp, fix window styles 2011-08-30 14:21:16 -04:00
Nils Andresen
18614a53d0 client/X11/xfreerdp: rudimentary version of a man-page. 2011-08-29 21:59:29 +02:00
Marc-André Moreau
84498109c9 libfreerdp-core: fix replay of RemoteFX session from server 2011-08-28 22:27:46 -04:00
Marc-André Moreau
9f256c8374 libfreerdp-core: add option to dump remotefx to pcap 2011-08-26 20:26:40 -04:00
roman-b
4aa281feba xfreerdp: fix command line mouse motion setting. 2011-08-27 01:33:07 +03:00
Marc-André Moreau
43bcfb4a3c xfreerdp: start using X11-GDI implementation 2011-08-26 14:48:51 -04:00
Marc-André Moreau
b0854dd817 libfreerdp-gdi: fix and re-introduce complex region support 2011-08-26 13:37:23 -04:00
Marc-André Moreau
48c14204d4 xfreerdp: add --kbd-list option 2011-08-25 22:01:33 -04:00
Marc-André Moreau
6b732af29b xfreerdp: add -k keyboard layout option 2011-08-25 21:35:51 -04:00
Marc-André Moreau
ccc084981e xfreerdp: started X11-GDI 2011-08-25 18:07:52 -04:00
Marc-André Moreau
3f4cd54ad2 xfreerdp: disable RemoteApp mouse motion 2011-08-25 15:05:07 -04:00
Marc-André Moreau
9b40f800de xfreerdp: fix minor RAIL issues 2011-08-25 14:11:45 -04:00
roman-b
3411d488f8 Merge remote-tracking branch 'upstream/master' into rail 2011-08-25 20:09:45 +03:00
Mike Gilbert
b627dbb35c Allow linux distros to override LIBDIR; fix xfreerdp install 2011-08-25 00:00:24 -04:00
Marc-André Moreau
5ad6a5d9d8 xfreerdp: revert to single region invalidation 2011-08-24 22:35:55 -04:00
Vic Lee
bdc005123e Revert pull request #59 that would break RemoteApp. 2011-08-25 10:30:07 +08:00
roman-b
16262074d4 xfreerdp: add RAIL windows focus in/out handling. 2011-08-25 01:22:06 +03:00
roman-b
e66542b477 xfreerdp: add mouse motion for RAIL.
This is add initial interactive window movement/sizing.
2011-08-25 00:41:45 +03:00
roman-b
6365db7be6 xfreerdp: add parent-child relationship for RAIL windows. 2011-08-25 00:16:57 +03:00
Nils Andresen
5536656e03 client/X11: find_optional_package instead of find_package & added install 2011-08-24 23:09:14 +02:00
Martin Fleisz
36e929f69c Fixed possible socket leak in tcp_connect, added disconnect function to properly clean-up socket/tls resources on disconnect) 2011-08-24 08:07:55 -07:00
Marc-André Moreau
d4ae0b376e Merge pull request #59 from bmiklautz/xgetwindowproperty
Changed return value check for XGetWindowProperty
2011-08-24 07:22:07 -07:00
Bernhard Miklautz
f7336cea5e Changed return values of freerdp_parse_args
Return -1 if a argument is missing/wrong.
This way caller can check for a problem.
2011-08-24 09:37:14 +02:00
Bernhard Miklautz
1c577e2a12 Changed return value check for XGetWindowProperty
XGetWindowProperty return None if the property isn't found.
So raise an error is None is returned. Otherwise the property
was returned.
2011-08-24 09:27:56 +02:00
Marc-André Moreau
cd6eb6a266 libfreerdp-core: add support for pointer updates 2011-08-24 02:38:39 -04:00
Marc-André Moreau
ffb5fb56a6 libfreerdp-gdi: add support for complex invalid regions 2011-08-24 01:47:43 -04:00
Marc-André Moreau
a0aea4f353 xfreerdp: fix fullscreen mode 2011-08-24 00:46:34 -04:00
Marc-André Moreau
9a3477f7ec xfreerdp: added proper cmake detection of Xext 2011-08-23 22:58:36 -04:00
Marc-André Moreau
42f27293a8 xfreerdp: fix window hiding 2011-08-23 15:52:17 -04:00
Marc-André Moreau
7dcb87d7a3 xfreerdp: removed seemingly unnecessary X11 update 2011-08-22 21:33:10 -04:00
Marc-André Moreau
cfd3407f69 xfreerdp: fix drawing of maximized RAIL windows 2011-08-22 21:22:05 -04:00
Marc-André Moreau
c894806ee9 xfreerdp: fix off-by-one error in visibility rectangles 2011-08-22 16:10:08 -04:00
Marc-André Moreau
3e4331caa0 xfreerdp: add support for RemoteApp round window corners 2011-08-22 16:06:12 -04:00
roman-b
8ae5b05c86 Merge remote-tracking branch 'upstream/master' into rail 2011-08-22 19:14:11 +03:00
Marc-André Moreau
a5791ac198 Merge pull request #56 from llyzs/nonblocking
Refactor client connection sequence in nonblocking mode
2011-08-22 06:44:52 -07:00
Vic Lee
4377c46bac Correctly handling connection failure. 2011-08-22 17:43:20 +08:00
Vic Lee
0c60fafebd xfreerdp: fix segfault when closing. 2011-08-22 17:21:39 +08:00
Marc-André Moreau
900a56f289 xfreerdp: fix window classes 2011-08-21 23:54:02 -04:00
Marc-André Moreau
b8291b2e3d xfreerdp: handling local window restore events 2011-08-21 23:39:56 -04:00
Marc-André Moreau
aaa2f22b10 xfreerdp: handled RAIL window minimize events 2011-08-21 23:15:19 -04:00
Marc-André Moreau
f46d3d51c6 xfreerdp: improved window icon support 2011-08-21 22:30:49 -04:00
roman-b
7744e17ec2 channels/rail: fixed multithread side effect by creating full orders copy for events. 2011-08-22 02:04:21 +03:00
Marc-André Moreau
00733ab128 xfreerdp: started handling RemoteApp icons 2011-08-21 17:32:18 -04:00
roman-b
7b6dad86ca Merge remote-tracking branch 'upstream/master' into rail 2011-08-21 04:44:18 +03:00
roman-b
822c269b06 xfreerdp: small fix. void* pointer does not require type cast. 2011-08-21 04:13:33 +03:00
Marc-André Moreau
ec77c8ecbf xfreerdp: added support for multiple monitors 2011-08-19 23:15:49 -04:00
Marc-André Moreau
4a126a55b0 xfreerdp: handle RAIL window title updates 2011-08-19 22:21:09 -04:00
roman-b
e7367f9aac channel/rail: add initial handling all RAIL PDU from server.
Note:
Sometimes we have multi-thread side effect with data trasfer throught shared 
memory between different threads.
2011-08-20 01:46:10 +03:00
Marc-André Moreau
181154f01f xfreerdp: optimize the updating of invalid regions on RAIL windows 2011-08-19 12:43:44 -04:00
Marc-André Moreau
9e42276d1b Merge pull request #50 from roman-b/rail
Rail
2011-08-19 08:36:57 -07:00
Marc-André Moreau
af71a70233 xfreerdp: fix RAIL window resizing 2011-08-19 11:12:30 -04:00
roman-b
e85caeb17d channel/rail: add handling Server Execute Result PDU 2011-08-19 17:10:08 +03:00
Marc-André Moreau
3fa7d4a3d4 xfreerdp: remove backbuffer window in RemoteApp mode 2011-08-18 01:16:49 -04:00
Marc-André Moreau
2aa3d6f731 xfreerdp: fix movement of RAIL windows 2011-08-17 23:46:08 -04:00
Marc-André Moreau
49b1fa25a0 xfreerdp: fail RAIL window positions (relative to work area) 2011-08-17 23:26:12 -04:00
Marc-André Moreau
eb02b578a5 xfreerdp: add ability to move RAIL windows 2011-08-17 22:50:49 -04:00
Marc-André Moreau
f465579551 xfreerdp: added RAIL window titles 2011-08-17 22:31:27 -04:00
Marc-André Moreau
48d3e65b08 rail: get client system parameters from xfreerdp 2011-08-17 21:33:22 -04:00
Marc-André Moreau
09980c8a7c include: refactor FRDP_ types to RDP_ 2011-08-17 17:28:26 -04:00
Marc-André Moreau
c2bc695d39 xfreerdp: fix window decoration hiding 2011-08-17 16:57:21 -04:00
Marc-André Moreau
257f3ac55b xfreerdp: fix mouse input inside application windows 2011-08-17 16:45:09 -04:00
Marc-André Moreau
dc6d3f022b xfreerdp: start handling application events separately 2011-08-17 16:00:09 -04:00
Marc-André Moreau
c9917d3ca1 xfreerdp: drawing of multiple RAIL windows 2011-08-17 14:51:17 -04:00
Marc-André Moreau
98f7bb01b5 xfreerdp: added support for workarea and disabling window decorations 2011-08-17 14:13:44 -04:00
Marc-André Moreau
e990d227ce xfreerdp: started painting multiple RAIL windows 2011-08-17 02:14:02 -04:00
Marc-André Moreau
2b4cd32390 libfreerdp-rail: processing window altsec orders 2011-08-16 00:22:00 -04:00
Vic Lee
1301fa33c0 Fix CPU usage due to missing initialization of wfds. 2011-08-16 11:13:30 +08:00
Marc-André Moreau
9961038649 include: restructuring and cleanup of header files 2011-08-15 14:33:04 -04:00
Vic Lee
fc16c6f7bd xfreerdp: fix exit segfault. 2011-08-13 11:46:00 +08:00
Vic Lee
8b791de624 xfreerdp: fix compile warnings. 2011-08-11 15:37:46 +08:00
Vic Lee
4ce70e03d1 libfreerdp-chanman: name argument is not necessary when sending events. 2011-08-11 11:36:10 +08:00