Commit Graph

46 Commits

Author SHA1 Message Date
Peter Åstrand
281d7c9f06 Changed license to GPLv3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +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
Jay Sorg
88855ddcbf update the copyright year
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1474 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:51:23 +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
Jay Sorg
8858d29b40 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1365 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 06:37:57 +00:00
Jay Sorg
b670bdacfa RD_ prefix and win32 compatibility for core files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +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
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
Peter Åstrand
becc2bda9e Bumped up version to 1.5.0
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1250 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-13 12:10:14 +00:00
Pierre Ossman
9fb01276f2 Give virtual channel debug output its own switch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1195 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-24 15:34:32 +00:00
Pierre Ossman
470048795d indent-all
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1179 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-21 15:16:48 +00:00
Peter Åstrand
68ceebd8e0 Removed WITH_DEBUG_SEAMLESS.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1172 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 16:10:33 +00:00
Peter Åstrand
2e7aa4b8b4 Send back our local positions upon changes, but only after a small timeout.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1156 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 12:39:09 +00:00
Peter Åstrand
f756bec8c3 SETSTATE is not two ops: TITLE and STATE
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1093 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 10:40:50 +00:00
Michael Gernoth
45d0bff6d8 Globally include limits.h for PATH_MAX, as this is used in types.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@979 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-15 12:06:59 +00:00
Michael Gernoth
04818ca41e bump version to 1.4.1
add some entries to TODO


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@902 423420c4-83ab-492f-b58f-81f9feb106b5
2005-05-08 17:57:12 +00:00
Jay Sorg
3921776285 another x86 define
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@877 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-03 05:41:04 +00:00
Jay Sorg
5d691e4180 another x86 define
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@853 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 08:10:30 +00:00
Michael Gernoth
d37d8bd663 whitelist for NEED_ALIGN
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@841 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-09 22:41:12 +00:00
Michael Gernoth
ec643e4718 bump version to 1.4.0
change year in files
add missing docu for updated commandline-flags
update changelog


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@827 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-06 21:11:18 +00:00
Michael Gernoth
914e383344 temporary alpha-fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@825 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-02 17:38:26 +00:00
Michael Gernoth
7e432258e6 *BSD fixes (tested with OpenBSD)
No more need to include anything in proto.h on BSDs


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@798 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-06 17:27:45 +00:00
Michael Gernoth
14ad61708f Fixes for HP/UX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@797 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-06 15:29:38 +00:00
Michael Gernoth
03839c4f06 include <sys/select.h> for freebsd. From Huang Yushuo <huangys@xynetsoft.com>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@755 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-24 21:37:50 +00:00
Michael Gernoth
d94956c179 configure-check for endianess and fallback in rdesktop.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@691 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-07 04:56:09 +00:00
Peter Kallden
b754bba21c dirent needed in this file to be able to move disk struct into types.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@625 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:23:17 +00:00
Peter Kallden
a61eac7b19 redirection of disk, lptport, printer, comport.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@568 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 14:40:40 +00:00
Matt Chapman
f76ace37f2 Bump version number to 1.3.1.
Fix spelling: syncronization -> synchronisation (synchronization would be
okay too, but I use the Australian/British spelling :))


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@566 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 11:08:39 +00:00
Matt Chapman
826ceb5d4a Fix compile warnings on HP-UX.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@535 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 04:29:57 +00:00
Matt Chapman
d9d8a266b0 Bump version number.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@524 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 06:31:30 +00:00
Matt Chapman
5b9286e6ea Commit of work in progress on channels (so that other people can hack on
RDPSND), in particular:
* channel layer takes care of virtual channel header
* split X dependent parts out of CLIPRDR, simplified IPC implementation
* initial RDPDR implementation


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@431 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-01 09:31:25 +00:00
Erik Forsberg
ea00031d43 Definition of DEBUG_CLIPBOARD.
Definition of rdp5_channel.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@405 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 10:43:01 +00:00
Erik Forsberg
4ccf5a9387 Defined a DEBUG_RDP5 macro for selective debugging during the RDP5 integration process.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@340 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-06 15:36:28 +00:00
Matt Chapman
10684a8a81 Bump version to 1.2.0, update manpage.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@293 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-22 08:10:11 +00:00
Peter Åstrand
f03b756f48 Bumped up version to 1.2beta1
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@275 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 15:02:17 +00:00
Matt Chapman
b120a50f44 Update copyright dates on all files that have changed.
Bump version to 1.2-cvs.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Matt Chapman
d2b051fb30 Make no translation messages DEBUG_KBD.
Clean up includes, fix a few compile warnings, avoid rdesktop.h depending
on X (at the expense of KeySym -> uint32 - maybe in the future we need a
better proto scheme).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@189 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:33:17 +00:00
Peter Åstrand
6d144afb8c Got rid of var-arg macros
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@83 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:30:12 +00:00
Peter Åstrand
6063a29f3b make the using of variable
arguments to function-type macros consistent with the C99 standard


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@70 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 08:10:11 +00:00
Peter Åstrand
2dd151bd20 Merged new keysym-based keyboard handling (from alt. CVS repos)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@65 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 18:28:12 +00:00
Matt Chapman
24ea31f68a Portability fixes, including elimination of variable argument macros.
Rudimentary configure script.
Miscellaneous cleanups.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@29 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-14 13:51:38 +00:00
Matt Chapman
a42509f2e5 Major cleanups, particularly in X code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@28 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-14 03:38:39 +00:00
Matt Chapman
b5082af223 Merges from pl19-6-5.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@27 423420c4-83ab-492f-b58f-81f9feb106b5
2001-06-20 13:54:48 +00:00
Matt Chapman
6585bc027f Added a number of command line options including autologon.
Inverted sense of -m (the default is now to send mouse move events).
Preparing for release of 1.0.0.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@20 423420c4-83ab-492f-b58f-81f9feb106b5
2000-10-16 08:44:48 +00:00
Matt Chapman
7c41cdc1d0 Fixes (?) for font problems with Microsoft Office
Added URL to website http://www.rdesktop.org/
Releasing 0.9.0-alpha2


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@16 423420c4-83ab-492f-b58f-81f9feb106b5
2000-09-28 15:54:11 +00:00
Matt Chapman
cd9b5a8761 Major commit of work from laptop - done in various free moments.
Implemented encryption layer and some basic licensing negotiation.
Reorganised code somewhat. While this is not quite as clean, it is
a lot faster - our parser speed was becoming a bottle-neck.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@9 423420c4-83ab-492f-b58f-81f9feb106b5
2000-08-15 10:23:24 +00:00