Commit Graph

36 Commits

Author SHA1 Message Date
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
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
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
Matt Chapman
e11a571f14 Committing some awesome progress I made while overseas - this commit
really embodies a huge number of changes. We are now able to talk quite
fluently to a French NT Terminal Server - in normal usage only minor
font issues remain (handling of TEXT2 order is not perfect).

The next major hurdle is encryption, and it will be quite a big hurdle
- there seems to be some quite nasty session key stuff.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@8 423420c4-83ab-492f-b58f-81f9feb106b5
2000-07-25 12:34:29 +00:00
Matt Chapman
26d316fec0 Miscellaneous updates: implemented some more protocol features including
colour maps. Started on a new bitmap decompression engine which is not
completely working yet - however I am going back on the road so I am
committing now.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@6 423420c4-83ab-492f-b58f-81f9feb106b5
2000-07-07 09:40:03 +00:00
Matt Chapman
72da43c808 Started hacking on an X-Windows (Xlib) interface.
Currently pops up a window and displays bitmaps it sees side by side.
Next step is to go back to the protocol and interpret the surrounding data
stream.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@5 423420c4-83ab-492f-b58f-81f9feb106b5
2000-07-05 07:44:21 +00:00
Matt Chapman
34f82f3e18 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@3 423420c4-83ab-492f-b58f-81f9feb106b5
2000-05-10 07:36:34 +00:00