Commit Graph

1811 Commits

Author SHA1 Message Date
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
Michael Gernoth
990ff5b3a7 configure-test for NEED_ALIGNMENT
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@681 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-27 09:13:50 +00:00
Michael Gernoth
725d22c54d Only do the memcpy if NEED_ALIGNMENT is defined
TODO: configure-test which defines it


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@680 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-27 09:04:42 +00:00
Jay Sorg
f0fb055450 only do stipple ops on backingstore when possible
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@679 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:14:07 +00:00
Jay Sorg
7e650f8a49 unroll the bits in translate8to16/32
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@678 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:00:25 +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
e00ebcf952 Added link to http://dev.remotenetworktechnology.com/refdata.htm.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@674 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-20 06:58:03 +00:00
Peter Åstrand
c25c816370 When checking for bad filedescriptors, need to explicitly check for EBADF
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@673 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-19 09:21:25 +00:00
Peter Åstrand
2df54194b1 rdpdr_add_fds: Corrected patch that prevents adding invalid FDs to the
select FD sets.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@672 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-19 08:24:54 +00:00
Peter Åstrand
ac166d9439 Updated with reality; many RDP5 features already implemented.
Added many other things that needs to be done.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@671 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-18 19:59:22 +00:00
Peter Åstrand
8e240c8448 Removed "Future"; the syntax is quite current.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@670 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-18 19:52:19 +00:00
Peter Åstrand
08760f441b Including files licensing.txt, patches.txt and redirection.txt in distribution.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@669 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-18 19:37:53 +00:00
Peter Åstrand
7b509a29db Uncommented variables for uncommented code.
Fixes GCC warnings.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@668 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-18 19:16:51 +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
cf75b04b79 Updated prototypes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@666 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:32:52 +00:00
Peter Åstrand
25aa4dce8b Removed last newline.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@665 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:28:30 +00:00
Peter Åstrand
7bd9d6e162 Made internal functions static.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@664 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:24:22 +00:00
Peter Åstrand
86da022558 Made internal functions static.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@663 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:14:41 +00:00
Peter Åstrand
cb4b27a5e6 Made internal functions static.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@662 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 06:58:30 +00:00
Peter Åstrand
0cc7e8346d Make sure iorq->fd is a valid FD before adding it to the FD_SET.
Prevents endless loops with "select: Bad file descriptor" error
messages.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@661 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 14:04:02 +00:00
Peter Åstrand
b5e04dd98a FileEndOfFileInformation actually calls ftrunc().
FileAllocationInformation falls through to FileEndOfFileInformation.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@660 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 13:03:13 +00:00
Peter Åstrand
12a5e0d016 Implemented "dummy" IRP_MJ_LOCK_CONTROL,
which always returns STATUS_SUCCESS. Should
make it possible to load/save files from MS Office.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@659 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 12:20:56 +00:00
Peter Åstrand
e1f84d5ef1 Notes on FileDispositionInformation. Closing before unlinking
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@658 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 11:37:24 +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
Peter Åstrand
d017f799ea Added copyright header and links to IRP resources.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@656 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 11:28:34 +00:00
Peter Åstrand
fdeef97886 The enum FILE_INFORMATION_CLASS was a bit wrong,
it seems. Using the definition from
http://win32.mvps.org/ntfs/streams.cpp instead.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@655 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 11:10:12 +00:00
Michael Gernoth
cd91125060 unaligned memory-access leads to bus-error on some architectures.
memcpy the value instead of a direct assignment


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@654 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-16 09:11:03 +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
Peter Åstrand
acbe93c9a8 Added FILE_INFORMATION_CLASS and FS_INFORMATION_CLASS enums to disk.h. Using these in disk.c, instead of hardcoded numbers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@652 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:53:32 +00:00
Peter Åstrand
ba9ac416f6 Moved disk #defs to disk.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@651 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:42:19 +00:00
Peter Åstrand
eb4245b24c Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@650 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:12:42 +00:00
Peter Åstrand
7aa2393028 Removed duplicat IRP_MJ defs. Added def for IRP_MJ_LOCK_CONTROL
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@649 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:11:19 +00:00
Jay Sorg
d7be980dbb only check Bpp once when decompressing a bitmap, not for each pixel, much faster
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@648 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 17:28:30 +00:00
Michael Gernoth
95d2f76a30 rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@647 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-10 09:34:52 +00:00
Peter Åstrand
5441fc026a Shouldn't use mid-function var decls
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@646 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-05 19:23:08 +00:00
Erik Forsberg
fd67245798 Made it possible to set the client name displayed to the right of the
redirected disks (in Windows explorer) using -r:clientname=<client name>.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@645 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-02 15:34:38 +00:00
Jay Sorg
c3defe8dd7 return data only if 15 or 16 bbp in translate_image
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@644 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-29 13:59:03 +00:00
Jay Sorg
b6300628f5 if rdp server and client bpp match and architectures match, don't translate image
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@643 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-25 22:58:45 +00:00
Jay Sorg
910b8094a0 only check g_xserver_be once in translate8toXX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@642 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-24 18:16:58 +00:00
Matt Chapman
bfeb1f403a Annotate the T.124 bits.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@641 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-18 02:32:00 +00:00
Peter Åstrand
de417f019c Applied patch #830756
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@640 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-17 20:02:12 +00:00
Peter Åstrand
d30ae69a45 Added Estonian keymap (#871638)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@639 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-17 19:59:13 +00:00
Peter Åstrand
f37520df4b Added Icelandic keymap (#918074)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@638 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-17 19:54:09 +00:00
Peter Åstrand
43cf714cfe Duca means Ducati.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@637 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-17 14:11:08 +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
Michael Gernoth
697f58a48a XEmbed-patch by Arend van Beelen jr. <arend@auton.nl>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@635 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-13 12:08:18 +00:00
Peter Kallden
0fa8eb2b0d update the -r sound documentation
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@634 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-10 07:39:49 +00:00
Michael Gernoth
7c01009a88 Make it possible to select the audio-output for configure
There are some-systems which have both header files installed...


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@633 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-09 22:50:16 +00:00