Bernhard Miklautz
b0d569626c
utils/args: fixed formating
...
(cherry picked from commit e5e2ee2aaa8f6441b447f16c806ce2f7329b177d)
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 9809d937ac480399de775f7e00446c480ed7c1bb)
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 241b8af9e81c44a18509112b265c025a85d72ce7)
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 74306c93cbd4e036e7251c922caaf5f0941d4c16)
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 d846024e8509474b73645cdc24c7751999f273fd)
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 e9af573d58f005b43c2fcbfd642beb1d7e168a27)
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 ed6dd62ebd924dd1a8dce4003982ad8eb347f821)
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 a31f0c62e6ddce624574adbf562525d3f9b43c3b)
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 48ad5feb0a6ad831d863f89ed74b443021e54303)
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 4bda6b5cbc723924fefa93a44878d486b7ae09f7)
2012-10-27 14:35:59 +02:00
Pawel Jakub Dawidek
a8b9767d91
Remove some redundant code.
...
(cherry picked from commit e03734be300a16922530fcc4454521f7072a66a6)
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
1.0.1
2012-02-09 21:01:42 -05:00
Marc-André Moreau
fdfc817fb6
xfreerdp: fix segfault with --gdi sw on disconnect
2012-02-09 21:01:13 -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
717b37fd48
channels/rdpdr: cleanup
2012-02-09 20:04:27 -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
bffda2747b
libfreerdp-channels: refactoring
2012-02-09 16:57:14 -05:00
Marc-André Moreau
549faa6d87
libfreerdp-gdi: optimize line drawing
2012-02-08 22:34:37 -05:00
Marc-André Moreau
c38c0f9001
libfreerdp-utils: fix file utils
2012-02-08 21:56:50 -05:00
Marc-André Moreau
2bde041788
wfreerdp: fix RemoteFX
2012-02-08 21:44:22 -05:00
Marc-André Moreau
66ebfb0e9f
wfreerdp: fix compilation and warnings
2012-02-08 21:16:37 -05:00