Commit Graph

4494 Commits

Author SHA1 Message Date
Benoît LeBlanc
44ead029f7 MacFreeRDP: fixed incorrect invalidation region that caused "tiles". Removed unused variables. 2013-07-11 11:19:21 -07:00
Benoît LeBlanc
163cc975d9 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libwinpr-utils: implement ListDictionary
2013-07-07 22:02:09 -04:00
Benoît LeBlanc
f9bac0fce9 Added public API function
freerdp_client_write_connection_file()

For now, all settings are written to the RDP file. This can be switched with the WRITE_ALL_SETTINGS define in file.c
2013-07-05 23:20:56 -04:00
Marc-André Moreau
b3265b6958 libwinpr-utils: implement ListDictionary 2013-07-05 18:23:26 -04:00
Benoît LeBlanc
d72452b4f5 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Bernhard Miklautz (4) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libfreerdp-core: fix unused variable
  libfreerdp-codec: add bitmap encoder
  cmdline: unix/windows return detected error
  client/common: fixed command line parsing issue
  channels/serial: bring it back to life
  nla: invalidate sec handle after creation
  tls: updated certificate mismatch message
2013-07-05 16:35:08 -04:00
Marc-André Moreau
1159d55569 libfreerdp-core: fix unused variable 2013-07-04 22:39:32 -04:00
Marc-André Moreau
5f4f3af98a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-07-04 20:33:00 -04:00
Marc-André Moreau
0ee7ca5741 libfreerdp-codec: add bitmap encoder 2013-07-04 16:31:54 -04:00
Benoît LeBlanc
c17c2f811b FreeRDP:
- replaced char* by const char* in function prototypes
- MacFreeRDP: moved assignation of context function pointers
- freerdp: added more pointer and return value validations to prevent crashes
2013-07-04 14:42:40 -04:00
Marc-André Moreau
c63cb43285 Merge pull request #1336 from nfedera/fix-2013-07-03-01
channels/serial: bring it back to life
2013-07-04 08:59:21 -07:00
Benoît LeBlanc
a65bb78378 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: add ConnectionResult event
2013-07-03 16:30:41 -04:00
Marc-André Moreau
cbd93f1b3b freerdp: add ConnectionResult event 2013-07-03 16:18:45 -04:00
Benoît LeBlanc
ea4ad89f09 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: separate GatewayUsageMethod from GatewayEnabled
2013-07-03 15:07:35 -04:00
Marc-André Moreau
bc631c93a8 freerdp: separate GatewayUsageMethod from GatewayEnabled 2013-07-03 15:07:12 -04:00
Marc-André Moreau
fdacb6e668 Merge pull request #1339 from bmiklautz/cmd_line_fixes
Fixed cmd line sefault and help/version command
2013-07-03 07:48:58 -07:00
Bernhard Miklautz
450b64ee73 cmdline: unix/windows return detected error 2013-07-03 16:44:06 +02:00
Bernhard Miklautz
df2aab92c0 client/common: fixed command line parsing issue
fixes #1333
2013-07-03 16:41:26 +02:00
Norbert Federa
db6c0083d0 channels/serial: bring it back to life
- Fixes #1166
- Fixed a possible segfault caused by invalid command line parameters
- Removed serial->in_event which had no effect at all on the program logic
2013-07-03 14:09:04 +02:00
Benoît LeBlanc
13a9de2b7a Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Bernhard Miklautz (14) and others
# Via Marc-André Moreau (10) and others
* 'master' of git://github.com/awakecoding/FreeRDP: (40 commits)
  xfreerdp: improve selection between multitouch and non-multitouch devices with XInput 2
  cache and core: set pointer to NULL after free
  pointer cache: fixed double free
  freerdp-client: use 32bpp with NSCodec
  libwinpr-utils: fix deadlock in PubSub
  utils/profiler: fix unix build
  utils: fix broken stopwatch implementation
  Android: various bug fixes to prevent NullPointerExceptions
  client/x11: fixed incorrect size calculation
  libfreerdp-utils/pcap: open pcap in binary mode
  libwinpr-synch: fix broken USleep (on WIN32)
  sample server: support build on win32
  server/sample: fix for issue #1312 (mstsc protocol error)
  fixed incorrect size calculation
  libfreerdp-common: add some null pointer checks.
  libfreerdp-codec/rfx: fix a memory leak.
  winpr/alignment: use size_t instead of UINT32
  Assorted tsmf and gstreamer fixes:
  winpr: offset support in _aligned_offset_malloc
  xfreerdp-server: removed binary
  ...
