Commit Graph

387 Commits

Author SHA1 Message Date
Bernhard Miklautz
666c732085 xfreerdp/man page: added --wm-class option 2013-04-03 11:08:16 +02:00
Bernhard Miklautz
3db32e8e8e xfreerdp: added wm-class option to set WM_CLASS hint
based on 96290efd76

fixes #1138
2013-04-03 11:07:56 +02:00
hardening
11c46d804d Fixed more function declarations that aren't prototypes 2013-02-14 21:49:58 +01:00
Bernhard Miklautz
7d4526a874 xfreerdp: fixed crash with --authonly
Also updated documentation: --authonly returns 0 on success
and != 0 if an error occurs.

fixes #843
2012-12-11 19:52:32 +01:00
Bernhard Miklautz
c9d4abf1a5 documentation: clarify that -K
-K (Do not interfere with window manager bindings) means
not to grab keyboard
2012-12-03 16:41:42 +01:00
Bernhard Miklautz
471e852c71 Merge pull request #838 from nereocystis/stable-authonly
Spelling correction
2012-12-03 02:44:08 -08:00
Bernhard Miklautz
655d889639 Merge pull request #833 from nereocystis/stable-documentation
Stable documentation
2012-12-03 02:43:58 -08:00
Kevin Dalley
4758d1061e Spelling correction
Authenication=>Authentication
2012-12-01 16:15:09 -08:00
Kevin Dalley
6fff570afc More documentation changes.
Cross-checked:
	client/X11/xfreerdp.1.xml
	libfreerdp-utils/args.c

And ran with each option to verify number of options is correct.

Did not verify correct behavior.
2012-12-01 15:40:09 -08:00
Kevin Dalley
0171c42930 Change derived from
commit 0b7db6232f

    5. Draw the initial workspace correctly when running across multiple monitors. The correct size was always used, but the window was only starting on the current monitor and thus could draw the window off of the viewable area.
2012-11-29 15:21:07 -08:00
Christian Nilsson
65f60c7353 Fix colors on bitmaps when using -a 15
(cherry picked from commit 5212426bb4)
2012-11-20 09:54:43 +01:00
Bernhard Miklautz
c2640bc05c color conversion fixes
(based on 64ad250f2d)
2012-11-20 09:49:36 +01:00
Kevin Dalley
2b43bbacb9 The following options are not in stable, so the document for these
options need to be removed:
    --pcb is not in stable
    --pcid is not in stable
    --no-salted-checksum
from commit eba79170a9ea4c585baf6
2012-11-19 17:14:32 -08:00
Kevin Dalley
e7f6248e2e Improved documentation in xfreerdp.1.xml. Minor change in args.c usage
statement.

fixed conflict regarding -c in args.c from
commit f109360c33
2012-11-19 17:12:23 -08:00
Kevin Dalley
72caedb48c Added many additional options to documentation, added missing
arguments to options in documentation.  Attempted to alphabetize
options in documentation.

resolved conflicts in merge from 023bc848a2
2012-11-19 17:09:18 -08:00
Kevin Dalley
4f7b2bfb86 Add documentation for "-X" option. 2012-11-19 17:07:34 -08:00
Kevin Dalley
f1b6dcfb6f Correct spelling of "experiance" in documentation. 2012-11-19 17:07:18 -08: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
Bernhard Miklautz
45ded5f6e2 xfreerdp: fixed build 2012-10-30 18:06:05 +01: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
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
Marc-André Moreau
a3396a121b libfreerdp-gdi: add PatBlt DPa operation 2012-10-26 22:29:43 -02: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
Michael Osborne
2c4a63e180 fix getting state when in remote app mode 2012-03-25 07:02:43 -05:00
Marc-André Moreau
999582ae76 xfreerdp: apply X2GO patch 2012-03-25 07:02:22 -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
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Pawel Jakub Dawidek
b75b5eb8a1 After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -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
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Pawel Jakub Dawidek
19f99d66ba Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.
2012-01-31 16:14:54 +01:00
Bernhard Miklautz
668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
3f01f4fe7f xfreerdp: updated man page 2012-01-16 12:17:50 -05: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
David Sundstrom
88d55493a9 Resolve a race condition between a local move update to the RDP server, GDI orders, and RAIL orders. Previously we could receive new GDI orders for the new window position before we received the RAIL order for the new position. The caused drawing errors.
Also correct some errors in managing the GDI damage region.
2012-01-13 18:08:51 -06:00
Anthony Tong
413190c5e4 xfreerdp: fix win_title string handling from #247 2012-01-13 17:32:14 -05:00
Marc-André Moreau
c7cc745575 libfreerdp-codec: add freerdp_convert_color_var() 2012-01-09 18:45:36 -05:00
Marc-André Moreau
5165399b8c Merge pull request #336 from sunds/master
Inverted GDI when X server has BGR colormap
2012-01-09 15:11:30 -08:00
David Sundstrom
4975267c05 Invert colors went X server uses BGR colormap 2012-01-09 16:08:57 -06:00
David Sundstrom
dcdf1d7a5b Invert rectangle colors when X server uses inverted colors 2012-01-09 15:39:19 -06:00
louyihua
77523cf587 wfreerdp: Fix the crash when 'HOME' env is not defined. Now use 'HOMEDRIVE' and 'HOMEPATH' to combine it if it don't exist. 2012-01-10 05:19:28 +08:00
Marc-André Moreau
ebca5a2de2 xfreerdp: fix glyph background color bug 2012-01-08 19:08:13 -05:00
Norbert Federa
cf3c03c60e xfreerdp: a quick workaround for some issues with TS Remote App.
Currently in Remote App mode we have no option to interact with the
remote desktop host before the first RAIL window is created.

In many situations this interaction possibility is absolutely required.
One example is that screen which gets displayed if another user is logged on.
It requires clicking a button in pre-RAIL mode so that the currently logged
on user gets notified to confirm or deny the connection.

Another example is the option to log on graphically (e.g. for hosts that
don't support NLA) without predefined credentials.

Also if the administrator sets the "User must change password at next logon"
option there is currently no way to do this in TS Remote App mode.

This change basically lets xfreerdp create the main window in Remote App mode
like in a normal session and xfi->remote_app is not set to true initially.

As soon as the rail exec result event or the first rail window creation
request is received (whatever comes first) the main window gets destroyed and
xfi->remote_app is set to true.

The second change is to disconnect immediately if the rail exec result event
reports an error, e.g. if the specified app cannot be found or if it is not
in the list of allowed applications.

This fixes FreeRDP github issue #143 and issue #308.

I'm aware that this is not the most elegant solution but it is definitely an
improvement and probably good enough for 1.0.
A nicer solution would be hiding the main window and only displaying it if
no rail exec result or rail window creation event is received after a certain
timeout ...
2012-01-02 10:27:04 +01:00
Anthony Tong
adfb223133 xfreerdp: fix patblt pixmap leak & quick fix for patblt brush 2011-12-31 16:00:26 -06:00
Marc-André Moreau
845d6ead55 libfreerdp-codec: fix color pointer conversion 2011-12-31 15:23:29 -05:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Vic Lee
522bd24d19 xfreerdp: fix trivial compile warnings. 2011-12-29 21:26:34 +08:00