Commit Graph

1391 Commits

Author SHA1 Message Date
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
Michael Gernoth
1e9b0883e5 remove old syntax
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@632 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-05 09:37:54 +00:00
Michael Gernoth
7becf22dce build on non-linux again
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@631 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-05 09:36:49 +00:00
Peter Kallden
1b6ced7cf4 zero handle at init.
better error handling
add paper status - volker milde


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@630 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-05 06:48:08 +00:00
Peter Kallden
1e75df64c2 change to -r sound:local instead of -r sound:on
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@629 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-05 06:39:00 +00:00
Peter Kallden
5d12c1d588 make -r sound behave as the other -r switches, but keep backward compatibility i.e. "-r sound" still does the same
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@628 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 13:23:23 +00:00
Peter Kallden
6d63bda2e7 leave sound on server -r sound:remote thanks to cbquillen for finding out.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@627 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 12:43:10 +00:00
Peter Kallden
351edec7e5 move disk info define to types.h
extract aio remove
handle errors in aio read / write
function that checks if handle is ok - seems windows cant keep track of them huh
- volker milde


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@626 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:24:40 +00:00
Peter Kallden
b754bba21c dirent needed in this file to be able to move disk struct into types.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@625 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:23:17 +00:00
Peter Kallden
4e41a6f2ea get address function from volker milde
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@624 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:14:00 +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
Peter Kallden
09e90b4ee9 error handling - dont segfault when handle already closed upon closing - volker milde
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@622 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:08:13 +00:00
Peter Kallden
737e8756fb error handling, rts, figured out modemstatus and some constants - volker milde
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@621 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 08:01:07 +00:00
Peter Kallden
d834c8efb8 adding some constants and sorting them
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@620 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 07:57:02 +00:00
Peter Åstrand
a9bd98563c Sometimes, the boxcx value is something really large, like 32691. This
makes XCopyArea fail with Xvnc. If boxcx is this large, reset to
g_width - boxx.

(The reason why boxcx is strange is that os->boxright is strange. I
have no idea what's causing this, though.)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@619 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:46:35 +00:00
Peter Åstrand
56c429de0c Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@618 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:41:53 +00:00
Michael Gernoth
1d915dcef0 mntent on solaris is different than on linux.
Need to port it when I have more time...
Disable it on solaris for the time being


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@617 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-28 10:52:29 +00:00
Jay Sorg
7592155f8d optimize split_colour15 and 16
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@616 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-25 18:28:52 +00:00
Peter Kallden
8afecde6e6 a bad diff by me in disk.c 1.13 - 1.14 this is where the code should be, thanks for the correction volker
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@615 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-24 15:24:38 +00:00
Peter Kallden
b8f371e2e1 get volume label for vfat and iso fs, requires mntent, did some ifdefs around the code, and we need a better name for the function anyone?
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@614 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 13:35:50 +00:00
Peter Kallden
ca4443a76e linklist memfree bugfix - volker milde
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@613 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 12:07:30 +00:00