Commit Graph

81 Commits

Author SHA1 Message Date
Armin Novak
cd05ea7452 Fixed error checks for command line parser. 2016-02-01 15:18:34 +01:00
Bernhard Miklautz
1cee185e3c hardening: check fread and fwrite return values 2015-06-26 20:38:30 +02:00
Armin Novak
2f81d99327 Added missing argument checks. 2015-06-23 12:17:37 +02:00
Bernhard Miklautz
af81a91ea7 windows: fix compilation and warnings 2015-06-22 19:31:25 +02:00
Bernhard Miklautz
06502e6a91 misc: integrate pull request feedback 2015-06-22 19:24:30 +02:00
Bernhard Miklautz
bf73f4e4f1 Fix unchecked strdups
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
Norbert Federa
1eff1a345e free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
Armin Novak
c380fb3520 Added flag to ignore unknown keywords
freerdp_client_settings_parse_command_line now allows ignoring
unknown keywords.
2015-03-16 10:15:37 +01:00
Zhang Zhaolong
d1c508768e common/file: fix incorrect usage of realloc.
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:32:51 +08:00
Armin Novak
7913a57bc5 Using wlog for logging in clients now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
cff9c16c1e Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
	channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Armin Novak
0780c0993e Replaced fprintf(stderr with DEBUG_WARN 2014-08-07 22:21:07 +02:00
Benoît LeBlanc
84d0089401 Added KeyboardHook to settings 2014-07-08 16:32:28 -04:00
Benoît LeBlanc
903c5dada1 fix smart sizing parsing 2014-06-16 15:01:09 -04:00
Marc-André Moreau
2da89cd8e5 libfreerdp-client: fix parsing of port numbers in .rdp file full address, gatewayhostname options 2014-06-12 10:49:29 -04:00
Marc-André Moreau
001ff64840 Merge pull request #1875 from jbd1986/fix-rdp-file-fullscreen
Reading RDP File: changed fullscreen constants to reflect the current states from Technet
2014-06-04 12:02:30 -04:00
Justin DeFields
c89601faeb Changed fullscreen value to reflect the current states from http://technet.microsoft.com/en-us/library/ff393692(v=ws.10).aspx 2014-05-29 11:48:38 -04:00
Marc-André Moreau
5e97757939 freerdp: fix improper .rdp file parsing 2014-05-10 17:28:34 -04:00
Benoît LeBlanc
d7b587161d Settings: persist SmartSizing 2014-04-29 17:33:59 -04:00
Benoit LeBlanc
72a9a92564 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-04-28 10:11:25 -04:00
Marc-André Moreau
769502ec72 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-04-26 13:47:01 -04:00
Zhang Zhaolong
5cb7819830 client-common: fix memory leak in case of error out. 2014-04-26 12:19:28 +08:00
Benoit LeBlanc
c59ae16b02 fix typo 2014-04-24 17:27:45 -04:00
Marc-André Moreau
3ee6494d36 libfreerdp-core: cleanup GatewayUsageMethod setting 2014-04-24 17:05:10 -04:00
Marc-André Moreau
4c920506ed libfreerdp-core: add 'Bypass RD Gateway server for local addresses' feature 2014-03-24 14:44:18 -04:00
Marc-André Moreau
5ff847a6e6 wfreerdp: fix multiple warnings 2014-02-10 01:06:11 -05:00
Benoît LeBlanc
36a1323dce fixed error parsing rdp file: lines without value were ignored before being marked as formatted, resulting in duplicate values being written to the RDP file afterwards. 2013-12-13 16:58:46 -05:00
Benoît LeBlanc
469303a545 Fix: PromptCredentialsOnce / GatewayUseCredentials were always set to true regardless of the value present in the rdp file. 2013-12-12 11:32:36 -05:00
Benoît LeBlanc
153bcbfa7c Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-12-06 09:15:02 -05:00
Benoît LeBlanc
a86168fe8f added const to freerdp_client_get_string_option 2013-12-06 09:14:55 -05:00
Marc-André Moreau
f963491ebe libfreerdp-client: cleanup .rdp file parsing 2013-12-05 12:35:31 -05:00
Marc-André Moreau
73196c3777 libfreerdp-common: add fine grained control over .rdp file writing functions 2013-12-04 18:25:55 -05:00
Marc-André Moreau
4b341daa3d libfreerdp-client: add functions for getting/setting rdp file options 2013-12-04 16:29:45 -05:00
Marc-André Moreau
0ffc6a93ae libfreerdp-client: start extending .rdp file parsing capabilities 2013-12-04 15:37:42 -05:00
Marc-André Moreau
83ad1730b8 Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
	libfreerdp/core/input.c
	libfreerdp/core/update.c
2013-11-23 16:39:29 -05:00
Bernhard Miklautz
440d945f5d client/common: fixed TestClientRdpFile test
Unified ascii and unicode string handling.
2013-11-15 16:58:54 +01:00
Marc-André Moreau
fb23f08388 libfreerdp-client: fix possible infinite loop with .rdp file parsing containing freerdp options 2013-11-10 13:29:20 -05:00
Benoît LeBlanc
02fe384ecb typo 2013-11-07 13:45:16 -05:00
Benoît LeBlanc
c4dea17af3 added _scprintf macro to winpr because snprintf does not count characters on Windows.
Modified write_rdp_file_ macros for windows compatibility
2013-11-07 13:44:18 -05:00
Benoît LeBlanc
f4d0371480 Removed const warning 2013-11-07 10:48:49 -05:00
Benoît LeBlanc
7215f4295f Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Conflicts:
	include/freerdp/client.h
2013-11-07 10:42:35 -05:00
Marc-André Moreau
d754e4f9a8 Fixed memory corruption that occured when writing rdpFile to disk 2013-11-07 10:37:46 -05:00
Benoît LeBlanc
b50969e05d Removed logs 2013-11-06 20:15:14 -05:00
Benoît LeBlanc
08da7211aa Fixed crash caused by string value not being copied when parsing an ASCII file. 2013-11-06 20:07:42 -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
bccd0750e8 libfreerdp-client: fix memory leaks in settings accessors 2013-11-05 11:51:33 -05:00
Benoît LeBlanc
993f5f18b8 added const to buffer parameters in functions 2013-11-04 09:10:05 -05:00
Marc-André Moreau
970d8d2260 libfreerdp-core: add freerdp_settings_clone 2013-10-16 22:55:51 -04:00
Benoît LeBlanc
52ff05fa6e set WRITE_ALL_SETTINGS macro to TRUE for now, to prevent a 0-byte file size. 2013-10-16 18:29:52 -04:00
Marc-André Moreau
59eccac4e7 libfreerdp-client: refactor and decouple rdpSettings* from client context 2013-10-12 21:07:12 -04:00