Commit Graph

37 Commits

Author SHA1 Message Date
Jay Sorg
c0651b51a1 change HANDLE to NTHANDLE to avoid conflics
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@775 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-02 01:30:33 +00:00
Michael Gernoth
65a649565d Applied serial-fixes from Huang Yushuo <huangys@xynetsoft.com>
Tested connection with ZOC and HyperTerm on Windows


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@754 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-24 21:37:25 +00:00
Peter Åstrand
60704a5c00 Disk redirection actually uses share names; not drive letters.
Make sure we truncate share names longer than 8 chars.
Documentation updated.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@746 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-09 13:50:41 +00:00
Jay Sorg
a9cad0b9cf proceed more global vars with g_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@709 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-15 22:17:08 +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
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
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
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
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
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
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
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
Peter Kallden
ce2181a3d3 correct handling of offset - partial merge from volker mildes patch. at date only disk.c uses offset, so there wont be any problem.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@612 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 10:34:18 +00:00
Peter Kallden
714cbcd099 better error handling in rdpdr and disk.c - partial merge of Volker Mildes patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@611 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 09:58:16 +00:00
Michael Gernoth
b540405e17 Make internal backing-store the default && small fix for it
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@608 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-16 20:28:09 +00:00
Peter Åstrand
731c8164a2 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@607 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-15 21:19:28 +00:00
Michael Gernoth
20c5eb1ef3 fixed signedness error which caused negative timeouts (and select failing)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@606 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 23:38:11 +00:00
Michael Gernoth
6a1b00fcb9 Cleanup some warnings (from SUNWspro-compiler)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@601 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-07 17:32:21 +00:00
Peter Kallden
3032e6b514 fix mem free bug with printercache - from anders flick
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@597 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-06 10:32:13 +00:00
Peter Kallden
a41bf5b907 fix aio when data written/read is not equ buffer enable disk.c aio
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@594 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-03 14:02:59 +00:00
Peter Kallden
a8e3ab697b cleanup of aio logic
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@592 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-02 07:06:55 +00:00
Peter Kallden
f8b90aeb7b reworked the asyncio some and completed it. parallel and serial uses it now. disk.c is a likely candidate for the future, but there are some problems with disk.c that we will have to look into first. parallel and serial works better, they do not hang the session, but are still yerky at large chunks... possibly we could split the chunks, but the terminal server does not seem to like partial transfers, i've tried some variations.. :) fns->write() could be split in smaller pieces, but what should the thresholds be.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@591 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-30 14:10:32 +00:00
Peter Kallden
98a9280484 put aio code within ifdefs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@589 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 12:27:21 +00:00
Peter Kallden
15ce6e6971 send_avail... use switch instead of if else.
disable aio on serial and parallel until finished.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@584 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-27 21:15:18 +00:00
Peter Åstrand
a9a863db41 Ran indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@579 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 08:35:52 +00:00
Michael Gernoth
628db36a74 fix g_null_pointer memleak
fixes for compiles on NetBSD & FreeBSD


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@575 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-22 20:31:59 +00:00
Michael Gernoth
00af04fa57 some fixes for solaris compiles.
toupper was redefined to handle strings, now renamed to toupper_str
disk.c has some more problems (it uses statfs and dirfd)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@569 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 18:02:38 +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
c4ed40ce8b revert back to COM2
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@554 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-09 09:59:26 +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
Matt Chapman
826ceb5d4a Fix compile warnings on HP-UX.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@535 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 04:29:57 +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