Commit Graph

74 Commits

Author SHA1 Message Date
Alexander Zakharov
b71d79cdb1 Add support for Kerberos on Mac 2017-10-05 19:45:03 +03:00
Henrik Andersson
6dd85edc6f Rewrite cursor code to use Xcursor
This commit enables support for color cursors with alpha,
however this raises the requirement of libXcursor which is
not such a big deal.

Fixes issue #86 and #21
2017-09-21 16:02:56 +02:00
Henrik Andersson
8586cfc8cb Remove deprecated rdp2vnc
Fixes issue #95
2017-08-14 15:58:48 +02:00
Pierre Ossman
b556651fe1 Use standard GSSAPI rather than libgssglue
That project is abandoned and the distributions aren't including
it anymore.
2017-07-10 15:14:01 +02:00
Henrik Andersson
87d8d123b8 Rework the logging system
This commit will add a logging system to solve the problem that
one actually need to recompile rdesktop from source to enable
different debug logging.

- Same logging api  for all kind of logging and messages to
   end user.

- Adding -v for verbose output when running rdesktop.

- All messages are logged into a subject and with a type, eg:

     logger(Keyboard, Notice, "Autos-electing %s based on locale.", locale);

- Debug logging is enabled trough a environment variable RDEKSTOP_DEBUG,
  which specifies subjects of interest, comma separated. There is a special
  subject named All which includes all subject for debug loggin. There is also
  a simple logic opeartor '!' = NOT which can be used in combination like:

    RDESKTOP_DEBUG=All,!Graphics,!Sound

  Which would give debug log output for All subject except Graphics and Sound.
2017-01-26 14:19:40 +01:00
Peter Åstrand
0db1aeac1f Modern versions of binutils requires that you list all DSOs. libcrypto
normally requires libdl.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1843 423420c4-83ab-492f-b58f-81f9feb106b5
2015-02-10 08:48:58 +00:00
Henrik Andersson
82d8b8fdc6 Bump trunk version to 1.8.3post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1839 423420c4-83ab-492f-b58f-81f9feb106b5
2014-11-03 11:34:49 +00:00
Henrik Andersson
b793a87e6d Updated CHangeLog and bumped version to 1.8.3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1837 423420c4-83ab-492f-b58f-81f9feb106b5
2014-10-31 11:39:04 +00:00
Henrik Andersson
0fe7375197 Bump version to 1.8.2post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1808 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 15:19:07 +00:00
Henrik Andersson
0ac32bd06c Bump version to 1.8.2 and updated ChangeLog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1806 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 14:37:02 +00:00
Henrik Andersson
f000599925 Fix typo.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1798 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-13 14:36:18 +00:00
Henrik Andersson
dfd5611837 Bump version to 1.8.1post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1753 423420c4-83ab-492f-b58f-81f9feb106b5
2013-11-18 08:27:39 +00:00
Henrik Andersson
9d5aa0f4a1 Bump version to 1.8.1
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1751 423420c4-83ab-492f-b58f-81f9feb106b5
2013-11-18 08:22:51 +00:00
Henrik Andersson
0cdc31e651 Typo fixed in configure.ac, fixes bug #374
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1750 423420c4-83ab-492f-b58f-81f9feb106b5
2013-11-18 07:44:05 +00:00
Henrik Andersson
9de4e9eda5 Bump trunk version to 1.8.0post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1727 423420c4-83ab-492f-b58f-81f9feb106b5
2013-08-09 08:55:09 +00:00
Henrik Andersson
d7b1cbb838 Bump version to 1.8.0
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1725 423420c4-83ab-492f-b58f-81f9feb106b5
2013-08-09 08:13:46 +00:00
Henrik Andersson
cd82b65c69 Added --enable-static-gssglue for static link with libgssglue.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1686 423420c4-83ab-492f-b58f-81f9feb106b5
2012-12-03 08:40:47 +00:00
Henrik Andersson
387ec8a6c6 Enable smartcard and credssp feature by default and added
--disable-<feature> for those to disable them.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1677 423420c4-83ab-492f-b58f-81f9feb106b5
2012-11-16 07:51:42 +00:00
Henrik Andersson
51014c91df Initial implementation of kerberos server autentication with CredSSP,
disabled by default and is enabled using argument --enable-credssp
to configure script.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1676 423420c4-83ab-492f-b58f-81f9feb106b5
2012-11-15 11:21:01 +00:00
Henrik Andersson
9e860a2144 Fix order of libraries for static linkage with openssl.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1664 423420c4-83ab-492f-b58f-81f9feb106b5
2012-07-02 11:36:24 +00:00
Henrik Andersson
c44025aa18 Added support for protocol negotiation, this is a part of
adding Enhanced RDP Security support to rdesktop and brings
support for TLSv1 tunnel functionality.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1659 423420c4-83ab-492f-b58f-81f9feb106b5
2012-06-15 05:16:20 +00:00
Henrik Andersson
6f25445792 Bump trunk version to 1.7.1post.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1656 423420c4-83ab-492f-b58f-81f9feb106b5
2012-01-09 13:09:37 +00:00
Henrik Andersson
72610f5b01 Bump up version to 1.7.1, updated ChangeLog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1654 423420c4-83ab-492f-b58f-81f9feb106b5
2012-01-09 12:29:39 +00:00
Henrik Andersson
30add51c93 Fixed some 64bit issues with openssl linkage.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1652 423420c4-83ab-492f-b58f-81f9feb106b5
2011-12-21 15:14:25 +00:00
Pierre Ossman
25d2d69f63 pkg-config can have cross-compiler variants.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1632 423420c4-83ab-492f-b58f-81f9feb106b5
2011-08-24 15:09:18 +00:00
Pierre Ossman
5274e765af Clean up the static linking of openssl and libsamplerate. We should now do
the bare minimum in most of the cases.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1631 423420c4-83ab-492f-b58f-81f9feb106b5
2011-08-24 15:08:41 +00:00
Peter Åstrand
ad99e08bcc Bumped up version to 1.7.0post.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1629 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-18 12:34:10 +00:00
Peter Åstrand
d3ae1f0b8a Bump up version to 1.7.0, updated ChangeLog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1627 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-18 11:26:27 +00:00
Peter Åstrand
6ee9faeffc Added RandR support: If the specified geometry depends on the screen
size, and the screen size is changed, rdesktop will automatically
reconnect using the new screen size. This feature uses the previously
implemented autoreconnect feature. 

