Vic Lee
a98e13a86e
tcp: add timeout to prevent buggy client from hanging.
2014-05-30 22:30:21 +08:00
Marc-André Moreau
c866d19bd4
winpr-crt: fix bit rotation macros
2014-05-23 14:00:46 -04:00
Marc-André Moreau
c0ec800bfd
freerdp: fix incorrect copyright headers
2014-05-22 15:56:47 -04:00
Marc-André Moreau
ae368549ad
freerdp: fix compilation on Windows
2014-05-22 14:42:05 -04:00
Hardening
2b1a27b9b6
Add .gitignore files for test generated files
2014-05-21 22:18:38 +02:00
Hardening
de1c08736f
Fix ringbuffer_write() to use const BYTE * instead of const void *
2014-05-21 19:12:51 +02:00
Hardening
d8eb1f284f
Updated license headers
2014-05-21 18:44:49 +02:00
Hardening
a04843bc9e
Fix some corner cases in ringbuffer and make unitary test have no leak
2014-05-21 18:32:59 +02:00
Hardening
5234e05843
Make ringbuffer C89 aware for VC
2014-05-21 18:17:39 +02:00
Hardening
0ea1dc43ec
Add a ringbuffer implementation targetting byte sending
...
This adds a ringbuffer implementation that targets bytes sending.
The ringbuffer can grow when there's not enough room, that's why it's
not thread-safe (locking must be done externally). It will be shrinked
to its initial size as soon as the used bytes are the half of the
initial size.
2014-05-21 17:27:36 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00
Marc-André Moreau
fb3f5e6bd2
libfreerdp-utils: purge deprecated list utils
2014-04-26 12:31:24 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Bernhard Miklautz
0cb7874749
Remove config.h inclusion in debug.h
...
* update msusb to use DEBUG_MSUSB
* remove unused DEBUG_MSG
2014-04-15 18:36:22 +02:00
Martin Haimberger
250a2be8bb
Ensures that the static virtual channels are started
...
before virtual channel data can be received
2014-04-03 06:48:41 -07:00
Marc-André Moreau
4c920506ed
libfreerdp-core: add 'Bypass RD Gateway server for local addresses' feature
2014-03-24 14:44:18 -04:00
Zhang Zhaolong
353b4f8ba3
clipboard: add events for file clipping.
2014-03-10 14:25:56 +08:00
Marc-André Moreau
6695873394
libwinpr-wtsapi: fix multiple inconsistencies with original wtsapi headers
2014-02-28 14:49:57 -05:00
Marc-André Moreau
82b922a70d
channels: rename custom CHANNEL_ENTRY_POINTS_EX to CHANNEL_ENTRY_POINTS_FREERDP to fix conflict
2014-02-16 17:38:59 -05:00
Marc-André Moreau
b833073f57
libfreerdp-core: make client virtual channel API prototypes converge towards original API
2014-02-16 17:27:36 -05:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
Marc-André Moreau
3782c2ad72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-01-25 16:34:34 -05:00
Mike McDonald
25f834043e
Modified FreeRDP core to ignore SIGPIPE signal. This signal was being generated during a call to SSL_shutdown when the socket is in a disconnected state. The proper way to handle this is to ignore SIGPIPE and allow the write system call to report an errno of EPIPE.
2014-01-20 11:20:50 -05:00
Marc-André Moreau
4d6f3b6de4
libfreerdp-client: fix bug in pInterface channel registration
2013-12-05 16:55:28 -05:00
Marc-André Moreau
61f95fbe16
libfreerdp-core: transport code style cleanup
2013-11-07 15:14:59 -05:00
Benoît LeBlanc
c82fd89860
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2013-11-06 14:52:27 -05:00
Marc-André Moreau
b4a78c31bb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-06 13:59:03 -05:00
Zhang Zhaolong
870e52ed1d
Add cliprdr on windows. File clipping is not supported yet.
2013-11-05 10:52:17 +08:00
Benoît LeBlanc
ce34923959
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
Conflicts:
libfreerdp/core/gateway/tsg.c
libfreerdp/crypto/tls.c
2013-11-04 09:12:26 -05:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Benoît LeBlanc
90e903957a
Fixed warmings (string formats)
2013-10-25 14:59:38 -04:00
Marc-André Moreau
3cd5652c7d
libfreerdp-core: fix asynchronous queueing of RemoteApp messages
2013-10-22 16:28:23 -04:00
Marc-André Moreau
49a2334554
channels/rdpdr: reduce dependency on svc_plugin
2013-10-17 15:20:04 -04:00
Marc-André Moreau
c058095251
libfreerdp-core: cleanup TS Gateway code
2013-10-11 05:07:33 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Marc-André Moreau
336e47e82f
Merge pull request #1460 from akallabeth/thread_handle_fixes
...
Thread handle fixes
2013-09-16 13:40:32 -07:00
Bernhard Miklautz
8baa04e7e5
Merge pull request #1448 from akallabeth/coverity_fixes
...
Multiple resource leak and NULL pointer dereferencing fixes
2013-09-10 00:56:30 -07:00
Armin Novak
5731725712
Fixed malloc warning, now casting to void *.
2013-09-05 15:40:09 +02:00
Armin Novak
5f539e9dad
Fixed missing assert include.
2013-09-05 13:45:49 +02:00
Armin Novak
8ae13cdace
Fixed thread hanling.
2013-09-05 13:39:32 +02:00
Armin Novak
1e2455fa4a
Fixed various memory leaks and compiler warnings.
2013-09-05 12:14:33 +02:00
Marc-André Moreau
7edfe66274
freerdp: various missing link dependencies and symbol exports
2013-09-03 21:48:26 -04:00
Norbert Federa
b2108839b0
utils: fix broken stopwatch implementation
...
Stopwatch (in the way it is used) must be able to measure the wall
clock time with high resolution but used clock() which is not
appropriate for this purpose:
On POSIX systems clock() returns the processor time used by the
program. On Windows clock() does measure the wall clock time but
has only a resolution of 1ms (if at all).
This also renders the freerdp profiler unusable.
This commit changes stopwatch to use the performance counters
on Windows and gettimeofday() for the rest.
Also added a warning about invalid profiling results to the
RemoteFX codec if rfxcontext->priv->UseThreads is enabled because
stopwatch is currently not used in a thread safe way.
Also see GitHub Issue #1325
2013-06-27 13:00:54 +02:00
Norbert Federa
9df9c7d28a
libfreerdp-utils/pcap: open pcap in binary mode
...
Use 'b' in fopen's mode string to force binary (untranslated) mode
when reading or writing the pcap file.
This is required on WIN32 and maybe on other non POSIX conforming
systems.
This fixes the mstsc internal error disconnect followed by a crash
of the sample server when latter is used to serve a pcap file on
WIN32.
2013-06-25 17:11:36 +02:00
Vic Lee
96d5910a75
libfreerdp-utils: fix profiler on Windows.
2013-06-14 13:21:29 +08:00
Marc-André Moreau
ba0b4ee524
libfreerdp-client: load rdpdr when rdpsnd is loaded
2013-05-10 16:39:16 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
b4cac74136
xfreerdp-server: fix RemoteFX encoding
2013-05-01 18:15:55 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
0cbdd6b641
freerdp: merge with master
2013-04-09 10:18:03 -04:00
Nigel Reeves
777dff2d0b
Further changes to fix issue 574\685.
...
There appear to be some additional problems with the impact of daylight
savings time kicking in. Calculations of BIAS, Standard BIAS &
Daylight BIAS are wrong.
This is showing up with Outlook 2010 meeting appointments, for example
select America\Vancouver, appointments, once accepted get assigned an hour
early.
I have also applied a fix to correctly send the Timezone information
currently commented out of code referencing this issue number in
libfreerdp_locale/timezone.c function freerdp_time_zone_detect()
2013-04-08 14:42:49 +01:00
Marc-André Moreau
506c665df2
channels/client: start breaking down into smaller blocks channel code
2013-03-29 17:53:18 -04:00
Marc-André Moreau
d187becc28
freerdp: merge with master
2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5
freerdp: merge RDP_EVENT type with wMessage
2013-03-28 21:13:56 -04:00
Marc-André Moreau
f757623f7f
channels: replace event_type, event_class with id for events
2013-03-28 20:23:16 -04:00
Marc-André Moreau
8ad5932a3d
channels: continue event refactoring
2013-03-28 19:33:31 -04:00
Marc-André Moreau
72bf8ea032
libfreerdp-utils: start migrating old eventing system
2013-03-28 18:29:57 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
068f0de4d4
libfreerdp-utils: purge old file utils
2013-03-22 15:52:43 -04:00
Marc-André Moreau
edf6e7258d
libwinpr-path: add path detection functions
2013-03-22 00:42:09 -04:00
Marc-André Moreau
93a752b546
libfreerdp-utils: purge old string utils
2013-03-21 22:31:17 -04:00
Marc-André Moreau
dbbb341098
libfreerdp-utils: purge thread utils
2013-03-21 17:58:18 -04:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5
libfreerdp-utils: rename internal members of STREAM to match new wStream
2013-03-21 15:01:46 -04:00
Marc-André Moreau
afa7f4b945
channels/rdpsnd: fix crashes on termination
2013-02-26 11:16:33 -05: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
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
Marc-André Moreau
22c804e6ad
channels/rdpsnd: refactoring
2013-02-19 17:47:55 -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
Vic Lee
ec54a44449
rdpsnd: fix some null pointer crashes.
2013-01-22 23:26:55 +08:00
rdp.effort
71c37bdfc3
call time instead of gmtime (makes valgrind happy)
2013-01-16 00:06:56 +01:00
Marc-André Moreau
9f4b41d377
Merge pull request #895 from bmiklautz/renamedebug
...
utils/debug: renamed DEBUG to DEBUG_MSG
2013-01-14 06:28:51 -08:00
Bernhard Miklautz
49c3641b6e
utils/debug: renamed DEBUG to DEBUG_MSG
2013-01-14 11:47:24 +01:00
ArvidNorr
8bdeb78f06
Wrong max socket value fix
2013-01-14 02:12:30 -08:00
rdp.effort
dc9777bea0
checks stream size when reading rail strings
2013-01-11 01:29:34 +01:00
rdp.effort
2f97638e98
checks stream sizes when reading redirection packets
2013-01-11 01:21:24 +01:00
Vic Lee
ed5ad30d4f
libfreerdp-core/transport: select sockfd instead of sleep when blocking.
2012-12-21 16:24:26 +08:00
Marc-André Moreau
d19e2042c3
libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR
2012-12-17 10:20:25 -05:00
Marc-André Moreau
af9be28000
libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode
2012-12-16 23:34:07 -05:00
Marc-André Moreau
a02090c09b
libfreerdp-utils: fix unicode conversion
2012-12-16 23:00:40 -05:00
Marc-André Moreau
36a1683a5d
libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation
2012-12-16 16:21:48 -05:00
Marc-André Moreau
3e1ac9a55e
libfreerdp-utils: fix build
2012-12-14 13:15:27 -05:00
Marc-André Moreau
6cdb09740c
wfreerdp: fix build
2012-12-14 13:11:07 -05:00
Marc-André Moreau
92bf3e4ae0
libfreerdp-utils: remove sleep utils in favor of WinPR
2012-12-14 00:58:48 -05:00
Marc-André Moreau
2045a5aec8
libfreerdp-utils: remove print utils
2012-12-14 00:30:20 -05:00
Marc-André Moreau
808fc210e3
libfreerdp-utils: remove hexdump utils in favor of WinPR utils
2012-12-13 23:54:54 -05:00
Marc-André Moreau
26492f1cc7
libfreerdp-core: fix settings->HomePath leak (issue #810 )
2012-12-13 07:48:16 -05:00
Marc-André Moreau
eea3414579
libfreerdp-utils: purge deprecated wait_obj utils
2012-11-26 20:15:48 -05:00
Marc-André Moreau
75a5b755fe
libfreerdp-utils: remove wait_obj dependency in thread util
2012-11-26 19:31:20 -05:00
Marc-André Moreau
136282dae3
libfreerdp-utils: replace wait_obj struct with HANDLE
2012-11-26 19:21:19 -05:00
Marc-André Moreau
57d4a07af9
libfreerdp-utils: replace internal wait_obj implementation
2012-11-26 18:02:41 -05:00
Marc-André Moreau
6424599639
libfreerdp-utils: remove deprecated args utils
2012-11-26 16:52:41 -05:00
Marc-André Moreau
155f11cfc5
libfreerdp-utils: fix WITH_JPEG build
2012-11-26 12:25:22 -05:00
Marc-André Moreau
5fb6312a1f
Merge github.com:FreeRDP/FreeRDP
2012-11-25 15:29:40 -05:00
Marc-André Moreau
84f358d3ce
Merge pull request #812 from bmiklautz/versioning
...
build: fixed library versioning
2012-11-25 12:29:29 -08:00
Marc-André Moreau
6b2db2d103
macosx: update client
2012-11-22 15:32:21 -05:00
Marc-André Moreau
01158f9a34
libfreerdp-utils: purge deprecrated load_plugin utils from source tree
2012-11-21 21:28:48 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
b3d8f79b5c
libfreerdp-utils: replace ARRAY_SIZE custom macro with ARRAYSIZE() windows macro
2012-11-21 20:50:28 -05:00
Marc-André Moreau
2a16183f5d
libfreerdp-utils: remove deprecated calls to xnew() macro
2012-11-21 20:21:08 -05:00
Marc-André Moreau
b2c3ca8cc4
libfreerdp-utils: replace all calls to deprecated function xzalloc
2012-11-21 19:22:41 -05:00
Marc-André Moreau
2e1a7447a1
channels: refactoring of channel subsystems
2012-11-19 22:31:15 -05:00
Marc-André Moreau
83473d11d1
channels: patch memory leaks, load addins from list
2012-11-19 13:26:56 -05:00
Bernhard Miklautz
9a33dbe826
build: fixed library versioning
...
Split version numbers into:
FREERDP_API_VERSION - the version of the API which is major.minor
FREERDP_VERSION - version of a release consisting of major.minor.revision (e.g. 1.1.0)
FREERDP_VERSION_FULL - like FREERDP_VERSION but with an optional "build" suffix (e.g 1.1.0-dev)
2012-11-18 17:07:33 +01:00
Marc-André Moreau
4a472d5536
libfreerdp-common: added parsing of /vc and /dvc
2012-11-18 00:08:03 -05:00
Marc-André Moreau
925eb59bf1
libfreerdp-common: refactoring of addin loader
2012-11-17 22:03:04 -05:00
Marc-André Moreau
82725a2df7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2012-11-12 20:49:20 -05:00
Kevin Dalley
f109360c33
Improved documentation in xfreerdp.1.xml. Minor change in args.c usage
...
statement.
2012-11-12 12:03:39 -08:00
Marc-André Moreau
3a851b7021
macosx: fix build
2012-11-10 09:40:07 -05:00
Marc-André Moreau
22e259d3d0
libfreerdp-core: started handling multi-fragment TSG PDUs
2012-11-09 05:04:39 -05:00
Marc-André Moreau
e14aeb1d8a
libfreerdp-core: fix gateway command-line settings
2012-11-08 19:56:37 -05:00
Marc-André Moreau
e0b37aa97e
channels: load device addins using new command-line api
2012-11-08 19:01:52 -05:00
Marc-André Moreau
410b7ab867
libfreerdp-core: rdpSettings refactoring (part 4)
2012-11-07 23:29:24 -05:00
Marc-André Moreau
8544716104
libfreerdp-core: rdpSettings refactoring (part 3)
2012-11-07 18:23:33 -05:00
Marc-André Moreau
6427c9dd90
libfreerdp-core: rdpSettings refactoring (part 2)
2012-11-07 15:13:14 -05:00
Marc-André Moreau
1a2839a165
libfreerdp-core: rdpSettings refactoring (part 1)
2012-11-07 11:02:46 -05:00
Marc-André Moreau
ebc09d17d8
libfreerdp-core: started refactoring rdpSettings
2012-11-07 10:33:06 -05:00
Marc-André Moreau
e62860ab29
cmake: replace FindOptionalPackage macros with FindFeature macros
2012-11-02 19:27:01 -04:00
Marc-André Moreau
4d171408e9
freerdp: merging with master
2012-10-29 09:50:44 -04:00
Marc-André Moreau
13a0fbe040
libfreerdp-client: initial working .rdp file support
2012-10-27 21:30:08 -04:00
Marc-André Moreau
beefa1a21d
libfreerdp-client: initial support for .rdp file parsing
2012-10-27 20:25:11 -04:00
Bernhard Miklautz
7a002270d8
util/args: fixed when using --from-stdin
...
- Discard new lines with scanf.
- If domain is left empty (STRG+d pressed) clear EOF flag - this fixes
an enless loop in xfreerdp on OS X when input is required after a certificate
warning.
2012-10-28 01:46:33 +02:00
Bernhard Miklautz
e5e2ee2aaa
utils/args: fixed formating
2012-10-28 01:24:07 +02:00
Marc-André Moreau
08cf1d34df
cmake: fix STATIC_CHANNELS=off build
2012-10-23 11:55:41 -04:00
Marc-André Moreau
e764c81ad5
freerdp: fix building of libraries for Android
2012-10-13 20:31:01 -04:00
Marc-André Moreau
639bb0d79d
cmake: started simplifying monolithic build option
2012-10-13 15:20:39 -04:00
Marc-André Moreau
5d69a74d34
libfreerdp-core: make more caches configurable through the registry
2012-10-12 15:47:51 -04:00
Marc-André Moreau
ce13f39de2
Merge pull request #763 from FreeRDP/channels
...
Major Refactoring + Static Channel System
2012-10-09 10:44:44 -07:00
Marc-André Moreau
7f00570276
freerdp-utils: fix unicode conversion
2012-10-09 11:24:33 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00
Marc-André Moreau
7b55d27f96
libfreerdp-utils: remove xwcsdup and xstrtoup
2012-10-08 23:46:05 -04:00
Marc-André Moreau
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -04:00
Marc-André Moreau
9909a12af5
libfreerdp-utils: get rid of xmalloc, xrealloc and xfree
2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81
freerdp: fix headers
2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
837cc777ce
channels: move include/freerdp/plugins to include/freerdp/client
2012-10-08 20:33:58 -04:00
Vic Lee
956143e42b
libfreerdp-utils: WideCharToMultiByte does not null-ternimate thus buffer must be zero.
2012-10-08 14:37:12 +08:00
Marc-André Moreau
bf03aff5d1
channels: windows patches from richterger
2012-10-06 17:49:56 -04:00
Marc-André Moreau
cb69657b81
channels: refactoring of rdpdr cmake scripts
2012-10-05 16:01:59 -04:00