Commit Graph

2157 Commits

Author SHA1 Message Date
Marc-André Moreau
90dcef3178 libwinpr-sspi: fix data type warnings 2012-05-21 21:08:04 -04:00
Marc-André Moreau
733fc24a48 libwinpr-sspi: data type cleanup 2012-05-21 20:39:45 -04:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
3cfc3d6d80 winpr: move to one folder 2012-05-20 20:54:22 -04:00
Marc-André Moreau
a7a007bed8 libwinpr-sspi: start using server-side NLA by default 2012-05-20 20:36:57 -04:00
Marc-André Moreau
81a2c3c705 libwinpr-sspi: fix server-side NTLM confidentiality 2012-05-20 18:32:22 -04:00
Marc-André Moreau
14daf31bbc Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-20 17:32:41 -04:00
Marc-André Moreau
11249bbb51 xfreerdp-server: fix freeing of TLS resources before use 2012-05-20 17:30:30 -04:00
Marc-André Moreau
23cbda9468 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-20 17:04:28 -04:00
Marc-André Moreau
73bdd6b95c Merge pull request #599 from dorianj/coloriconfix
libfreerdp-codec: improve freerdp_icon_convert ICO reader
2012-05-20 11:57:53 -07:00
Marc-André Moreau
a41a329580 Merge pull request #596 from AurimasF/master
fixes more colour conversion problems for 16-bit displays
2012-05-20 11:57:19 -07:00
Marc-André Moreau
4b3c8c395c Merge pull request #594 from littlejawa/static_code_review
Static code review
2012-05-20 11:56:38 -07:00
Dorian Johnson
2d3774e407 libfreerdp-codec: improve freerdp_icon_convert ICO reader
freerdp_icon_convert reads ICO data, which is used by RAIL for
window and notify icons. The old implementation incorrectly iterpreted
the green channel, flipped the alpha channel, and ignored alpha padding.

This implementation is much more robust and correctly handles the alpha
channel, even for non-powers-of-two image widths.