2013-07-02 16:13:58 -04:00
Benoît LeBlanc
96b9972307 MacFreeRDP: fixed crash when opening second session
(unrecognized selector sent to instance … )
2013-07-02 16:13:43 -04:00
Marc-André Moreau
691813b847 Merge pull request #1330 from bmiklautz/misc_fixes_20130701
Misc fixes
2013-07-02 11:24:54 -07:00
Bernhard Miklautz
0773bb9303 nla: invalidate sec handle after creation
If sec pointer isn't invalidated after creation it is not possible
to check if the upper and lower pointers are valid.

This fixes a segfault in the server part if the client disconnects before
the authentication was finished.
2013-07-01 19:24:19 +02:00
Bernhard Miklautz
87e9a24b1e tls: updated certificate mismatch message
Added information to the message if the name found is an CN or an
alternative name. Also print a message if no CN was not found instead
of (null).
2013-07-01 19:21:57 +02: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
Marc-André Moreau
1274752506 Merge pull request #1329 from awakecoding/master
Multitouch, Client API, Mac Client, PubSub, xrdp-ng
2013-06-28 09:58:44 -07:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
fd365121a8 Merge pull request #1323 from mfleisz/andr_fixes
Android: various bug fixes to prevent NullPointerExceptions
2013-06-28 09:41:01 -07:00
Marc-André Moreau
7bb9e5e408 Merge pull request #1308 from dbungert/tsmf
Assorted tsmf and gstreamer fixes
2013-06-28 09:40:29 -07:00
Marc-André Moreau
48347b1f4d Merge pull request #1305 from bmiklautz/mem_alignment
winpr: offset support in _aligned_offset_malloc
2013-06-28 09:39:02 -07:00
Marc-André Moreau
2d860f5385 Merge pull request #1297 from ccpp/master
Improve Certificate Checking (Add support for wildcard certificates and check against RDP gateway hostname)
2013-06-28 09:37:58 -07:00
Marc-André Moreau
237f5a63d5 Merge pull request #1288 from dbungert/dvcmanDupeChannels
Free incompletely initialized dvcs.
2013-06-28 09:36:40 -07:00
Marc-André Moreau
6d9e131d68 Merge pull request #1298 from floppym/testfixes
libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix.
2013-06-28 09:33:49 -07:00
Marc-André Moreau
674890f5d0 Merge pull request #1328 from bmiklautz/misc_fixes_20130628
Misc fixes
2013-06-28 09:33:09 -07:00
Bernhard Miklautz
554268674c cache and core: set pointer to NULL after free 2013-06-28 15:18:20 +02:00
Bernhard Miklautz
1c2506f937 pointer cache: fixed double free 2013-06-28 15:17:37 +02:00
Marc-André Moreau
1d0a579590 freerdp-client: use 32bpp with NSCodec 2013-06-27 15:39:56 -04:00
Bernhard Miklautz
b91f0bbb90 Merge pull request #1295 from bmiklautz/mac_build_fix
Mac build fix
2013-06-27 11:39:25 -07:00
Marc-André Moreau
3fbc4f899f libwinpr-utils: fix deadlock in PubSub 2013-06-27 14:16:50 -04:00
Benoît LeBlanc
6621239946 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: add new events for scaling and panning changes
  xfreerdp: add ParamChange event handler
  freerdp: add more settings for window panning and scaling
  winpr: add _WINRT platform detection macro
2013-06-27 11:24:51 -04:00
Benoît LeBlanc
0f24f6490e MacFreeRDP - Replaced MRDPView instance in NIB with instance allocated by the API. 2013-06-27 11:22:15 -04:00
Bernhard Miklautz
34c3952a01 Merge pull request #1326 from nfedera/fix-2013-06-27-01
utils: fix broken stopwatch implementation
2013-06-27 04:49:15 -07:00
Norbert Federa
40976a91b7 utils/profiler: fix unix build 2013-06-27 13:43:29 +02: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
Marc-André Moreau
aca13e5eac freerdp: add new events for scaling and panning changes 2013-06-26 19:05:44 -04:00
Marc-André Moreau
c8a09f3f76 xfreerdp: add ParamChange event handler 2013-06-26 18:57:16 -04:00
Marc-André Moreau
aa4ce5ee4b freerdp: add more settings for window panning and scaling 2013-06-26 18:49:01 -04:00
Marc-André Moreau
77f5994e1c winpr: add _WINRT platform detection macro 2013-06-26 18:12:01 -04:00
Benoît LeBlanc
ed4a25d1ae WaykClient (Mac): integrated MRDPView (allocated at runtime) 2013-06-26 13:45:12 -04:00
Benoît LeBlanc
2f310271c9 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  winpr: extend stream api
2013-06-26 10:26:54 -04:00
Martin Fleisz
77f8ca315e Android: various bug fixes to prevent NullPointerExceptions 2013-06-26 06:50:10 -07:00