Commit Graph

56 Commits

Author SHA1 Message Date
Peter Åstrand
374b8aeba0 Applied disconnect handling patch from Jeroen Meijer
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@675 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-20 07:01:21 +00:00
Peter Åstrand
b95b322192 Variables for uncommented code now uncommented as well. Fixes
"unused variable" warnings from GCC.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@667 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:37:07 +00:00
Peter Åstrand
68988c506a Small indent fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@657 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 11:36:29 +00:00
Jay Sorg
64bb8d7e46 move color fallback from process_bitmap_updates to process_demand_active
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@653 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 22:03:24 +00:00
Michael Gernoth
b9145c2384 RDP5 Experience patch by Jeroen Meijer <jeroen@oldambt7.com>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@636 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-15 14:49:12 +00:00
Peter Kallden
256039d50a get real ip address, or lp if not avail - volker milde, also part of rdp compression within ifdef 0 from uni patches
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@623 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:11:40 +00:00
Michael Gernoth
dcc2c90f89 Timezone patch from Mark Roach/Stephen Sprunk
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@603 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 19:30:01 +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
Michael Gernoth
d3264ba4f6 Hopefully portable timezone implementation by Johan Larsson
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@561 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-11 17:20:01 +00:00
Michael Gernoth
4cc35816cb Removed timezone stuff, due to too much portability problems...
Will solve this later
Portability "fix" for rdpsnd_sun.c on openbsd


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@558 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-11 12:25:38 +00:00
Michael Gernoth
c24a3ace62 Timezone patch by Mark Roach
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@553 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-09 09:57:44 +00:00
Peter Åstrand
ee9d0add63 Re-worked numlock handling: Keeping remote numlock state in sync with local state
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@542 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 13:33:35 +00:00
Peter Åstrand
6dbb270f2f Replaced C++ comments with C-style
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@539 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 20:34:26 +00:00
Peter Åstrand
ed2d6084ed Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@531 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 14:14:46 +00:00
Matt Chapman
c59e388bd5 Don't complain about data PDU 47 - seems to be normal when disconnecting
from a console session on XP and 2003.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@521 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 04:18:00 +00:00
Matt Chapman
497c97abbb Hack to detect server-limited colour depth
(from neoware)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@517 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 03:37:44 +00:00
Matt Chapman
083082f23b Reinstate hexdump for WITH_DEBUG.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@512 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 01:44:48 +00:00
Peter Åstrand
0affa3f3ff Applied null cursor patch from jeroen@oldambt7.com
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@507 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-22 10:55:11 +00:00
Jay Sorg
d49e190f92 more g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@437 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-01 17:01:58 +00:00
Jay Sorg
de7a67cd41 preceeded more global vars with g_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@436 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-28 21:41:12 +00:00
Jay Sorg
694bd388a4 use sizeof instead of hardcoded struct size in colour cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@435 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-28 18:13:30 +00:00
Peter Åstrand
7ff54cdd90 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@434 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-09 09:18:20 +00:00
Jay Sorg
881a9cffcb enabled memblt for 15+ server color depth
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@432 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-02 22:02:23 +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
9231b642e8 Detection of unclean disconnect turned out not to work on W2K3 Server. Doh!
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@425 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-19 11:46:30 +00:00
Erik Forsberg
5e323ca0d3 Make rdesktop return 0 only if a RDP_PDU_DISCONNECT was received,
otherwise return 2 (except for usage errors, where it still returns
1).

Documented exit codes of rdesktop in doc/exit_codes.txt.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@423 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-19 07:29:53 +00:00
Erik Forsberg
8da3b51a70 Indentation/syntax changes after running indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@409 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 10:47:34 +00:00
Jay Sorg
63c4677522 adding g_ prefix to global vars, mcs.c done
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@380 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-30 21:59:56 +00:00
Jay Sorg
70de4fa1f9 changes so it compiles with g++(mainly for ports)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@375 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-19 21:36:33 +00:00
Erik Forsberg
2ea96995a7 Hopefully got the RDP5 Logon packet working.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@370 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-05 12:20:53 +00:00
Erik Forsberg
daae991607 Fix bug that caused auto-logon not to work.
This is however just a fix for the case when you're running RDP4. The RDP5
code is still buggy.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@368 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-22 15:48:56 +00:00
Matt Chapman
33ee95a206 Fix some instances of out_uint{16|32} with non-zero value (should be
out_uint{16|32}_{le|be}


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@364 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 08:19:15 +00:00
Erik Forsberg
a20dd37798 Send different logon packets based on if we try to support RDP5 or not. The
order of the data is slightly different in RDP5.

Moved pointer PDU handling to their own functions, since RDP5 no longer
encapsulates ColorPointer and CachedPointer in a PDU with a type field.

Made debug output when doing Bitmap updates clearer. Also added debug
printout when bitmap compression failed.

Added code that checks for a new way of sending the size of the compressed
bitmaps. Code imported from Matt's RDP5 adventures :).

Debug output when doing Palette updates in order to make it easier to follow
packets.

Fetch the number of orders here instead of in process_orders and send it
along to that function as an argument.

Send the username to sec_connect.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@350 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-27 13:22:29 +00:00
Erik Forsberg
f6520423f4 If WITH_DEBUG, print the number of the packet just received, which makes
it easier to follow the packet on the network.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@339 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-06 14:11:17 +00:00
Peter Åstrand
0f0bb5f281 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@317 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 12:58:51 +00:00
Jay Sorg
c50d176caf one bitmap decomp function to handle all colour depths
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@313 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-07 23:43:37 +00:00
Jay Sorg
4b26f4fc6b 16bit
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@308 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-04 05:32:13 +00:00
Jay Sorg
580b48bfbc fix for 32k packets that are really 8
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@282 423420c4-83ab-492f-b58f-81f9feb106b5
2002-12-10 17:24:27 +00:00
Peter Åstrand
9bd9507a90 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@259 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:31:19 +00:00
Matt Chapman
280a1d5289 Fix for bad colours on ARM (found by Ken Gordon) - we can't assume that
the representation of a COLOURENTRY array is the same as on the wire.
Copy method of process_colcache to process_palette.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@253 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-05 11:22:20 +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
5514330916 foo function() -> foo function(void) to conform to ANSI C.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@191 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:59:14 +00:00
Peter Kallden
7e00abf141 some BE fixes - without these rdesktop wont run on IBM AIX - such as RS6000 PowerPC
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@175 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:55:03 +00:00
Matt Chapman
0b010de477 Reenable bitmap caching (inadvertantly disabled by a patch in 1.1.0)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@160 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:46:41 +00:00
Peter Åstrand
4f8b0bc47a Changed max line length to 100
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@81 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:18:48 +00:00
Peter Åstrand
0685b1b65c Fixed indentation with indent
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@63 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 16:38:31 +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
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
75717d8ab6 Changed indentation style (-psl).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@24 423420c4-83ab-492f-b58f-81f9feb106b5
2001-01-06 03:47:04 +00:00
Matt Chapman
b9613445f9 ran indent (-bli0 -i8 -cli8 -npcs -npsl)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@23 423420c4-83ab-492f-b58f-81f9feb106b5
2001-01-06 03:12:10 +00:00