Commit Graph

246 Commits

Author SHA1 Message Date
Bernhard Miklautz
10abb71b5b 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.
(cherry picked from commit 7a002270d8)
2012-10-28 03:47:13 +01:00
Bernhard Miklautz
b0d569626c utils/args: fixed formating
(cherry picked from commit e5e2ee2aaa)
2012-10-28 03:46:58 +01:00
Ted Gould
b6665693d7 Fixed character check. Used wrong version of patch previously.
(cherry picked from commit 9809d937ac)
2012-10-27 15:37:35 +02:00
Ted Gould
ee0cc492fd Fixing to not drop the isatty check that was there.
(cherry picked from commit 241b8af9e8)
2012-10-27 15:36:19 +02:00
Ted Gould
e8daef6574 Makes parsing of values off of stdin more robust by initializing the buffers initial and checking the returns from scanf. Also, provides for a null domain by using '.' to make it easier to pipe values into xfreerdp.
(cherry picked from commit 74306c93cb)
2012-10-27 15:35:58 +02:00
Bernhard Miklautz
db9651f48e Detect pipe/stdio for parameter --from-stdin
When --from-stdin is given and parameters are passed via pipe/file
don't use passphrase function for the password.
This fixes #698.
(cherry picked from commit d846024e85)
2012-10-27 15:33:46 +02:00
Bernhard Miklautz
1851856eb3 Fix for #629. Don't show password if --from-stdin.
(cherry picked from commit e9af573d58)
2012-10-27 15:33:29 +02:00
Rex Tsai
efcd396188 xfreerdp: fixed --from-stdin/freerdp_passphrase_read for win32
Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
(cherry picked from commit ed6dd62ebd)
2012-10-27 15:32:53 +02:00
Mike Carifio
19c6f93e2d xfreerdp: Adds switch --from-stdin.
This switch will prompt username, password, domain and connection
host if not specified at the command line.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
(cherry picked from commit a31f0c62e6)

Conflicts:
	client/X11/xfreerdp.1.xml
	client/X11/xfreerdp.c
	include/freerdp/settings.h
	libfreerdp-core/settings.c
	libfreerdp-utils/args.c
2012-10-27 15:28:47 +02:00
Dorian Johnson
eecb39b5a7 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.
(cherry picked from commit 4bda6b5cbc)
2012-10-27 14:35:59 +02:00
Pawel Jakub Dawidek
a8b9767d91 Remove some redundant code.
(cherry picked from commit e03734be30)
2012-10-27 14:35:45 +02:00
Vic Lee
2950ccf670 core: register audio device only if plugins are registered. 2012-03-25 07:26:25 -05:00
Pawel Jakub Dawidek
0a12057b1c If HOME environment variable is not configured, use / as home. Having NULL home_path will crash freerdp. 2012-03-25 06:56:32 -05:00
Marc-André Moreau
8e88983a62 libfreerdp-utils: re-introduce free(NULL) check in xfree() 2012-02-09 20:32:08 -05:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Marc-André Moreau
aaaafcc4b7 libfreerdp-utils: improve freerdp_load_plugin 2012-02-09 17:48:30 -05:00
Marc-André Moreau
c38c0f9001 libfreerdp-utils: fix file utils 2012-02-08 21:56:50 -05:00
Marc-André Moreau
66ebfb0e9f wfreerdp: fix compilation and warnings 2012-02-08 21:16:37 -05:00
Marc-André Moreau
47de99062d libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name 2012-02-04 15:16:41 -05:00
Alexis Moinet
5ca9a37f68 remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()
2012-02-03 15:27:04 +01:00
Marc-André Moreau
521f956c00 libfreerdp-core: merging certificate.c with certstore.c 2012-02-02 18:20:17 -05:00
Marc-André Moreau
bae5de89e1 libfreerdp-utils: refactoring of certificate store 2012-02-02 17:36:07 -05:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b9c782fb21 libfreerdp-utils: fix realloc on null pointer in arguments parsing 2012-02-01 18:51:41 -05:00
Marc-André Moreau
589e9e1142 xfreerdp-server: add event queue 2012-01-30 22:46:02 -05:00
Marc-André Moreau
603e600bdb xfreerdp-server: add better path detection support for finding server keys 2012-01-30 20:35:33 -05:00
Marc-André Moreau
e33f21b958 libfreerdp-utils: extend file utils to do path detection 2012-01-30 17:47:55 -05:00
Marc-André Moreau
005ffa0bb0 wfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer) 2012-01-29 11:11:13 -05:00
Pawel Jakub Dawidek
68b9f65e87 Add --secure-checksum option that will enable usage of salted checksums
with Standard RDP encryption.
2012-01-25 17:14:58 +01:00
Marc-André Moreau
949bce4d54 wfreerdp: fix warnings and color conversion 2012-01-16 11:40:18 -05:00
Dorian Johnson
8edb7d3efa Change freerdp_parse_args to return different values for error vs --help/--version, and change xfreerdp to only report real errors 2012-01-14 15:30:48 -06:00
Marc-André Moreau
80ce58af76 cunit: fix orders tests 2012-01-13 17:11:34 -05:00
Dorian Johnson
a5787f0207 libfreerdp-utils: freerdp_load_plugin print dlerror() on failure 2012-01-10 17:02:39 -06:00
louyihua
d095c2398e libfreerdp-utils: fix a handle leak while creating threads under win32 2011-12-21 08:50:47 +08:00
David Sundstrom
49303c8969 Fix compile error on Solaris
Fix few small issues with local move race conditions
Add missing --gdi option to command-line help
2011-12-16 15:10:07 -06:00
Marc-André Moreau
5d1df8a342 libfreerdp-core: add connection type settings 2011-12-16 12:14:16 -05:00
Marc-André Moreau
338359eb36 libfreerdp-core: added more fine-tuned performance flag options 2011-12-16 12:04:09 -05:00
Marc-André Moreau
2edfcb50fb libfreerdp-core: fix glyph cache, enable it by default 2011-12-14 17:08:22 -05:00
Bernhard Miklautz
a0fad066dc libfreerdp-utils/core: use "dylib" as plugin extension on OSX 2011-12-14 02:28:12 +01:00
Marc-André Moreau
243090323d libfreerdp-core: fix offscreen cache capabilities, add --composition option 2011-12-12 19:20:52 -05:00
Marc-André Moreau
654600dc91 Merge pull request #270 from llyzs/wtsvc
Server virtual channel API
2011-12-12 07:05:33 -08:00
Vic Lee
f3c06defb1 libfreerdp-utils/wait_obj: add attached wait_obj type. 2011-12-12 22:36:11 +08:00
Marc-André Moreau
fcd03260d6 xfreerdp: added select() timeout 2011-12-11 18:05:32 -05:00
Marc-André Moreau
2ef315820f libfreerdp-core: apply NTLMv2 authentication patch by Dmitrij Jasnov 2011-12-11 16:53:24 -05:00
Marc-André Moreau
cdc3235feb Merge pull request #265 from dubrsl/master
Fix unresolved symbols
2011-12-10 07:40:52 -08:00
Slava Dubrovskiy
e44e42e2b8 Fix unresolved symbols 2011-12-10 01:09:36 -05:00
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
bluebird
a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Anthony Tong
273b370a57 mark --nsc as experimental 2011-12-01 11:56:12 -05:00
Mike Gilbert
b456a4ea0a libfreerdp-utils: Add const to a few global strings. 2011-11-30 18:00:39 -05:00