Marc-André Moreau
8b524021f1
xfreerdp: fix egfx multimon on reconnect
2015-02-06 17:46:15 -05:00
Marc-André Moreau
82d58086db
xfreerdp: partial reconnect fixes
2015-02-05 17:01:56 -05:00
Bernhard Miklautz
5558f7cd54
xfreerdp: fix problem with SetPosition
...
Since XWarpPointer generates an pointer motion event, as if the mouse
was moved by hand, xfreerdp sends back the received mouse position to
the server. This behavior is wrong since pointer positions set via
server pointer update pdu shouldn't get sent back to the server
(it's not a "real" mouse move).
To fix this problem change the x windows event mask to not handle
pointer motion events before setting the new pointer position and change
it back again afterwards.
Possible downside of this is that some pointer motion events might get
lost but this shouldn't be noticeable.
Thanks to nfedera for the neat idea ;).
2015-02-03 22:08:34 +01:00
Bernhard Miklautz
823dbb1dd0
xfreerdp: add support to set pointer
2015-02-02 15:32:49 +01:00
Marc-André Moreau
7c6948cd5c
xfreerdp: make use of freerdp_get_event_handles
2015-01-30 09:47:02 -05:00
Armin Novak
dd9e1879b6
Updated h264_decompress arguments.
2015-01-22 13:24:33 +01:00
Marc-André Moreau
9bc32c2a85
Revert "Moved channel loading, now only loading before connect."
...
This reverts commit f7756efca6
.
2015-01-20 10:15:37 -05:00
Armin Novak
f7756efca6
Moved channel loading, now only loading before connect.
2015-01-20 12:13:08 +01:00
Armin Novak
5bc1e41109
Using freerdp_channels_disconnect now.
2015-01-20 11:24:58 +01:00
Norbert Federa
344362a8a3
clients: fix "focus in event" issues
...
The input->FocusInEvent callback implementations (normal and fast-path) have
always sent the mouse position even if the pointer was outside of the freerdp
client area. In addition xfreerdp used the wrong pointer coordinates which
were relative to the root window instead of its own.
On focus-in the pointer position must only be sent if the pointer is
currently within the program's client area. However, the clients had no way
to pass that information to input->FocusInEvent which required an API change.
- removed mouse pointer x, y parameters from input interface's FocusInEvent
- clients are responsible to call input->MouseEvent on focus-in if necessary
- fixed xfreerdp and wfreerdp accordingly
2015-01-16 18:40:57 +01:00
Bernhard Miklautz
5d4de15401
xfreerdp: fix crash with /monitor-list
...
Catch the case when /monitor-list was used but the X display couldn't
be opened or wasn't available.
2015-01-16 00:10:36 +01:00
Armin Novak
e10b42e305
Fixed typo.
2015-01-15 15:26:43 +01:00
Armin Novak
9767f7f042
Added patch for UTF8 window titles, fixes #1364
2015-01-15 14:25:43 +01:00
Armin Novak
7dda510dda
Resetting disconnect flag on client start.
...
Fixed initialisation of variable to avoid NULL dereference.
2015-01-13 12:43:27 +01:00
Armin Novak
524e4635fd
Fixed typos.
...
gdi_free now done on disconnect.
2015-01-13 12:00:51 +01:00
Marc-André Moreau
b552aa9363
libfreerdp-core: add support for multiple redirection target addresses
2014-12-27 18:53:27 -05:00
Marc-André Moreau
5e6b3de74e
xfreerdp: fix usage of incorrect target clipboard format id
2014-12-26 11:30:09 -05:00
Marc-André Moreau
e6eeae2ddd
xfreerdp: fix clipboard null byte at end of string (issue #2209 )
2014-12-21 13:49:22 -05:00
Marc-André Moreau
f1bd547580
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/X11/xf_client.c
2014-12-15 15:55:51 -05:00
Norbert Federa
5c68b1cf22
xfreerdp: fix RDP order color conversion
...
Note: /gdi:sw was working fine, this commit fixes /gdi:hw
* calculate color channel shifts based on X11 visual color masks
* fast path to skip conversion if visual color masks equal rdp color masks
* successfully tested 8/15/16/24/32 bpp rdp sessions on 16/24/32 bpp visuals
2014-12-15 16:34:09 +01:00
Marc-André Moreau
e2f377ae11
libfreerdp-core: fix TSG thread shutdown and input freeze problem
2014-12-15 09:42:04 -05:00
Marc-André Moreau
b579ad3cec
Merge pull request #2261 from akallabeth/more_memleak_fixes
...
More warning and memleak fixes
2014-12-11 08:28:48 -05:00
Bernhard Miklautz
67b6cc7518
xfreerdp: clean up AuthenticationOnly
...
* removed dead code path: user name is always set now
* update message if no password was set
2014-12-08 18:13:54 +01:00
Bernhard Miklautz
2dca3f3356
xfreerdp: use login name if no user name was set
...
If no user name is set with /u:.. use the login name of the current user will be
used as user name.
2014-12-08 18:07:05 +01:00
Marc-André Moreau
53686e414a
Merge pull request #2259 from erbth/master
...
fixed shutdown of input thread in xfreerdp
2014-12-08 10:01:27 -05:00
Armin Novak
23d64bd6ca
Fixed uninitialized value.
2014-12-07 00:29:28 +01:00
erbth
9f068ca0f7
fixed shutdown of input thread in xfreerdp
2014-12-05 21:48:24 +01:00
Norbert Federa
443ee42db5
gdi: don't pollute invalid region with empty rects
2014-12-05 19:47:29 +01:00
Marc-André Moreau
d5414c33a5
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 13:32:59 -05:00
Marc-André Moreau
f2267a2277
libwinpr-clipboard: fix memory corruption and leaks
2014-12-04 13:19:10 -05:00
Norbert Federa
415a0a158e
xfreerdp: smart sizing fix
...
Standard format PictStandardRGB24 is not always available.
Use XRenderFindVisualFormat instead of XRenderFindStandardFormat
2014-12-04 17:52:54 +01:00
Marc-André Moreau
75e0e84130
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 10:00:10 -05:00
Norbert Federa
c82d8c9c6b
xfreerdp: fix cliprdr SelectionNotify enless loop
...
xf_cliprdr_process_selection_notify calls xf_cliprdr_send_client_format_list
if the SelectionNotify event property was None.
xf_cliprdr_send_client_format_list called XConvertSelection even if there
was no clipboard owner. In that case the XServer generates a SelectionNotify
event to the requestor (us) with property None and so on ...
The most obvious fix is to ensure that XConvertSelection is not called if
the owner is None which is done in this commit.
2014-12-04 00:19:23 +01:00
Marc-André Moreau
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05:00
Bernhard Miklautz
7b55c3a48e
xfreerdp: fix formating - indentation
2014-12-03 18:23:20 +01:00
Bernhard Miklautz
bd8c3f448e
xfreerdp: fix a possible re-size race condition
...
In case of server side initiated desktop resize it could happen that the
client was "scaling" even if smart-sizing was disabled. The reason for
this was that the "scaled" width and height was set when the X Configure
event arrived but not in xf_desktop_resize.
2014-12-03 18:08:01 +01:00
Marc-André Moreau
01ac15a879
libfreerdp-core: fix crash on failed redirect
2014-12-03 11:48:27 -05:00
Norbert Federa
0e443484d8
xfreerdp: smart-sizing and software-gdi fixes
...
* fixed crash on server-initiated desktop resize and fullscreen toggle with /gdi:sw
* implemented desktop resize for /gdi:sw
* check for availibility of XRender extension and show error messages if a setting would require it
* fixed compile error if xrender devel packages are missing
* fixed bug with server-initiated desktop resize in fullscreen mode
2014-12-03 15:41:10 +01:00
Norbert Federa
25f66d2e6d
xfreerdp: added smart sizing, mt gesture fixes
...
- removed setting ScalingFactor
- added settings SmartSizingWidth and SmartSizingHeight
- changed option /smart-sizing to optionally support <width>x<height>
- consolidated transformation of input event coordinates
- rdp8 gfx ignored scaling and panning offsets: fixed
- never resize window on panning/pinching
- simplified keyboard multitouch gesture debugging emulation
- disabled keyboard multitouch gesture emulation debug code via define
2014-12-01 11:56:44 +01:00
Norbert Federa
85297fb343
xfreerdp: remove duplicated drawing operations
...
Most of xfreerdp's hw gdi callbacks did the the same X11 drawing operation
twice: Initially on the primary pixmap to keep the back buffer up to date
and then directly on the window in order to see the result.
This sequence is followed by a call to gdi_InvalidateRegion() to mark the
rectangular area of the drawing operation.
Since in xfreerdp's current design (or better current evolved state) the
backbuffer pixmap is obligatory, all drawing operations directly targeting
the window are redundant because of the subsequent EndPaint (mapped to
xf_hw_end_paint) where the damaged region is copied from the backbuffer
to the drawable.
- removed X11 drawing operations which directly target the window drawable
- fixed some errors in the calculation of the required update regions
2014-12-01 11:19:27 +01:00
Norbert Federa
3fa3384eb4
xfreerdp: several fixes for panned/pinched drawing
...
- use bilinear filter instead of nearest filter
- fixed invalid transformation matrix
- support non-proportional scaling
- fix calculation of transformed coordinates (rounding errors)
2014-12-01 11:17:16 +01:00
Marc-André Moreau
c26b557ab4
Merge pull request #2215 from nfedera/fix-2014-11-16-01
...
xfreerdp: fix polyline
2014-11-17 09:41:07 -05:00
Armin Novak
a2bbb265c1
Fixed memory leaks.
2014-11-17 00:36:01 +01:00
Armin Novak
bfd3962f03
Fixed memory leak.
2014-11-17 00:26:33 +01:00
Norbert Federa
84a4514ca9
xfreerdp: fix polyline
...
X11 gdi polyline has been broken by commit 3de5c62
.
We don't need to convert the point coordinates if XDrawLines is called with
coordinate mode CoordModePrevious.
2014-11-16 18:48:14 +01:00
Armin Novak
7eb6bc112b
Fixed dereference of NULL pointer.
2014-11-16 16:44:29 +01:00
Armin Novak
e20da04d15
Fixed uninitialized argument value.
2014-11-16 15:37:13 +01:00
Marc-André Moreau
b32341785e
xfreerdp: remove dependency on libfreerdp-rail
2014-11-12 19:49:35 -05:00
Marc-André Moreau
6857a4f2b7
xfreerdp: remove old X11 RAIL code
2014-11-12 17:18:27 -05:00
Marc-André Moreau
2efa67b4f9
xfreerdp: more RAIL libfreerdp-rail migration
2014-11-12 17:00:57 -05:00
Marc-André Moreau
abf6d4f71e
xfreerdp: prepare RAIL migration away from libfreerdp-rail
2014-11-12 16:42:32 -05:00
Marc-André Moreau
589c21d819
libfreerdp-utils: remove rail utils
2014-11-12 10:18:53 -05:00
Marc-André Moreau
1225c6b5ce
xfreerdp: separate app windows from desktop windows
2014-11-11 22:27:33 -05:00
Marc-André Moreau
fb5e33440c
xfreerdp: cleanup xf_window.c, xf_rail.c
2014-11-11 20:26:47 -05:00
Marc-André Moreau
d955851052
xfreerdp: remove RAIL dependency on deprecated event system
2014-11-11 18:32:18 -05:00
Marc-André Moreau
f3d1830eb4
xfreerdp: partially migrate RAIL to callback interface
2014-11-11 17:49:29 -05:00
Marc-André Moreau
b2f7c488ab
xfreerdp: cleanup and fix RemoteApp
2014-11-11 16:35:30 -05:00
Marc-André Moreau
ee7299ec3f
channels/tsmf: remove dependency on deprecated eventing system
2014-11-10 16:33:34 -05:00
Marc-André Moreau
edd4aa797c
xfreerdp/tsmf: migrate to callback interface
2014-11-10 16:23:04 -05:00
Marc-André Moreau
129582e67f
channels/tsmf: cleanup
2014-11-10 14:02:54 -05:00
Marc-André Moreau
f9814379cd
xfreerdp: remove usage of XAllocColor (slow)
2014-11-10 11:15:37 -05:00
Marc-André Moreau
a6bb185760
channels/tsmf: add new callback interface
2014-11-07 18:33:45 -05:00
Hardening
7b108f1aa8
Merge pull request #2141 from zhangzl2013/polyline
...
fix polyline.
2014-10-31 22:15:13 +01:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Norbert Federa
62dbcac0c7
xfreerdp: fix glyph index primary drawing order
...
The fOpRedundant field of the GlyphIndex primary drawing order
(MS-RDPEGDI, chapter 2.2.2.2.1.1.2.13) was neglected which resulted in some
severe text rendering errors.
2014-10-29 20:56:26 +01:00
Marc-André Moreau
23e4963102
xfreerdp: remove dependency on clrconv
2014-10-21 22:19:11 -04:00
Marc-André Moreau
5f95f0776f
libfreerdp-codec: add freerdp_image_copy_from_monochrome replacement function for deprecated freerdp_mono_image_convert
2014-10-21 21:56:10 -04:00
Marc-André Moreau
0aab1e7ee5
libfreerdp-codec: fix and enhance cursor image conversion
2014-10-21 20:46:15 -04:00
Marc-André Moreau
27dca6258a
xfreerdp: replace wire to local clipboard conversion
2014-10-17 20:55:12 -04:00
Marc-André Moreau
83ecddd6c1
xfreerdp: replace cliprdr to wire format conversion
2014-10-17 20:40:11 -04:00
Marc-André Moreau
a1e660d92e
freerdp: unify clipboard standard format id definitions
2014-10-16 22:20:12 -04:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Marc-André Moreau
d668855be6
xfreerdp: refactor cliprdr helpers
2014-10-16 15:05:06 -04:00
Marc-André Moreau
4111625488
xfreerdp: cleanup unused cliprdr code
2014-10-15 22:56:25 -04:00
Marc-André Moreau
2e82e6d22d
xfreerdp: fix clipboard sync
2014-10-15 22:48:18 -04:00
Marc-André Moreau
38bac22204
xfreerdp: migrate to cliprdr callback interface
2014-10-15 21:30:11 -04:00
Marc-André Moreau
4ba0010294
xfreerdp: partially migrate to cliprdr callback interface
2014-10-15 17:42:55 -04:00
Marc-André Moreau
7a5d45ed34
xfreerdp: further cliprdr refactoring
2014-10-15 15:49:57 -04:00
Marc-André Moreau
94da63f980
xfreerdp: start migrating to cliprdr callback interface
2014-10-14 22:58:01 -04:00
Marc-André Moreau
0abe24a1c0
xfreerdp: start refactoring cliprdr
2014-10-14 22:24:07 -04:00
Zhang Zhaolong
3de5c62bf3
fix polyline.
2014-10-09 18:11:38 +08:00
Bernhard Miklautz
36c2523d68
xfreerdp: add support to set keyboard indicators
...
* add generic function to check for X extensions
* detect x keyboard support
* add callbacks and client code to set/clear keyboard indicators
2014-10-06 10:37:37 +02:00
Bernhard Miklautz
d7a3d78279
xfreerdp: add support for PlaySound
...
Using X keyboard bell.
2014-10-03 16:04:15 +02:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
73471eb1f0
libfreerdp-gdi: fix 8bpp mode
2014-09-17 18:30:09 -04:00
Marc-André Moreau
48b35be953
xfreerdp: fix X11 16bpp mode
2014-09-17 14:29:56 -04:00
Marc-André Moreau
fb4e5d352b
libfreerdp-codec: add proper 16bpp output format support
2014-09-17 12:17:41 -04:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Marc-André Moreau
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Marc-André Moreau
c40d8155a6
libfreerdp-gdi: fix SurfaceToSurface overlapping copies
2014-09-16 17:41:24 -04:00
Marc-André Moreau
b25258e8c6
libfreerdp-gdi: add support for ABGR plain colors
2014-09-15 16:28:53 -04:00
Marc-André Moreau
501386b790
libfreerdp-gdi: partial support for internal ABGR buffer format
2014-09-15 16:08:06 -04:00
Armin Novak
417e57d846
Decreased logging verbosity.
2014-09-15 19:49:34 +02:00
Armin Novak
7913a57bc5
Using wlog for logging in clients now.
2014-09-15 08:55:00 +02:00
Marc-André Moreau
f693ff42d7
Merge pull request #2097 from awakecoding/egfx
...
GDI Bitmap Update Optimization
2014-09-12 15:12:52 -04:00
Marc-André Moreau
198f94fe03
libfreerdp-gdi: add RDP8 graphics pipeline support
2014-09-12 14:57:44 -04:00
Marc-André Moreau
7130b7064e
libfreerdp-gdi: fix bitmap caching
2014-09-12 01:03:19 -04:00
Marc-André Moreau
45d2bab95d
xfreerdp: optimize bitmap updates
2014-09-11 22:29:09 -04:00
Marc-André Moreau
f5ff6e1bd8
Merge pull request #2095 from bmiklautz/feat/byemonolithic
...
Remove non-monolithic builds of libfreerdp
2014-09-11 18:46:32 -04:00