Commit Graph

754 Commits

Author SHA1 Message Date
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
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
Peter Kallden
7127d4eb29 add support for renaming and unlinking printer caches.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@610 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 08:13:52 +00:00
Michael Gernoth
5fc08fe567 command-line parsing fix by Diego Torres Milano <diego@in3.com.ar>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@609 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-19 22:36:03 +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
5ed20d8028 fix select errors due to exploding fdnum n
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@605 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 23:20:24 +00:00
Michael Gernoth
29f8af6451 Make IPv6-support easily configurable
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@604 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 22:54:38 +00:00
Michael Gernoth
dcc2c90f89 Timezone patch from Mark Roach/Stephen Sprunk
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@603 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 19:30:01 +00:00
Michael Gernoth
7deb3bbc62 fixes for HP-UX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@602 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-07 18:47:06 +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
3f50b68bba support for deleting directories.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@600 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-06 12:57:26 +00:00
Peter Kallden
991d0cf8c5 merge andreas flicks work on file timestamps and directory handling, and the beginning of a device control
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@599 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-06 10:41:34 +00:00
Peter Kallden
4991cbccc6 some new defines from anders flick used by disk.c
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@598 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-06 10:33:22 +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
10ec4b3b70 add some defines. handle dirs first, otherwise we can not create dirs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@596 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-05 15:41:56 +00:00
Peter Kallden
325121b29e enable aio of read/write files. workaround server bug where directory flag is not set on create
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@595 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-03 14:03:42 +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
24cce4004e tmp disable select timeout - we segfault
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@593 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-03 13:55:12 +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
4e03600214 lptport and comport only do write in w2k, and it is not seamless.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@590 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 12:37:12 +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
2466e0a1a4 read support over lp port
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@588 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 12:24:15 +00:00
Peter Kallden
682fa1081a remove global vars. and put aio within ifdef
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@587 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 11:47:14 +00:00
Peter Kallden
8b54d716f7 delete un needed define.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@586 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 11:41:35 +00:00
Peter Kallden
1b37f01db0 add comments about other printercache process cases
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@585 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-29 11:40:36 +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 Kallden
0a74910ff0 lptport is working correctly now
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@583 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-27 21:06:22 +00:00
Peter Kallden
aa944cdeb5 cleanup of ltoa
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@582 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-27 10:36:49 +00:00
Peter Kallden
00f06c5d5d fixing -r printer syntax using = as a separator to the driver part, i.e. -r printer:mydeskjet=xxx
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@581 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 14:37:51 +00:00
Peter Kallden
05d0cc957e adding some info about -r args.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@580 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 14:34:47 +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
Peter Åstrand
113a0b179a Fixed dist and RPM spec file
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@578 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 08:18:41 +00:00
Peter Kallden
3b15cec51b removing the code that set the serial io stuff, and the extra options to comport....
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@577 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 06:56:42 +00:00
Michael Gernoth
c614f83b19 Documentation fixes by François Revol
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@576 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-22 22:10:17 +00:00