Karl Mikaelsson
5351182410
Fix problems with transferring large files
...
The entire device redirection framework is documented to use 64-bit
offsets rather than 32-bit offsets. This should fix any problems
transfering large files with rdesktop.
Co-Authored-By: gpatel-fr <44170243+gpatel-fr@users.noreply.github.com>
2019-01-31 10:51:19 +01:00
René Genz
9e99dd52d6
Fix minor spelling mistakes
2017-11-02 01:01:44 +01:00
Henrik Andersson
0d707ae103
Fix sign-compare compiler warnings
2017-10-20 13:30:42 +02:00
Henrik Andersson
896a923f55
Markup unused parameters
2017-10-20 11:05:52 +02:00
Henrik Andersson
fd1673392e
Fix unused-but-set-variable compiler warnings
2017-10-17 10:50:14 +02:00
Henrik Andersson
87d8d123b8
Rework the logging system
...
This commit will add a logging system to solve the problem that
one actually need to recompile rdesktop from source to enable
different debug logging.
- Same logging api for all kind of logging and messages to
end user.
- Adding -v for verbose output when running rdesktop.
- All messages are logged into a subject and with a type, eg:
logger(Keyboard, Notice, "Autos-electing %s based on locale.", locale);
- Debug logging is enabled trough a environment variable RDEKSTOP_DEBUG,
which specifies subjects of interest, comma separated. There is a special
subject named All which includes all subject for debug loggin. There is also
a simple logic opeartor '!' = NOT which can be used in combination like:
RDESKTOP_DEBUG=All,!Graphics,!Sound
Which would give debug log output for All subject except Graphics and Sound.
2017-01-26 14:19:40 +01:00
Peter Åstrand
e0aa7a1fea
Update to last patch, remove unused flush_mask variable.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1634 423420c4-83ab-492f-b58f-81f9feb106b5
2011-09-22 12:30:39 +00:00
Peter Åstrand
1e857787d8
Fix serial purge - TCIFLUSH was not working correctly.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1633 423420c4-83ab-492f-b58f-81f9feb106b5
2011-09-22 12:28:35 +00:00
Peter Åstrand
b638882347
Include emails in copyright statements.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1615 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 11:13:04 +00:00
Peter Åstrand
281d7c9f06
Changed license to GPLv3
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Peter Åstrand
5c67800d15
Indent fixes; ran indent-all with modern indent (F11)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1509 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-27 08:35:48 +00:00
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
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
Peter Åstrand
1320755f2b
Added missing c-basic-offset:s and license headers
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@962 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 10:56:16 +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
Jeroen Meijer
d85905130f
misplaced bracket
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@815 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-20 19:38:34 +00:00
Jeroen Meijer
f0bc70c24e
fix compilation on cygwin
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@811 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-14 00:34:23 +00:00
Michael Gernoth
3b43325dc8
define TIOCOUTQ to FIONWRITE if it's not already defined
...
remove XCASE from temios c_lflag because it's deprecated
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@808 423420c4-83ab-492f-b58f-81f9feb106b5
2005-01-10 21:54:47 +00:00
Peter Åstrand
881f0fe93e
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@800 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-23 13:29:12 +00:00
Michael Gernoth
7e432258e6
*BSD fixes (tested with OpenBSD)
...
No more need to include anything in proto.h on BSDs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@798 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-06 17:27:45 +00:00
Michael Gernoth
14ad61708f
Fixes for HP/UX
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@797 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-06 15:29:38 +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
Peter Åstrand
c139c48d97
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@781 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-07 13:00:29 +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
942ba6ccb6
fix solaris compile...
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@758 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-25 15:42:42 +00:00
Michael Gernoth
fb3c971c9c
add support for reading the modem status-lines
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@756 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-25 00:43:48 +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
Michael Gernoth
aa8d0a2e9f
Fix compilation on hp/ux
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@685 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-29 19:41:49 +00:00
Peter Åstrand
7b509a29db
Uncommented variables for uncommented code.
...
Fixes GCC warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@668 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-18 19:16:51 +00:00
Peter Åstrand
7bd9d6e162
Made internal functions static.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@664 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-17 07:24:22 +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 Å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
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
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
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 Å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 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
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
41ab669bf9
compile when not all baudrates are defined on a system
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@544 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 20:19:01 +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