Commit Graph

46 Commits

Author SHA1 Message Date
Matt Chapman
d3e6c1a157 Preliminary sound support (PCM only).
Based on code from GuoJunBo <guojunbo@ict.ac.cn>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@473 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-30 09:11:08 +00:00
Peter Åstrand
d9019bc77b Kbd fix: Shift was always reset after press
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@469 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-15 08:03:30 +00:00
Peter Åstrand
f1b2453d79 Ran make proto.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@459 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-02 09:37:39 +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
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
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
Matt Chapman
2c32c1ec3a Eliminate previous ugly hack for RDP5 packets, in order to make it work
with low encryption.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@422 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-17 08:44:32 +00:00
Erik Forsberg
1acb6ff29c Added function definitions from channels.c, cliprdr.c and secure.c.
Reflected internal API changes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@404 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 10:42:21 +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
77fe394b6d iso_connect, mcs_connect and sec_connect now takes a username as an argument.
mcs_recv fills in a channel id in a pointer argument.

process_orders takes the number of orders as an argument instead of figuring it out itself.

Exported process_bitmap_updates and process_palette and sec_decrypt
as non-static functions.

New public functions: process_colour_pointer_pdu (rdp.c),
                      process_cached_pointer_pdu (rdp.c),
                      process_null_system_pointer_pdu (rdp.c),
		      rdp5_process (rdp5.c),
		      rdp5_process_channel (rdp5.c)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@352 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-27 13:33:16 +00:00
Peter Åstrand
5ab5ba17eb Moved save_licence/load_licence back to rdesktop.c
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@324 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-11 11:31:04 +00:00
Peter Åstrand
655fb072b3 Updated prototypes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@321 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 13:08:25 +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
Matt Chapman
01be712432 Add a warning function, change some errors to warnings, improve a
couple of error messages (not sure whether scewed was meant to be skewed
or screwed :))


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@296 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-28 12:27:28 +00:00
Peter Åstrand
aa8d6482b2 Applied WM-kill patch from Matthew Riechers (slightly modified
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@274 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 14:48:02 +00:00
Peter Åstrand
daf1ac6752 Support for extended WM hint _NET_WORKAREA, via -g workarea
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@262 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 18:12:49 +00:00
Peter Åstrand
a3ef98f0b1 Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@258 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:30:12 +00:00
Matt Chapman
8b98bdc4ae Arguments to get_key_state the wrong way around.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@208 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-02 13:51:16 +00:00
Matt Chapman
b46de1c760 Optimise get_key_state by caching the modifier map and the state
(this can probably still be improved in the future).
Only call time(NULL) for the events where it's needed.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@202 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:04:30 +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
Matt Chapman
4eb19aceb1 Rewrite of toggle_fullscreen so it modifies the attributes of the existing
window instead of creating a new one.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@122 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 13:47:24 +00:00
Matt Chapman
6d5e7121b7 Move non-window-related initialisation to ui_init.
All functions after ui_init can now assume display and other globals are valid.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@120 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:48:44 +00:00
Peter Åstrand
7e7527302c Support for Windows keys (via Ctrl-Esc)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@117 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:45:20 +00:00
Peter Åstrand
32d5382f9d Alt modifier for fullscreen toggle
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@101 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:14:04 +00:00
Jay Sorg
a7c00fc2e6 toggle full screen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@99 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-24 20:04:56 +00:00
Peter Åstrand
4589a877f0 Added -P parameter: Get password from external program (likeSSH_ASKPASS)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@95 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-09 09:11:01 +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
df8c2e47ce Added "localstate" support to keymapping: Send local modifier state. This fixes problems with Shift-Home etc
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@68 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-27 22:35:38 +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
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
458b59d85b The 128-bit change broke licensing when used with 40-bit encryption
(sec_sign is also used from licence.c).  Fix from Lars Heete.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@60 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-14 12:06:03 +00:00
Matt Chapman
0f0d2643f2 There is an extended key flag that we should be setting for extended keys.
(Originally fixed by Ben McKeegan <Ben.McKeegan@fitz.cam.ac.uk>)

Ran make proto.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@49 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-20 09:41:03 +00:00
Matt Chapman
3ea5e25643 Code to save and load licence (not quite working yet - server still seems
to reissue the licence).
Small clean-up in xkeymap.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@38 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-05 07:57:43 +00:00
Matt Chapman
e867eb6fd1 Add a ui_select to xwin.c to reduce latency.
Remove extraneous error messages - only report at lowest level.
Endianness and IRIX compile fixes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@32 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 12:34:34 +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
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
71830eeb65 Respect x offset in font information.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@19 423420c4-83ab-492f-b58f-81f9feb106b5
2000-10-16 07:37:52 +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
f032bc75af Added specific handler for triblt opcode 0x69 (used by Microsoft Word),
and fixed a typo in the default handler.
Fixed implementation of desktop cache code, which was sometimes
overlapping saves.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@15 423420c4-83ab-492f-b58f-81f9feb106b5
2000-09-28 07:04:14 +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