akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +01:00
David Fort
137f9fc2f2
[client,win]: warning fixes and opaque settings fixes
2023-11-25 08:00:27 +01:00
akallabeth
43c5289928
Replaced memset/ZeroMemory with initializer
...
* Addes WINPR_ASSERT on many occations
* Replaced memset with array initializer
* Replaced ZeroMemory with array initializer
2022-10-14 12:11:01 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
David Fort
77413f49b2
winpr: rework alignment functions
...
_align_XXX functions aren't widely available depending on the C runtime. That causes
problems with mingw where we can easily have some runtime mixes (which lead to mysterious
segfaults most of the time). This patch introduce winpr_aligned_XXX functions that will
either use the function available, or use an emulation layer.
2022-05-12 11:36:01 +02:00
akallabeth
d68327ad74
Fixed const correctness of pPointer_Set
...
Pointer might need to be modified
2022-04-28 09:17:20 +02:00
akallabeth
fb90ac280a
Refactored color.h
...
* Remove implementations from header
* Rename functions to be FreeRDP specific
* Add deprecation define for old names
* Fixed missing includes
2022-04-28 08:40:47 +02:00
Armin Novak
4d03d7c0bf
Freerdp remove #ifdef HAVE_CONFIG_H
2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809
Reorganized FreeRDP headers
2022-03-03 11:26:48 +01:00
akallabeth
7641710f60
Use a client/common context component
...
* Allows moving common client code from specific client to a
generic client/common implementation
2022-02-22 09:44:13 +01:00
Armin Novak
bbfa21faa0
Fixed wf_Pointer_New
...
0 length allocations with _aligned_malloc do not return NULL
2021-11-16 08:27:24 +01:00
akallabeth
9379f93034
Fixed #6121 : Use correct destination color format
2020-04-28 12:40:03 +02:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Eric Brown
ee87b98850
Fix issues found by build bot
2018-04-10 02:55:15 -05:00
Eric Brown
71c949f61a
Fix Windows 10 cursors drawing as black
2018-04-09 13:59:42 -05:00
Eric Brown
e3adeb1059
Remove NULL check before _aligned_free call
2018-03-07 04:40:18 -06:00
Eric Brown
930ccb6b7b
Fix memory leak of Decompress buffer in client wf_Bitmap_Free
2018-03-05 13:20:41 -06:00
Alexander
519de295f6
Declared pointer.SetPosition to corrected crash if mouse pointer position changed programmatically
2017-01-06 14:27:23 +02:00
Martin Fleisz
055d0126ab
client/win: Too many params in function call
2016-12-05 13:47:19 +01:00
Armin Novak
8ef1808191
Adjusted non X11 implementations.
2016-10-14 12:50:04 +02:00
Armin Novak
14ed7743ed
Reformatted file.
2016-10-06 13:43:13 +02:00
Armin Novak
90cd2a8a45
Fixed color pointer.
2016-10-06 13:43:06 +02:00
Armin Novak
fbdb00aa0c
Simplified windows context.
2016-10-06 13:43:06 +02:00
Armin Novak
71a73068ec
Reformatted client code.
2016-10-06 13:43:06 +02:00
Armin Novak
0b6c7a3df5
Fixed windows color cursor.
2016-10-06 13:43:05 +02:00
Armin Novak
d1a3362a8f
Fixed windows software GDI issues.
2016-10-06 13:43:05 +02:00
Armin Novak
7818ca1250
Fixed windows compile.
2016-10-06 13:43:04 +02:00
zihao.jiang
e7d9e91864
channels/rdpgfx: Make freerdp_client_codecs_prepare calls codec reset. It fix broken h264 client from #3328 . Also it doesn't make sense that we don't need width and height for codec initialization while we need them for codec reset
2016-05-30 02:00:05 +08:00
Marc-André Moreau
30dd40e10a
wfreerdp: fix and improve remote assistance
2015-05-07 14:20:49 -04:00
Norbert Federa
ef1fd12b15
Fix unchecked CreateEvent calls and misc fixes
...
1)
Added missing checks for CreateEvent which also required the
following related changes:
- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL
2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.
3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.
4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers
5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +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
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Armin Novak
7913a57bc5
Using wlog for logging in clients now.
2014-09-15 08:55:00 +02:00
Marc-André Moreau
ff2df7489d
wfreerdp: fix gdi usage
2014-09-12 11:34:30 -04:00
Marc-André Moreau
7e4b3b13b1
Merge pull request #2091 from ptsekov/software-gdi-improvements
...
Fix #2090
2014-09-11 13:52:16 -04:00
Pavel Tsekov
9be7293bac
Fix #2090
...
* client/Windows/wf_graphics.c (wf_register_graphics): Do not register
custom bitmap handler when using freerdp's own GDI implementation.
2014-09-11 16:40:10 +03:00
Marc-André Moreau
89e5fef11f
wfreerdp: fix build on Windows
2014-09-10 11:38:38 -04:00
Marc-André Moreau
c71e4e18a1
libfreerdp-core: refactor codec context management
2014-09-10 00:42:41 -04:00
Armin Novak
0780c0993e
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:21:07 +02:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Marc-André Moreau
c76efec345
wfreerdp: update client with new API
2013-06-15 22:57:21 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
ac4cb24a68
wfreerdp: clean separation of client core and controlling code
2013-03-18 21:54:50 -04:00
Vic Lee
7871a2d433
wfreerdp: fix color cursor support.
2012-12-21 20:29:47 +08:00
Vic Lee
e568c8e466
wfreerdp: fix a stack corruption when processing cursor.
2012-12-20 21:06:07 +08:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Jay Sorg
e0e61e078d
win32: no logic, just white space changes
2012-10-16 11:20:04 -07:00
Jay Sorg
e4307a547a
win32: added cursor shape support(mono)
2012-10-16 11:06:23 -07:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00