Commit Graph

385 Commits

Author SHA1 Message Date
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
0e88c6bae1 dfreerdp: fix definition of boolean type 2011-11-21 16:58:30 -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
d2b324dccf wfreerdp: started porting RemoteFX 2011-11-12 02:35:18 -05:00
Marc-André Moreau
2f694ce396 wfreerdp: fix region invalidation, add Polyline and PatBlt 2011-11-12 02:11:10 -05:00
Marc-André Moreau
0f622844c3 wfreerdp: improve rendering to a usable level 2011-11-12 01:41:28 -05:00
Marc-André Moreau
150ff56f5f wfreerdp: fix compilation warnings and errors 2011-11-12 00:51:41 -05:00
Marc-André Moreau
aca5643d2b dfreerdp: add cursor support 2011-11-11 18:34:06 -05: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
Marc-André Moreau
d0b9478f45 wfreerdp: fix bitmap decompression 2011-10-26 15:38:50 -04: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
82ea77158c wfreerdp: fix compilation on windows 2011-10-21 16:45:35 -04: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
0d6c6b3bd0 wfreerdp: fix after freerdp API change 2011-10-17 00:01:50 -04:00
Marc-André Moreau
1f6d0a510e Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-16 23:46:12 -04:00
Marc-André Moreau
39593a7f5e wfreerdp: fix after libfreerdp-core refactoring 2011-10-16 23:45:58 -04: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
9c20a9d350 dfreerdp: fix compilation 2011-10-13 20:50:51 -04:00
Marc-André Moreau
0aba540ad2 wfreerdp: fix windows build after cache refactoring 2011-10-13 20:10:59 -04: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
992d0a92e3 Merge pull request #138 from ngraziano/master
2 small fix : color on windows and remove a warning when connecting to XP.
2011-10-10 07:07:59 -07: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
Nicolas GRAZIANO
6b7777409e Make wfreerdp work with 16 bpp color from server. 2011-10-08 15:42:50 +02: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
51c8794e89 wfreerdp: fix wf_gdi.c 2011-10-07 14:55:07 -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
Marc-André Moreau
8440bff32f Merge branch 'master' of github.com:awakecoding/FreeRDP 2011-10-04 18:30:48 -04:00
Marc-André Moreau
a758908c63 wfreerdp: start GDI implementation 2011-10-04 16:05:09 -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
3b3152003f xfreerdp: fix usage of invalid structure pointer in event handling 2011-09-25 17:47:40 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Shea Levy
90f00a99d3 Merge remote-tracking branch 'upstream/master' into readpassphrase 2011-09-24 19:08:41 -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
c2ccba532f cmake: fix build options for wfreerdp 2011-09-23 14:38:16 -04:00
Marc-André Moreau
17ed282656 wfreerdp: fix compilation on windows 2011-09-23 14:25:38 -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
Otavio Salvador
151aa66101 Merge pull request #88 from shlevy/master
Enable reading passwords from stdin for X11 client
2011-09-17 12:51:16 -07:00
Shea Levy
7b42422cd3 Merge from upstream 2011-09-16 06:38:13 -04:00
ydal
37655dc35a Edited client/DirectFB/CMakeLists.txt via GitHub 2011-09-15 13:48:00 +09: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
ydal
802633b9d3 dfreerdp : add df_send_mouse_motion_event(). 2011-09-08 19:15:21 +09: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