Commit Graph

609 Commits

Author SHA1 Message Date
Vic Lee
7d58aac24f security: add a NULL pointer check to fix a server crash. 2013-03-05 15:08:03 +08:00
Marc-André Moreau
6c40fde892 libwinpr-input: map most evdev keycodes 2013-03-04 20:37:44 -05:00
Marc-André Moreau
cd7edbbc81 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-04 16:07:29 -05:00
Martin Fleisz
52deaeaddd cmake: Fix for monolithic Android build 2013-03-04 10:16:40 +01:00
Martin Fleisz
a822d736f0 Fixed issues with new sysinfo on windows 2013-03-04 09:40:26 +01:00
Marc-André Moreau
7d75343e8e libfreerdp-locale: cleanup Mac OS X keycode mapping 2013-03-03 19:30:01 -05:00
Marc-André Moreau
474f0469b4 libfreerdp-locale: add Mac OS X definitions 2013-03-03 18:13:12 -05:00
Marc-André Moreau
1dd901d611 libfreerdp-locale: fix loading virtual scancodes 2013-03-03 17:43:06 -05:00
Marc-André Moreau
44758bfe54 libfreerdp-locale: start moving some code to libwinpr-input 2013-03-03 16:30:31 -05:00
Bernhard Miklautz
50a4f6d97b primitives: fixed flag detection for sign functions 2013-03-01 09:02:15 +01:00
Bernhard Miklautz
eb194014d3 primitives: use alias define for SSE2 2013-03-01 09:02:15 +01:00
Bernhard Miklautz
fe91121706 primitves/test: use Ex function for extended flags 2013-03-01 09:02:15 +01:00
Bernhard Miklautz
08772f6402 primitives: removed build warnings on arm 2013-03-01 09:02:15 +01:00
Bernhard Miklautz
081be8b01f primitives: updated tests, cleanup and build fixes 2013-03-01 09:02:14 +01:00
Bernhard Miklautz
589d32dc56 codec/rfx,primitives: removed cpu-detect.[ch] from build
sysinfo cpu detection is used on android as well.
2013-03-01 09:02:14 +01:00
Bernhard Miklautz
84a3dbc115 primitives: make use of winprs processor feature detection
- Removed the cpu flag detection
- Fixed and updated the tests
2013-03-01 09:02:14 +01:00
Bernhard Miklautz
23a7ef6c47 codec/rfx: use sysinfo to detect sse2/neon
This also moves (sse2) detection code out of the client into the decoder.
2013-03-01 09:02:14 +01:00
Bernhard Miklautz
bf7f7f0f60 winpr/sysinfo: added IsProcessorFeaturePresent and IsProcessorFeaturePresentEx
These functions can be used to check if an processor feature is supported.
IsProcessorFeaturePresentEx is a extended version which is not available
in the windows API and allows to query additional features.
Currently it works on the following platforms:
- i386/amd64 when compiling with gcc
- ARM on linux
2013-03-01 09:02:14 +01:00
Marc-André Moreau
c0b33a1ae5 libfreerdp-locale: fix Mac OS X build 2013-02-28 22:06:29 -05:00
Marc-André Moreau
4fd085baaf cmake: remove unused code 2013-02-28 14:54:08 -05:00
Marc-André Moreau
5687cd393d libfreerdp-locale: remove old X11 keymaps 2013-02-28 14:49:56 -05:00
Marc-André Moreau
62e686f62a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-28 10:42:13 -05:00
Marc-André Moreau
9873ce28d0 libwinpr-utils: experiment with printf replacement 2013-02-28 08:41:51 -05:00
Marc-André Moreau
1e6b245d58 Merge pull request #1019 from bmiklautz/primitives_test_fix
primitives: test build fixed
2013-02-28 05:33:22 -08:00
Bernhard Miklautz
071c528331 primitives: test build fixed 2013-02-28 14:30:12 +01:00
rdp.effort
d0305a5091 Checks that the fragmentation buffer is not bigger than negociated value 2013-02-28 12:20:46 +01:00
Marc-André Moreau
ddf4c6e0ff Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-27 09:38:39 -05:00
hardening
132d736cd9 Fixed skip_length() methods 2013-02-27 00:01:03 +01:00
Marc-André Moreau
6a775ff032 channels/rdpsnd: reduce ALSA buffer underruns 2013-02-26 17:54:16 -05:00
Alexander Gottwald
026e9996d3 Issue #847: protocol deadlock in NLA
fix ber_get_content_length and der_get_content_length to work for values
around 0x80 and 0x100
Fix nego_token, auth_info and pub_key_auth content length calculation in
credssp_send to fix a lockup in NLA protocol.
2013-02-26 21:32:36 +01:00
Marc-André Moreau
afa7f4b945 channels/rdpsnd: fix crashes on termination 2013-02-26 11:16:33 -05:00
Martin Fleisz
ca2ef21933 codec: fixed potential crash in NSCodec implementation 2013-02-26 08:10:26 -08:00
Jason Mealins
f8c4fa4938 Hard Coded and Keymap codes fixed for OS X
fixed right menu and both left and right windows keycodes
2013-02-25 17:13:19 -08:00
Jason Mealins
6da989258f VK_RMENU defines right windows key
changing 71 to VK_RMENU
2013-02-25 12:25:07 -08:00
Jason Mealins
f8d0613e69 Fixing LWIN and RWIN keycode definitions
adding in the appropriate scancodes windows keys on mac os x
2013-02-25 12:18:03 -08:00
Martin Fleisz
b8fd4b5227 codec: Fixed NEON CPU detection compile issue, primitives_get race condition in rfx decoding 2013-02-22 03:37:39 -08:00
Marc-André Moreau
fe34a529d5 freerdp: fix build and warnings on Mac OS X 2013-02-21 21:09:42 -05:00
Marc-André Moreau
05bd6cff73 channels/rdpsnd: further experimentation with async alsa 2013-02-21 10:46:11 -05:00
Martin Fleisz
1cfb4a4e77 codec: Fixed NEON detection and incorrect RFX decoding 2013-02-21 07:08:46 -08:00
Martin Fleisz
e819223939 primitives: renamed NEON detection function 2013-02-21 03:31:07 -08:00
Martin Fleisz
22cc6341a6 codec/primitives: NEON now enabled for iOS 2013-02-21 03:27:10 -08:00
Martin Fleisz
343d210a75 primitives: separating optimized functions into their own .c files.
This way we use certain compiler flags (like -msse3) only on files
containing optimized code. This avoids problems that occured when
using these flags compiling generic code and running it on platforms
that don't support these optimizations (i.e. NEON optimization on
ARM platforms).
2013-02-21 02:45:10 -08:00
Marc-André Moreau
385d0daced channels: get rid of semaphore locking, replace queues 2013-02-21 02:56:57 -05:00
Marc-André Moreau
7a289423c0 channels/rdpsnd: refactor scheduling of sending of sound PDUs 2013-02-20 21:34:47 -05:00
Marc-André Moreau
41fbdbeb0d libfreerdp-utils: don't use freerdp_thread util in svc_plugin 2013-02-20 19:44:14 -05:00
Marc-André Moreau
6c922a24e8 libfreerdp/utils: get rid of old svc_plugin queuing items 2013-02-20 18:53:47 -05:00
Marc-André Moreau
814177ea54 libfreerdp-utils: svc_plugin: make use of MessagePipe 2013-02-20 18:44:52 -05:00
Marc-André Moreau
9164d2245e libfreerdp-utils: make use of ArrayList in Static Virtual Channel Plugin interface 2013-02-20 15:33:42 -05:00
Martin Fleisz
b5d6b43700 Fixed and improved performance of NEON yCbCr to RGB conversion 2013-02-20 05:33:42 -08:00
Bernhard Miklautz
152071d38b build/arm: added build option to specify fp ABI
cmake option ARM_FP_ABI allows to specify the floating point ABI to use.
If ARM_FP_ABI isn't set explicitly softfp is used.

