Commit Graph

1697 Commits

Author SHA1 Message Date
Brent Collins
05f5009b0a Make the XReparent Window parameter a little more flexible to support both base 16 "with 0x prefix" or decimal window numbers.
(cherry picked from commit 138f115d73)
2012-11-14 22:29:48 +01:00
Brent Collins
5fb42a20e3 Moved the call order around such that the XReparentWindow call will work as intended.
(cherry picked from commit 70ccbd1926)
2012-11-14 22:29:40 +01:00
Marc-André Moreau
af940d2f24 Merge pull request #791 from bmiklautz/stable-1.0
ChangeLog updated for 1.0.2
2012-10-30 14:23:08 -07:00
Bernhard Miklautz
dc62f78297 ChangeLog updated for 1.0.2 2012-10-30 22:18:27 +01:00
Bernhard Miklautz
e0f2b3ccc9 Merge pull request #790 from bmiklautz/stable-1.0
xfreerdp: fixed build
2012-10-30 10:11:54 -07:00
Bernhard Miklautz
45ded5f6e2 xfreerdp: fixed build 2012-10-30 18:06:05 +01:00
Otavio Salvador
1eccaf0d2a smartcard: Fix build failure due wrong include paths
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-10-30 14:36:54 -02:00
Bernhard Miklautz
f637d84dd6 Merge pull request #786 from bmiklautz/stable-1.0
Fixes and cleanup for --from-stdin
2012-10-29 07:01:05 -07:00
Bernhard Miklautz
a4a6cc14e1 xfreerdp: fix for endless loop with --from-stdin
If --from-stdin was used non-interactive (e.g. in a script
echoing connection parameters) xfreerdp looped endlessly
when a certificate needed to be trusted because
fgets returns eof.
Now a hint is printed that xfreerdp should be run without
--from-stdin to set the certificate trust.
(cherry picked from commit 4d870b9421)
2012-10-28 03:47:59 +01:00
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
Otavio Salvador
a2ad01ac54 Merge pull request #784 from bmiklautz/1.0-stable
1.0 stability fixes
2012-10-27 11:39:29 -07: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
Ying-Chun Liu (PaulLiu)
69dd64c5b7 Init extensions in pre_connect stage.
Due to the client is parsing the args in pre_connect,
we should start loading the extensions after client parsing the args.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@canonical.com>
(cherry picked from commit 48ad5feb0a)

Conflicts:
	libfreerdp-core/rdp.c
2012-10-27 14:59:18 +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
Marc-André Moreau
a3396a121b libfreerdp-gdi: add PatBlt DPa operation 2012-10-26 22:29:43 -02:00
Pieterjan Camerlynck
7dded76f0e libfreerdp-core: do not send SynchronizeEvent during connection finalization 2012-10-26 22:13:27 -02:00
Mads Kiilerich
58c36d60cb cache: fix off-by-one-of-the-wrong-kind in BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-30 15:48:06 -04:00
Anthony Tong
43204d7d2e cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-27 15:59:57 -04:00
Mads Kiilerich
024b93933e core: reset crypto key counters when the keys are initialized
This fixes --sec rdp --salted-checksum in combination with farm redirect.

The counters are implicitly set to 0 in rdp_new, but they also has to be reset
after redirects. Resetting the counters when the keys are reset seems like the
cleanest solution.
2012-03-25 07:26:26 -05:00
Jay Sorg
dd0d0f0bdb libfreerdp-core: fix for cursor hot spot out of range 2012-03-25 07:26:26 -05:00
Mads Kiilerich
6752fb4983 core: terminate redirect cookies correctly 2012-03-25 07:26:26 -05:00
Mads Kiilerich
b5133db680 core/redirect: be aware that transport used in transport_check_fds might become invalid 2012-03-25 07:26:26 -05:00
Vic Lee
2950ccf670 core: register audio device only if plugins are registered. 2012-03-25 07:26:25 -05:00
Norbert Federa
633ef183ee xfreerdp: Fixed PIC base address corruption by inline assembly
EBX (or RBX on x86_64) is used for the PIC base address.
The current cpuid inline assembly only saved ebx which is fine
under i386 but only half of the fun on x86_64.
2012-03-25 07:26:25 -05:00
Philippe Auphelle
cb72647866 Restore not-in-place bitmap flip (saves one memcpy() per flipped scanline) 2012-03-25 07:03:27 -05:00
Michael Osborne
2c4a63e180 fix getting state when in remote app mode 2012-03-25 07:02:43 -05:00
Anthony Tong
fcd3b4a130 rdpsnd: follow rdpdr and free the stream from svc_plugin 2012-03-25 07:02:29 -05:00
Marc-André Moreau
999582ae76 xfreerdp: apply X2GO patch 2012-03-25 07:02:22 -05:00
Pawel Jakub Dawidek
a46154e231 Accept both TLSv1 and SSLv3 as a server.
This fixes SSL connections from Microsoft RDC for Mac OS X to FreeRDP server.
2012-03-25 07:00:08 -05:00
Pawel Jakub Dawidek
78a4aa83c4 For salted checksums we need separate counters, as the
encrypt_use_count and decrypt_use_count counters are reset during key
regeneration and we need counters that are never reset.
2012-03-25 06:59:56 -05:00
Anthony Tong
9ffdb7d0d3 rdpdr/scard: dont incorrectly set SCARD_STATE_IGNORE 2012-03-25 06:59:00 -05:00
Mads Kiilerich
93f0dad21b libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu
fastpath_input_pdu_init already reserved space for fastpath_get_sec_bytes()
which thus already was included in stream_get_length() in
fastpath_send_input_pdu(). Adding sec_bytes again just added extra invalid (but
correctly hashed/encrypted) bytes to the PDU.
2012-03-25 06:58:35 -05:00
Mads Kiilerich
c46cdaf3fb libfreerdp-core: fastpath_send_input_pdu can handle fastpath PDUs up to 32k 2012-03-25 06:58:35 -05:00
Anthony Tong
32aaa99541 libfreerdp-core: disable fp input if FIPS is negotiated 2012-03-25 06:57:16 -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
Asbjørn Heid
8139fdb392 xfreerdp-server: Fixed deadlock issue in event queue.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from
aquiring the mutex and unblocking the write. This leads to a deadlock situation.
2012-03-25 06:55:47 -05:00
Slava Dubrovskiy
967d14224e Fix not linked with libpulse (issue 418)
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-03-25 06:55:14 -05:00
Pawel Jakub Dawidek
c8d961a55c Write fingerprint to proper descriptor. 2012-03-25 06:53:00 -05:00
Pawel Jakub Dawidek
9f744fc8d2 Advertise persistent bitmap cache only if it is enabled. 2012-03-25 06:46:00 -05:00
Marc-André Moreau
96dccad6fa libfreerdp-core: don't call freerdp_context_free() from freerdp_free() 2012-03-25 06:44:03 -05:00
Jay Sorg
45e5f5e713 libfreerdp-core: fix memory leaks and double free 2012-03-25 06:43:18 -05:00
Marc-André Moreau
8e627212a0 changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00