Fixes #578.
2012-05-18 12:43:51 -05:00
Aurimas Fišeras
64ad250f2d fix more color conversion problems for 16-bit displays
based on d588e30a
2012-05-17 21:55:51 +03:00
Marc-André Moreau
ff3b5afa10 Merge pull request #593 from dorianj/master
svc_plugin: ignore CHANNEL_FLAG_SUSPEND/CHANNEL_FLAG_RESUME
2012-05-17 10:15:30 -07:00
Dorian Johnson
05cfd14cb9 Merge remote-tracking branch 'upstream/master' 2012-05-17 09:32:27 -05:00
Julien Ropé
80f16c6201 Small fixes from static analysis:
- Potential NULL dereference in tsmf_ifman.c
- Check return value for our functions in tsmf_media.c and rdp.c
- Bad binary operator used in gcc.c
- Unreachable code in ntlm.c
- Bad free operation on SCOPE_LIST object in license.c
2012-05-16 15:29:35 +02:00
Julien Ropé
ffbbc13496 Removing reference to 'decoded_data' as this variable was removed by another commit 2012-05-16 11:34:28 +02:00
Julien Ropé
bbb48783e3 Some modifications on the LIST usage.
Made sure the list_*() API was used whenever possible, rather than relying on the internal implementation.
Added comments to the list.c file for documentation.
2012-05-16 11:34:18 +02:00
Julien Ropé
ae2393539a Added verification on NULL pointers 2012-05-16 11:34:08 +02:00
Julien Ropé
98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Marc-André Moreau
e77782d64c Merge pull request #590 from pykoder/master
fix client_hostname argument truncated: fix issues #570, #555
2012-05-15 15:14:25 -07:00
Marc-André Moreau
4c81674faa Merge pull request #586 from littlejawa/master
More comments and xmalloc validation
2012-05-15 15:13:52 -07:00
Marc-André Moreau
5f065c11f2 Merge pull request #592 from mattymo/master
Time zone clock skew fix
2012-05-15 15:13:30 -07:00
Dorian Johnson
4bda6b5cbc svc_plugin: ignore CHANNEL_FLAG_SUSPEND/CHANNEL_FLAG_RESUME
These server flags tell the SVC layer to temporarily stop sending
data, but are currently not implemented. This patch purposefully
ignores them so they don't cause a crash.
2012-05-15 16:39:07 -05:00
Matthew Mosesohn
556ee864b5 Fix time zone clock shift 2012-05-15 17:28:20 -04:00
christophe grosjean
15ad1f2589 Fix client_hostname 2012-05-15 15:35:03 +02:00
Marc-André Moreau
39158785a6 Merge pull request #589 from bmiklautz/frame_ack_fix
Only sent frame acknowledge if the server supports it
2012-05-14 06:50:40 -07:00
Bernhard Miklautz
b0475a5e81 Only sent frame acknowledge if the server supports it
If the servers doesn't announce CAPSET_TYPE_FRAME_ACKNOWLEDGE
frame acknowledgements should not be sent.
2012-05-14 15:39:17 +02:00
Vic Lee
26dea949e1 Merge pull request #587 from llyzs/rfx
Add RemoteFX Frame Acknowledge feature
2012-05-11 09:01:14 -07:00
Julien Ropé
003e5d080f Fixed typo in comment 2012-05-11 16:52:02 +02:00
Vic Lee
4050944f6e server: implement frame acknowledge PDU. 2012-05-11 16:35:11 +08:00
Vic Lee
4a6c5a72c4 libfreerdp-core: implement frame acknowledge. 2012-05-11 15:34:51 +08:00
Vic Lee
ac5c7cded3 rdpsnd/alsa: reduce default audio latency. 2012-05-09 23:14:53 +08:00
Marc-André Moreau
e8144e4bdc Merge pull request #585 from llyzs/dsp
dsp: rewrite api to reduce memory allocations.
2012-05-09 07:36:18 -07:00
Julien Ropé
e8ea0a58bd Adding comments to the stream.c file for documentation 2012-05-09 14:10:54 +02:00
Julien Ropé
dd16629644 Added some validation to xmalloc calls 2012-05-09 14:10:54 +02:00
Julien Ropé
de3a6b6070 Replace malloc by xmalloc calls 2012-05-09 14:10:54 +02:00
Vic Lee
473ba080e7 rdpsnd/pulse: fix a segfault in case device name is not provided. 2012-05-09 19:18:47 +08:00
Vic Lee
c9ad01ea55 dsp: rewrite api to reduce memory allocations. 2012-05-09 16:15:23 +08:00
Marc-André Moreau
2faec09ee2 Merge pull request #582 from littlejawa/master
Replaced 'malloc' calls by xmalloc or xzalloc as appropriate.
2012-05-07 07:10:11 -07:00
Julien Ropé
06491e02cf Adding includes where appropriate... 2012-05-07 15:44:37 +02:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Marc-André Moreau
f142ac29d6 Merge pull request #581 from ArvidNorr/errorcode
Errorcode
2012-05-07 04:37:25 -07:00
Marc-André Moreau
c7d13a79ca Merge pull request #580 from celsius/master
fix compilation error in ndr.h (type redefinition)
2012-05-07 03:01:20 -07:00
Alexis Moinet
80ebc98bc8 fix compilation error in ndr.h (type redefinition)
include/winpr/ndr.h:201: error: redefinition of typedef ‘MIDL_STUB_MESSAGE’
include/winpr/ndr.h:199: note: previous declaration of ‘MIDL_STUB_MESSAGE’ was here
include/winpr/ndr.h:201: error: redefinition of typedef ‘PMIDL_STUB_MESSAGE’
include/winpr/ndr.h:199: note: previous declaration of ‘PMIDL_STUB_MESSAGE’ was here
2012-05-07 11:50:57 +02:00
Marc-André Moreau
bfa4e5b1a2 libfreerdp-core: fix a few memory leaks in HTTP and RPC code 2012-05-06 00:53:07 -04:00
Marc-André Moreau
3266888ae5 libwinpr-sspi: reduce usage of memory utils 2012-05-05 22:39:00 -04:00
Marc-André Moreau
813cf27ccd libwinpr-crt: initial commit 2012-05-05 22:09:08 -04:00
Marc-André Moreau
14e50895d9 libwinpr-sspi: start reducing dependence on libfreerdp-utils 2012-05-05 21:33:19 -04:00