Commit Graph

1391 Commits

Author SHA1 Message Date
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
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
Peter Kallden
d1e409f1f6 next_arg. slight oversight, when backslashing a needle we need to left shift the string 1 char.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@574 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-22 09:03:06 +00:00
Michael Gernoth
f1363402cd os-support for stat(v)fs a little less(?) ugly
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@573 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 23:53:55 +00:00
Michael Gernoth
e448672db4 OpenBSD support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@572 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 22:13:20 +00:00
Michael Gernoth
22248b26bc rdesktop compiles again on solaris
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@571 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 21:51:59 +00:00
Peter Kallden
457653ccff next_arg modified to support escaping of needles with backslash. ( you may need two dep. on your shell. )
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@570 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 18:17:20 +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
Matt Chapman
f76ace37f2 Bump version number to 1.3.1.
Fix spelling: syncronization -> synchronisation (synchronization would be
okay too, but I use the Australian/British spelling :))


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@566 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 11:08:39 +00:00
Michael Gernoth
899e56c108 fix g_gc memleak
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@565 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 23:45:26 +00:00
Michael Gernoth
0f1660ead7 Try to use a TrueColor visual, even if the default-visual is
PseudoColor. This enables high-colour modes on displays with
a PseudoColor default visual and eliminates colourmap-flashing
at 8 bpp there.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@564 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 21:58:58 +00:00
Jay Sorg
df4b9915d8 ui_draw_text optimize and small fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@563 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-16 23:15:33 +00:00
Jay Sorg
76d94e27b2 fix seg fault when offset goes negative in desktop cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@562 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-24 17:23:03 +00:00