Commit Graph

77 Commits

Author SHA1 Message Date
Armin Novak b48967d559 X11 XEvent refactored input
* Use proper types and const arguments where appropriate
2020-03-04 10:38:41 +01:00
Armin Novak 72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Armin Novak 05901280fe Fixed unused argument warnings. 2019-04-05 09:14:35 +02:00
Armin Novak 7102927548 X11 extended button remapping support.
Up until now X11 mouse button remapping was only possible for the
default buttons 1 to 3.
With this pull any X11 mouse button can be mapped to any RDP mouse
event and all X11 remappings are respected.
2018-12-10 15:03:29 +01:00
Armin Novak 990b8c23a9 Fixed PubSub function pointer casts. 2018-02-14 11:00:52 +01:00
Roman Kalashnikov 40d84d4be1
Fixed twice assigned values 2017-10-31 00:11:25 +03:00
David Fort 17a4e95a5b Drop some annoying warning
Probably that some unused functions should be removed, but at least it makes
it compile with no warnings.
2017-05-12 13:54:16 +02:00
Armin Novak b2c29158be Scanbuild warning, argument checks and leak fixes.
* Added Stream_GetRemainingCapacity to check remaining stream size
  before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations
2017-03-02 18:13:43 +01:00
Armin Novak c8a7065f93 Refactored xfContext. 2016-10-06 13:43:06 +02:00
Martin Haimberger 6348e41479 channel rdpei hardend 2015-06-18 03:04:32 -07: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 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 0abe24a1c0 xfreerdp: start refactoring cliprdr 2014-10-14 22:24:07 -04:00
Armin Novak 7913a57bc5 Using wlog for logging in clients now. 2014-09-15 08:55:00 +02:00
Armin Novak 0780c0993e Replaced fprintf(stderr with DEBUG_WARN 2014-08-07 22:21:07 +02:00
Marc-André Moreau 186172fa78 xfreerdp: cleanup keyboard code 2014-03-13 21:10:22 -04:00
Armin Novak 2f20a8c12b Fixed various memory leaks and resource deallocation problems. 2013-08-19 17:44:52 +02:00
Marc-André Moreau 68b254014e xfreerdp: fix cursor hidding/showing with multitouch 2013-08-03 16:13:39 -04:00
C-o-r-E e7b0d18b9b xfreerdp: comment cleanup 2013-07-23 14:47:40 -04:00
C-o-r-E b0437473f6 merged from upstream 2013-07-17 16:44:27 -04:00
Marc-André Moreau c084e0f8ae xfreerdp: improve selection between multitouch and non-multitouch devices with XInput 2 2013-06-28 13:46:58 -04:00
C-o-r-E e85d793aa9 fixed initialization of xf_input 2013-06-27 20:26:31 -04:00
C-o-r-E 53b0d906af input: fixed screen not refreshing on scaling change 2013-06-27 19:16:13 -04:00
C-o-r-E 1e085197a9 some additional cleanup 2013-06-27 17:16:55 -04:00
C-o-r-E 6f3cc12b2c fixed deadlock in pubsub, remove scale from xf_context 2013-06-27 14:24:46 -04:00
C-o-r-E 27cb96e577 work in progress 2013-06-27 03:59:49 -04:00
C-o-r-E 11b0a9f185 xfreerdp-client: attempted fixing build 2013-06-26 19:16:28 -04:00
C-o-r-E 340c3a4246 merged completely (painful) from awakecoding's tree 2013-06-25 20:41:32 -04:00
C-o-r-E 90c536de94 picked some changes from awakecoding tree 2013-06-25 18:47:41 -04:00
C-o-r-E 20dc2fc968 xfreerdp-client: made MultiTouchGestures CLI option 2013-06-19 18:43:24 -04:00
C-o-r-E 8a81730ff9 xfreerdp-client: initialize initialized initially 2013-06-18 21:52:05 -04:00
C-o-r-E dd57bcbee8 xfreerdp-client: fixed input being initialized multiple times. Pan gesture now handled externally 2013-06-18 21:17:18 -04:00
Marc-André Moreau cc5b471f75 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-06-18 00:40:09 -04:00
Marc-André Moreau 508bae674b libwinpr-utils: improve PubSub with automatic strongly-typed helpers 2013-06-18 00:39:48 -04:00
Marc-André Moreau 69e8d150e0 xfreerdp: improve multitouch debug output 2013-06-17 22:22:16 -04:00
Marc-André Moreau d006891207 xfreerdp: implement XInput 2.2 mouse pointer events 2013-06-17 21:54:38 -04:00
Marc-André Moreau 59b7c53c5f freerdp: remove temporary rdpClient* interface and replace with pubSub hooks 2013-06-15 17:39:45 -04:00
Marc-André Moreau 6c9a3b8e64 freerdp: start using pubSub for client GUI events 2013-06-15 17:01:10 -04:00
C-o-r-E 0c46350ccd xfreerdp-client: fixed pan gesture 2013-06-14 18:02:45 -04:00
Marc-André Moreau bb78fb16f8 xfreerdp: refactor to make use of single xfContext* and remove xfInfo* 2013-06-12 18:57:25 -04:00
Marc-André Moreau 3317592ecb channels/rdpei: fix long press (multitouch right-click) 2013-06-11 16:15:46 -04:00
C-o-r-E ac544a0718 Merge branch 'master' of https://github.com/C-o-r-E/FreeRDP 2013-06-11 15:01:17 -04:00
C-o-r-E 4e5da7f67c xfreerdp-client: improved pan gesture responce 2013-06-11 15:01:08 -04:00
Marc-André Moreau 7c877e1a61 channels/rdpei: restructure 2013-06-06 18:14:59 -04:00
C-o-r-E e72b79940c merged upstream 2013-06-05 14:59:24 -04:00
C-o-r-E bbfde8a410 xfreerdp-client: stability++ for gestures 2013-05-31 17:07:51 -04:00
C-o-r-E f437fefe38 xfreerdp-client: improved gesture responce, clean up 2013-05-31 13:48:53 -04:00
C-o-r-E d5400152d1 freerdp-client: improve pan gesture 2013-05-30 16:04:31 -04:00
C-o-r-E a7048105ad freerdp-client: initial pan gesture logic 2013-05-30 14:36:13 -04:00
C-o-r-E 396affa489 xfreerdp-client: fix screen refresh issue 2013-05-16 16:42:07 -04:00