Commit Graph

1927 Commits

Author SHA1 Message Date
Matt Chapman
80ef1df3b3 Document differences between RDP encryption and SSLv3, and bring some
of the terminology in line with the SSLv3 specification.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@698 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-16 11:18:20 +00:00
Peter Åstrand
fbd632d425 Bugfix: When a broken symlink was found in a directory, the
directory list operation was aborted. This lead to empty directories,
or directories with too few entries.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@697 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 13:52:22 +00:00
Peter Åstrand
efef8750a8 Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@696 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 13:45:57 +00:00
Peter Åstrand
70653e3d71 Using constant FileBothDirectoryInformation instead of
hardcoded value 3. Added FIXME for other return types.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@695 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 12:46:39 +00:00
Michael Gernoth
d48204c9c3 fix compiler warning/error "a cast does not yield a lvalue"
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@694 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 07:34:03 +00:00
Michael Gernoth
8308616779 use ifdef to see if we are big-endian
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@693 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-07 12:01:53 +00:00
Michael Gernoth
af00e0305b Speedup fixes on all architectures from Jay
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@692 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-07 04:57:39 +00:00
Michael Gernoth
d94956c179 configure-check for endianess and fallback in rdesktop.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@691 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-07 04:56:09 +00:00
Peter Åstrand
581acea28a Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@690 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-06 08:17:47 +00:00
Peter Åstrand
eefe7d5f43 Added FIXME for ftruncate on FAT.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@689 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-06 08:17:14 +00:00
Peter Kallden
fce6f415b3 patent - LZS. MPPC decompress is OK according to Guus Dhaeze <GDHaeze at hifn dot com>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@688 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-04 09:48:45 +00:00
Jay Sorg
7c346510aa speed up screenblt if screen is unobscured
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@687 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-30 19:14:15 +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
Michael Gernoth
aa8d0a2e9f Fix compilation on hp/ux
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@685 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-29 19:41:49 +00:00
Michael Gernoth
ab3dde972b Fix compilation without sound
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@684 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-29 19:40:40 +00:00
Peter Kallden
519d85c1cf contains mppc decompression code
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@683 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-27 13:05:32 +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
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