The new UI function ui_seamless_end() has been introduced, to make it
possible to resize in seamless mode as well. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1556 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-20 09:59:47 +00:00
Peter Åstrand
058ee33be3 Clean up and document the return values. Trying to solve a number of issues:
* The current return values have been selected pretty much without any
thought. Basically, the value 1 is used for all different kinds of
errors, except for a corner case where the server doesn't send a
RDP_PDU_DEACTIVATE in combination with a few special "reasons", where
the value 2 is used instead.

* rdesktop will currently also return with 2 if the user is closing
the rdesktop window, the same error as many other fatal errors, which
is somewhat strange.

* The main principle of my patch is to utilize more of the available
256 return codes. We are currently only using 3 values out of
256. This is bad; rdesktop should expose more information to the
caller about error conditions if it can.

Besides using the standardized exit codes for generic errors such as
EX_USAGE for command line usage errors, I've also exposed the
"extended disconnect reasons" from RDP. This allows for, for example,
to be able to distinguish between a logoff and a disconnect.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1510 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-02 13:03:43 +00:00
Peter Åstrand
be2812888f Applied patch by Enrico Scholz:
autoconf: renamed socklen_t_equiv to socklen_t_ac_equiv - ID: 2624071



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1506 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-26 12:34:04 +00:00
Matt Chapman
b25d176fe1 Bump version number in preparation for release.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1464 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 06:15:45 +00:00
Matt Chapman
b60949987c Improve experience for new users - provide more intelligent errors when
X11 or OpenSSL headers are missing, and clarify README


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1424 423420c4-83ab-492f-b58f-81f9feb106b5
2008-01-05 05:35:56 +00:00
Michael Gernoth
27c360df03 really check for version of pcsclite in configure.ac
this fixes the smartcard-support on OS X 10.5


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1419 423420c4-83ab-492f-b58f-81f9feb106b5
2007-10-28 16:49:45 +00:00
Pierre Ossman
d201361d53 Control seamless debug output via configure.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1409 423420c4-83ab-492f-b58f-81f9feb106b5
2007-06-13 14:53:32 +00:00
Pierre Ossman
da0172306d Add configure flag for sound debug messages.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1335 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 12:12:37 +00:00
Michael Gernoth
a520715f00 Don't depend on pkg-config during bootstrap
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1334 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-15 09:15:36 +00:00
Michael Gernoth
598af83615 set PKG_CONFIG if there is a pkg-config executable in the path
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1330 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-06 22:42:34 +00:00
Michael Gernoth
157b97643b Add compatibility with older autoconf versions
PKG_PROG_PKG_CONFIG is done implicitly by autoconf, so no need to
call it manually. (It is not defined in old versions)
Thanks to Jennings Jared for noting


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1323 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 16:44:40 +00:00
Michael Gernoth
24680f4f8d clean up smartcard debugging
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1318 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 20:48:28 +00:00
Michael Gernoth
ae67d3e759 Add smartcard support for mac os x
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1310 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 21:23:08 +00:00
Michael Gernoth
f37c871e8b Smartcard support by Alexi Volkov <alexi@pravex.kiev.ua> and additional
patches for smartcard-support by Jennings Jared <jared.jennings.ctr@eglin.af.mil>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1308 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 20:52:01 +00:00
Peter Åstrand
577fed6a25 libsamplerate requires libm
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1306 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-30 09:01:01 +00:00
Peter Åstrand
227fad6d96 Define WITH_RDPSND when using sound
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1300 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-21 06:36:49 +00:00
Peter Åstrand
212d1e57b0 Corrected pkgconfig check for libsamplerate
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1296 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-18 05:12:30 +00:00
Peter Åstrand
05c587ef64 Using pkgconfig for optional packages: libao, libsamplerate, and ALSA. New option: --enable-static-libsamplerate
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1295 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-16 12:23:13 +00:00
Michael Gernoth
cf46d01317 add missing space in libsamplerate description
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1279 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 14:05:15 +00:00
Michael Gernoth
8129a2d373 use libsamplerate for resampling when available
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1277 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 13:57:34 +00:00
Michael Gernoth
76459e4005 add software volume control (currently only for libao but will be
used for alsa, too)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1257 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 14:41:16 +00:00
Michael Gernoth
99afd6a9f1 fix SunCC errors/warnings and configure-variable-usage (LIBS/LDFLAGS)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1255 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 11:42:22 +00:00