Commit Graph

269 Commits

Author SHA1 Message Date
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