fixes #980
2013-02-20 01:08:27 +01:00
Marc-André Moreau
22c804e6ad channels/rdpsnd: refactoring 2013-02-19 17:47:55 -05:00
Marc-André Moreau
edc2b1de9e xfreerdp-server: fix encoding 2013-02-17 11:03:35 -05:00
Marc-André Moreau
7987875591 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:23:59 -05:00
Marc-André Moreau
289aad8d45 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:16:36 -05:00
Marc-André Moreau
e42b1272ef libfreerdp-core: added ObjectPool 2013-02-14 20:39:56 -05:00
Marc-André Moreau
cfa706cace libfreerdp-common: added new command-line options 2013-02-14 19:38:45 -05:00
Marc-André Moreau
c19c8a40dd libfreerdp-core: fix some async updates race conditions 2013-02-14 17:43:37 -05:00
hardening
865ff2a5f8 Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
Marc-André Moreau
cca810aa4c libfreerdp-core: refactor bitmap codec guid handling 2013-02-12 21:25:49 -05:00
Marc-André Moreau
d09d368e3f libfreerdp-core: add capabilities debug output 2013-02-12 16:25:16 -05:00
Marc-André Moreau
47a7d54370 xfreerdp: stabilize asynchronous X11 event handling 2013-02-11 20:38:19 -05:00
Bernhard Miklautz
9ed66d74e9 core: set FINALIZE_SC_FONT_MAP_PDU even if font map pdu len is 0
fixes #925
2013-02-11 18:30:17 +01:00
Marc-André Moreau
4269ac5c14 xfreerdp: improve asynchronicity 2013-02-09 17:13:53 -05:00
Marc-André Moreau
593a9030d3 libfreerdp-core: cleanup licensing RSA public key code 2013-02-05 10:02:06 -05:00
Marc-André Moreau
0de89ab4c9 libfreerdp-core: enable non-null licensing client random 2013-02-05 09:46:25 -05:00
Marc-André Moreau
d2873081ea libfreerdp-core: fix licensing key length 2013-02-05 09:30:53 -05:00
Marc-André Moreau
4cd720416a libfreerdp-core: added more licensing debug output 2013-02-05 01:07:34 -05:00
Marc-André Moreau
04c329cc53 libfreerdp-core: added more licensing debug output 2013-02-05 00:19:57 -05:00
Marc-André Moreau
1b97663de8 libfreerdp-core: license refactoring 2013-02-04 23:57:04 -05:00
Marc-André Moreau
1070931479 libfreerdp-core: fix decryption of encrypted error info PDU in license sequence 2013-02-04 16:39:05 -05:00
Marc-André Moreau
bbcf081243 libfreerdp-core: cleanup message interface 2013-02-04 15:47:13 -05:00
Marc-André Moreau
64160af3a8 libfreerdp-core: added more message definitions 2013-02-04 14:56:54 -05:00
Marc-André Moreau
fc02276b11 libfreerdp-gdi: implemented mem3blt pattern brush support 2013-02-04 11:40:40 -05:00
Marc-André Moreau
72a7b83a7b Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-04 11:05:50 -05:00
Marc-André Moreau
ea7a35ee9b libfreerdp-core: message queue refactoring 2013-02-04 11:05:24 -05:00
Christian Landvogt
401787eeb8 libfreerdp-gdi: added brush style BS_HATCHED
according to [MS-RDPEGDI] 2.2.2.2.1.1.2.3 PatBlt (PATBLT_ORDER)
	16bit and 8bit colour depth are drawn with wrong background colour
