Jay Sorg
7f5acf5e64
added option for rdp compression
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@772 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-11 22:57:42 +00:00
Peter Åstrand
dc156f8fcd
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@737 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-12 21:07:39 +00:00
Jay Sorg
125922c748
bring the rdp5 packets through the various layers
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@732 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-05 19:09:07 +00:00
Jay Sorg
e2e2ff88aa
a few fixes for PBC from Jeroen
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@729 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-29 16:22:41 +00:00
Jay Sorg
7f836f0384
added persistant bitmap chaching from Jeroen Meijer, slightly modified
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@724 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 17:51:54 +00:00
Peter Åstrand
d80c5d4d7b
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@716 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-17 09:42:58 +00:00
Jay Sorg
2942c88808
added ui_begin/end_update and rdp_loop for ports
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@712 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-16 03:08:55 +00:00
Jay Sorg
772bdd5628
changes to compile with g++
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@710 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-15 22:45:12 +00:00
Jay Sorg
312035fd20
warnings when screen size of depth change and backstore resizeing when screen size changes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@707 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-04 15:01:36 +00:00
Peter Kallden
ecdd66ff04
rdp5 decompression, but only <= 8-bit depth.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@686 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-30 06:18:08 +00:00
Peter Kallden
5db5d38a46
mppc like decompression for the rdp protocol. code not activated. rdp5 gets some extra opcodes, and the decompression seems to work fine. :\
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@682 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-27 12:55:33 +00:00
Jay Sorg
da391278ec
fix the -b switch
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@677 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 22:31:22 +00:00
Peter Kallden
5cfce0a406
new: ui_resize_window() and related, which is used when resizing while shadowing. And fallback for color when connecting to a session with fewer colors than you have set in your session. Jeroen Meijer jeroen@oldambt7.com
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@676 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 13:48:39 +00:00
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