Jay Sorg
88855ddcbf
update the copyright year
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1474 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:51:23 +00:00
Peter Åstrand
f6e5fe5f38
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1428 423420c4-83ab-492f-b58f-81f9feb106b5
2008-01-24 08:06:02 +00:00
Matt Chapman
2e16fa661d
Add some more warnings and sanity checks.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1425 423420c4-83ab-492f-b58f-81f9feb106b5
2008-01-05 05:43:02 +00:00
Pierre Ossman
421c2386d3
Improve readability of smart card code.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1414 423420c4-83ab-492f-b58f-81f9feb106b5
2007-07-03 14:08:06 +00:00
Peter Åstrand
75bd1939f8
Improve performance of (large) directory listings: Avoid
...
stat:ing each file many times.
The patch modifies rdesktop so that the g_notify_stamp is only set
when writing. Also, the stamp is not set before disk_create_notify(),
since this would mean that NotifyInfo would be called twice directly.
With this patch, the number of stat:s has dropped from 24 to 4, using
my tests.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1401 423420c4-83ab-492f-b58f-81f9feb106b5
2007-04-10 11:22:10 +00:00
Jay Sorg
6091381a81
prefix BOOL with RD_
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1371 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-08 04:47:06 +00:00
Jay Sorg
797df4fa02
copyright year update
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Jay Sorg
b670bdacfa
RD_ prefix and win32 compatibility for core files
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +00:00
Michael Gernoth
c3f49ea246
more smartcard locking fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1327 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 23:51:35 +00:00
Michael Gernoth
8419d91138
make sure to lock the datapath of rdpdr_send_completion to prevent
...
simultaneous access to shared variables in multiple threads
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1326 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 19:56:42 +00:00
Michael Gernoth
24680f4f8d
clean up smartcard debugging
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1318 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 20:48:28 +00:00
Michael Gernoth
f37c871e8b
Smartcard support by Alexi Volkov <alexi@pravex.kiev.ua> and additional
...
patches for smartcard-support by Jennings Jared <jared.jennings.ctr@eglin.af.mil>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1308 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 20:52:01 +00:00
Michael Gernoth
7ffe422a52
Slightly modified long filenames-patch from Alex Miller <asm at asm.kiev.ua>
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@977 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-15 11:44:35 +00:00
Peter Åstrand
a3360b8463
_rdpdr_check_fds should be static.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@947 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 09:45:11 +00:00
Peter Åstrand
f5bce2e0a9
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@878 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-03 18:08:05 +00:00
Michael Gernoth
4cca15390d
remove C++-style comments
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@864 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-15 11:25:50 +00:00
Michael Gernoth
ec643e4718
bump version to 1.4.0
...
change year in files
add missing docu for updated commandline-flags
update changelog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@827 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-06 21:11:18 +00:00
Michael Gernoth
53eabea36f
Big serial- and disk-redirection update from
...
Andreas Flick <Andreas.Flick@unicon-ka.de>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@794 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-03 13:56:52 +00:00
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