2013-02-04 15:58:22 +01:00
Marc-André Moreau
e18a0b807f libfreerdp-core: fix async updates with palettes 2013-02-03 16:19:25 -05:00
Marc-André Moreau
4d804018e0 libfreerdp-gdi: fix opaque rect for /gdi:hw mode with 8bpp 2013-02-03 15:22:16 -05:00
Marc-André Moreau
d9ac2cca39 libfreerdp-gdi: fix 8bpp FillRect color 2013-02-03 15:16:37 -05:00
Marc-André Moreau
db331d64f7 libfreerdp-core: fix message queue ids, fix async glyph messages 2013-02-03 12:41:59 -05:00
Marc-André Moreau
c54dbd863e Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-02 16:31:21 -05:00
Marc-André Moreau
f49c92d6fe Merge pull request #932 from hardening/remoteFxChecks
Add checks on RemoteFX
2013-02-02 13:30:54 -08:00
Marc-André Moreau
b67ee8e8f2 Merge pull request #947 from hardening/rdpFix
check size before decompressing
2013-02-02 13:30:05 -08:00
Marc-André Moreau
6c57bcf0a9 libfreerdp-core: start implementing TSG messaging 2013-02-01 17:52:19 -05:00
hardening
9b8ba7f3e0 check size before decompressing
fixed return value from BOOL to int
2013-02-01 22:43:20 +01:00
Martin Fleisz
10dd9b7ad4 libfreerdp-core: Fixed incorrect use of BOOL as a return value where an integer was returned 2013-02-01 10:15:36 +01:00
Marc-André Moreau
44bb1059ea libfreerdp-crypto: replace Base64 implementation 2013-01-31 18:07:04 -05:00
Marc-André Moreau
51293f48e9 libfreerdp-crypto: fix build on windows 2013-01-31 16:36:56 -05:00
Marc-André Moreau
9c85f97137 libfreerdp-crypto: fix base64 encoding, fix TS Gateway HTTPS authentication 2013-01-31 16:11:37 -05:00
Marc-André Moreau
a17ddeea2a mfreerdp-server: merging with master 2013-01-31 11:33:08 -05:00
C-o-r-E
bbfc724db9 libfreerdp: fix slash 2013-01-30 19:56:58 -05:00
Marc-André Moreau
4a5bd8584a libwinpr-sspi: cleanup NTLM authenticate message construction 2013-01-30 19:47:27 -05:00
C-o-r-E
a39ef9980f Merge remote-tracking branch 'upstream/master' 2013-01-30 19:05:35 -05:00
Corey C
b23cde57a6 libfreerdp: missing include 2013-01-30 18:55:22 -05:00
Marc-André Moreau
ed33ac84c5 libwinpr-sysinfo: fix hostname detection 2013-01-29 16:18:17 -05:00
Marc-André Moreau
22ecaa85a7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-29 14:01:33 -05:00
Bernhard Miklautz
f239e1f9c4 aFreeRDP: initial release
This is the initial release of aFreeRDP the FreeRDP Android client.
For build instructions have a look to docs/README.android.
2013-01-29 12:59:58 +01:00
Marc-André Moreau
bc9d103e98 libfreerdp-locale: added static Mac OS X keymap 2013-01-29 00:26:17 -05:00
Marc-André Moreau
a1f23d0f97 libfreerdp-core: cleanup memory management of secondary orders 2013-01-28 18:42:32 -05:00
hardening
ebfec72e88 Add checks on RemoteFX 2013-01-28 22:23:10 +01:00
Marc-André Moreau
353376abd3 libfreerdp-core: added input event queue 2013-01-27 21:07:17 -05:00
Marc-André Moreau
10a35a9224 libfreerdp-core: add +async-update and +async-input command-line options 2013-01-27 18:22:46 -05:00
Marc-André Moreau
d8afffd3a8 libfreerdp-core: fix server-side color depth negotiation 2013-01-27 17:17:04 -05:00
Marc-André Moreau
e1d0fad519 libfreerdp-core: fix memory leaks 2013-01-25 17:52:37 -05:00
Marc-André Moreau
f3d4da3cf9 libfreerdp-core: added more RPC fault PDU error codes 2013-01-25 13:52:01 -05:00
Marc-André Moreau
abca3f8c10 libfreerdp-core: fix check for null certificate 2013-01-25 13:47:56 -05:00
Marc-André Moreau
f6080b0c22 libfreerdp-core: disable asynchronous mode for now 2013-01-25 13:17:51 -05:00
Marc-André Moreau
c46074f926 libfreerdp-core: free messages after calls 2013-01-25 13:12:21 -05:00
Bernhard Miklautz
7089b8dcae primitives: return value to fix compiler warning 2013-01-25 18:13:14 +01:00
Marc-André Moreau
d8f8be192e xfreerdp: add asynchronous dequeuing of graphical messages 2013-01-25 12:08:00 -05:00
Bernhard Miklautz
f91b88f714 added missing defined() in #elif
gcc >= 4.4 requires a condition in #elif.
2013-01-25 17:50:40 +01:00
Marc-André Moreau
c79015831e libfreerdp-core: copy messages for asynchronous queuing 2013-01-25 00:27:39 -05:00
Marc-André Moreau
c1d61ef365 libfreerdp-core: implement message dequeuing 2013-01-24 22:38:13 -05:00
Marc-André Moreau
c14cf1e203 libfreerdp-core: add message callback registration 2013-01-24 20:05:03 -05:00
Marc-André Moreau
3c8c9aab62 libfreerdp-core: add default message post calls in message queue stubs 2013-01-24 19:08:30 -05:00
Marc-André Moreau
9ba0114e04 libfreerdp-core: added message IDs 2013-01-24 17:35:55 -05:00
Marc-André Moreau
f92f48bf9d libfreerdp-core: added message queue stubs 2013-01-24 17:11:43 -05:00
Marc-André Moreau
fa30eeaef9 libwinpr-utils: started implementing asynchronous MessageQueue 2013-01-24 14:09:44 -05:00
Marc-André Moreau
b2c49aad04 Merge pull request #922 from awakecoding/master
Platform-Specific System Information
2013-01-23 16:45:38 -08:00
Marc-André Moreau
ebefab1de4 libfreerdp-codec: add processor count detection and auto-enabling of threads in RemoteFX decoder 2013-01-23 19:21:14 -05:00
Marc-André Moreau
da3a3d5c9a libfreerdp-primitives: cleanup platform definitions 2013-01-23 18:39:48 -05:00
Marc-André Moreau
ec22b89772 libwinpr-sysinfo: added platform-specific macro definitions 2013-01-23 17:46:32 -05:00
C-o-r-E
caa1032cce Merge remote-tracking branch 'upstream/master' 2013-01-23 16:10:57 -05:00
C-o-r-E
575a38794b libfreerdp: fixed parenthesis 2013-01-23 13:44:58 -05:00
Marc-André Moreau
a5b66e3766 libfreerdp-codec: fix build on Windows 2013-01-23 11:48:31 -05:00
Bernhard Miklautz
1b16ed49f1 codec/nsc: initialize elements with NULL
bmpdata and plane_buf[i] are checked agains NULL before using/freeing them
but they were not initialized to NULL. This caused segfaults in
the sample server.
2013-01-23 14:55:38 +01:00
Marc-André Moreau
bab543b201 libfreerdp-codec: start parallelizing rfx_decode_rgb 2013-01-22 23:00:20 -05:00
Marc-André Moreau
683e395bf8 Merge pull request #918 from awakecoding/master
RemoteFX Parallel Processing of Tiles
2013-01-22 19:03:06 -08:00
Marc-André Moreau
7b7acf4944 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-22 21:57:21 -05:00
Marc-André Moreau
94ad538185 libfreerdp-codec: added registry keys for multithreaded RemoteFX decoder 2013-01-22 21:54:13 -05:00
Marc-André Moreau
22f374ac36 libfreerdp-codec: implement buffer pooling for RemoteFX 2013-01-22 21:24:04 -05:00
Marc-André Moreau
f5d9b06252 libwinpr-utils: added buffer pool 2013-01-22 20:36:08 -05:00
Marc-André Moreau
37a59efbe3 libfreerdp-codec: use _aligned_free for RemoteFX buffers 2013-01-22 18:32:17 -05:00
Marc-André Moreau
438a727c6b libfreerdp-codec: start parallel decoding of RemoteFX tiles 2013-01-22 18:14:50 -05:00
Vic Lee
ec54a44449 rdpsnd: fix some null pointer crashes. 2013-01-22 23:26:55 +08:00
Marc-André Moreau
9a7bcbb084 libfreerdp-codec: remove old RemoteFX tile pool 2013-01-20 20:44:30 -05:00
david
4d01e2d4fe Allow to read ber integers with fancy size when the result is ignored 2013-01-20 21:30:17 +01:00
Marc-André Moreau
d8875ae3e7 libfreerdp-core: fix windows build 2013-01-19 22:00:09 -05:00
Marc-André Moreau
151c2a63e4 libfreerdp-primitives: fix build on Mac OS X 2013-01-19 20:32:14 -05:00
Marc-André Moreau
f38bc6d393 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-19 19:45:12 -05:00
Marc-André Moreau
888fcf8d47 Merge pull request #913 from llyzs/llyzs
libfreerdp-core: disable frame ack if server does not send the capability
2013-01-19 16:38:01 -08:00
david
ea43348ba3 Allow ignoring an 8 bytes integer 2013-01-19 23:32:04 +01:00
Marc-André Moreau
49ee48e8d0 libfreerdp-primitives: code style cleanup 2013-01-19 15:16:28 -05:00
Marc-André Moreau
1032c69e3f libfreerdp-primitives: fix building with IPP on Linux 2013-01-19 14:27:34 -05:00
david
193622dada Dump licence content when reading fails 2013-01-19 15:28:07 +01:00
Vic Lee
cde3407138 libfreerdp-core: disable frame ack if server does not send the capability. 2013-01-19 17:07:45 +08:00
Marc-André Moreau
ce5e52ba6f libfreerdp-primitives: fix build on Windows 2013-01-18 20:47:18 -05:00
Marc-André Moreau
3df754e0bb libfreerdp-codec: fix build 2013-01-18 19:43:53 -05:00
Marc-André Moreau
c6e6956a43 Merge branch 'master' of https://github.com/dpoe/FreeRDP 2013-01-18 19:28:55 -05:00
Marc-André Moreau
9ae698c1e5 Merge github.com:FreeRDP/FreeRDP 2013-01-18 19:28:03 -05:00