Commit Graph

219 Commits

Author SHA1 Message Date
Peter Åstrand
1b4c36a45f Implemented support for "Client Auto-Reconnect". This means that the
client can re-connect using a cookie, instead of going through the
normal authentication. This patch saves those cookies, and uses them
during logon. 

Note that this feature is currently unused. It remains to add support
for, say, detecting when the TCP connection has gone done and restart
a new one. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1539 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 10:34:38 +00:00
Peter Åstrand
d0327a9989 Moved code that determines desktop size from ui_init to
ui_create_window. ui_init is only called once during the execution,
but the size of the screen can change, for example, when resizing
using Xrandr. 

Note however that this also means that ui_create_window must be called
before rdp_connect. rdesktop.c has been modified accordingly. One
additional advantage is that you will get a window during the
connection phase, which gives the user better feedback in case the
connection takes time. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1538 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 10:19:35 +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
440542c535 Elminate code duplication in rdp_reconnect and sec_connect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1528 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 20:01:58 +00:00
Peter Åstrand
058ee33be3 Clean up and document the return values. Trying to solve a number of issues:
* The current return values have been selected pretty much without any
thought. Basically, the value 1 is used for all different kinds of
errors, except for a corner case where the server doesn't send a
RDP_PDU_DEACTIVATE in combination with a few special "reasons", where
the value 2 is used instead.

* rdesktop will currently also return with 2 if the user is closing
the rdesktop window, the same error as many other fatal errors, which
is somewhat strange.

* The main principle of my patch is to utilize more of the available
256 return codes. We are currently only using 3 values out of
256. This is bad; rdesktop should expose more information to the
caller about error conditions if it can.

Besides using the standardized exit codes for generic errors such as
EX_USAGE for command line usage errors, I've also exposed the
"extended disconnect reasons" from RDP. This allows for, for example,
to be able to distinguish between a logoff and a disconnect.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1510 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-02 13:03:43 +00:00
Peter Åstrand
27388283ad Removed the hardcoded limit of the username length.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1478 423420c4-83ab-492f-b58f-81f9feb106b5
2008-09-26 11:40:54 +00:00
Matt Chapman
b25d176fe1 Bump version number in preparation for release.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1464 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 06:15:45 +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
Jay Sorg
5d1527d1b6 32 bit color
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1416 423420c4-83ab-492f-b58f-81f9feb106b5
2007-08-30 04:47:36 +00:00
Jay Sorg
15cede539f g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1391 423420c4-83ab-492f-b58f-81f9feb106b5
2007-02-10 05:48:50 +00:00
Jay Sorg
f39d7fa430 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1390 423420c4-83ab-492f-b58f-81f9feb106b5
2007-02-10 05:29:59 +00:00
Jay Sorg
e486d11511 moved all openssl calls to one file
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1373 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-09 07:24:44 +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
Michael Gernoth
8d3020eaff only declare rdpsnd_optarg when sound-support is configured
make sure last element of sound-driver-list is NULL


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1331 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-06 23:05:39 +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
Peter Åstrand
6ac7e0a1be Prevent segfaults in out of memory conditions by checking the pointer returned from XGetImage.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1305 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-27 12:59:38 +00:00
Michael Gernoth
6e6853dff8 move sound-driver selection code in rdpsnd_init
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1271 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-21 19:00:11 +00:00
Michael Gernoth
162bc366b3 handle missing audio-drivers better
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1270 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 21:42:50 +00:00
Michael Gernoth
07b5b9e41c allow multiple sound-drivers to be compiled in simultaneously and
make the runtime selectable


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1254 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 11:04:50 +00:00
Peter Åstrand
b73a2b4d8c The default color depth is now the depth of the root window.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1225 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-12 06:47:24 +00:00
Peter Åstrand
9e3dd0b7ab Eliminated a few compile warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1223 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:16:31 +00:00
Pierre Ossman
c2c379220f Cut down own the redundant clipboard mode arguments.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1214 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-28 14:46:47 +00:00
Pierre Ossman
ba2f441f18 Control clipboard behaviour (and even disable it) using command line options.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1206 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 09:20:24 +00:00
Peter Åstrand
b06a70bf51 Initial support for SeamlessRDP
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1088 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 08:50:43 +00:00
Peter Åstrand
7b55ece8e4 Added support for a new virtual channel, lspci, which makes it
possible for the remote RDP server to enumerate the local PCI devices.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1052 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-02 15:22:25 +00:00
Peter Åstrand
67fff0767c Increased the length of the directory variable to 256 bytes; the same as for the shell.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1046 423420c4-83ab-492f-b58f-81f9feb106b5
2006-02-27 19:36:35 +00:00
Erik Forsberg
11d2983f62 Length of shell (-s argument) changed from 128 to 256, since investigations
show that WTS servers chop the string at 256 byte.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1045 423420c4-83ab-492f-b58f-81f9feb106b5
2006-02-24 08:21:31 +00:00
Peter Åstrand
acffcd7e9c Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1041 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:40:24 +00:00
Peter Åstrand
8a9165589d Applied patch #1367109: prevent strtol overflow
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1034 423420c4-83ab-492f-b58f-81f9feb106b5
2005-12-30 20:32:06 +00:00
Peter Åstrand
e82a259ad2 Using new utility function str_startswith, to get rid of many sizeof:s and hardcoded constants.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1009 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-31 13:00:57 +00:00
Michael Gernoth
45d0bff6d8 Globally include limits.h for PATH_MAX, as this is used in types.h
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@979 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-15 12:06:59 +00:00
Peter Åstrand
75ea7d9148 Applied patch #1247780 (slightly modified) from Brian Chapeau: Session Directory support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@976 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-08 19:15:57 +00:00
Peter Åstrand
36858922d6 keymapname -> g_keymapname
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@974 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 12:51:44 +00:00
Peter Åstrand
72055744b9 Created a common xstrdup function.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@973 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 12:50:15 +00:00
Peter Åstrand
65b28a80a4 Reorganized the automatic selection of keymap: The message about autoselection is not printed if -k is not given.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@972 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 12:44:10 +00:00
Peter Åstrand
b9abb01d00 Need to include limits.h for PATH_MAX.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@967 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 11:19:06 +00:00
Peter Åstrand
8882a06591 It is now possible to specify keyboard type, subtype and number of functionskeys. From patch #974509, by Dekaino.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@963 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 11:30:53 +00:00
Peter Åstrand
5e5d52ccf4 Autoselecting keyboard map based on current locale. Re-implementation of patch #1068995.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@961 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 09:56:17 +00:00
Peter Åstrand
fa73269ae1 keymapname size if now PATH_MAX, since we now allow arbitrary file
names.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@957 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 08:36:08 +00:00
Peter Åstrand
d9f1f35953 print_disconnect_reason should be static.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@943 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 09:29:15 +00:00
Jeroen Meijer
696ea0c4f1 Add alternative mppc decompression code with 64kB history buffer from Vahur Sinijärv, and reenable rdp5 (persistent) bitmap cache 2 (64x64)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@888 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-17 23:14:20 +00:00
Michael Gernoth
87d8eefba0 Enable rdp-compression for all bpps.
Many thanks to Vahur Sinijärv <vahur.sinijarv@cydonia.ee> for
finding the fix.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@885 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-16 11:42:34 +00:00
Michael Gernoth
9b5f896662 We need to include sys/types.h before including sys/socket.h
This broke builds on AIX.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@880 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-04 16:37:19 +00:00
Michael Gernoth
abb049b7d0 allow windowid to be hexadecimal, which is what krdc actually uses...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@870 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-30 19:51:41 +00:00
Michael Gernoth
5a0fa7b5ab Window-placement patch by <gregmhughes@comcast.net>
small modifications by me, to only set the PPosition sizehint, if the
position was specified on the command-line


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@866 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-23 12:25:54 +00:00
Michael Gernoth
99e123f63a indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@860 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 17:40:51 +00:00
Michael Gernoth
ec1aa1e6a7 configure test for HAVE_ICONV_H, HAVE_LOCALE_H and HAVE_LANGINFO_H
still no test for HAVE_ICONV


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@856 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 13:36:04 +00:00
Michael Gernoth
6b1bacd41c unicode support from Andy Igoshin <ai@vsu.ru>
Currently disabled, need HAVE_ICONV and HAVE_ICONV_H defined to be
used. This should be done with a new configure test.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@854 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 13:18:48 +00:00
Jay Sorg
9d61d98434 added var for new polygon and ellipse orders
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@847 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 03:29:19 +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
d825ce6ab0 don't allow rdp-compression for depth > 8
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@824 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-02 10:16:31 +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
12623c1e10 add support for specifying the window-position with the -g parameter
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@799 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-18 11:18:49 +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
7f5acf5e64 added option for rdp compression
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@772 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-11 22:57:42 +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
Peter Åstrand
336cb6cc1f Now using Autoconf. Old OpenSSL files removed.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@739 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-31 13:07:41 +00:00
Michael Gernoth
9dc5dc3ae5 add missing newlines in warnings
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@738 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-30 08:25:54 +00:00
Peter Åstrand
dc156f8fcd Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@737 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-12 21:07:39 +00:00
Jay Sorg
e2e2ff88aa a few fixes for PBC from Jeroen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@729 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-29 16:22:41 +00:00
Jay Sorg
7f836f0384 added persistant bitmap chaching from Jeroen Meijer, slightly modified
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@724 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 17:51:54 +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
Michael Gernoth
ab3dde972b Fix compilation without sound
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@684 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-29 19:40:40 +00:00
Jay Sorg
da391278ec fix the -b switch
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@677 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 22:31:22 +00:00
Peter Åstrand
374b8aeba0 Applied disconnect handling patch from Jeroen Meijer
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@675 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-20 07:01:21 +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
Michael Gernoth
95d2f76a30 rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@647 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-10 09:34:52 +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
Michael Gernoth
b9145c2384 RDP5 Experience patch by Jeroen Meijer <jeroen@oldambt7.com>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@636 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-15 14:49:12 +00:00
Michael Gernoth
697f58a48a XEmbed-patch by Arend van Beelen jr. <arend@auton.nl>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@635 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-13 12:08:18 +00:00
Peter Kallden
1e75df64c2 change to -r sound:local instead of -r sound:on
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@629 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-05 06:39:00 +00:00
Peter Kallden
5d12c1d588 make -r sound behave as the other -r switches, but keep backward compatibility i.e. "-r sound" still does the same
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@628 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 13:23:23 +00:00
Peter Kallden
6d63bda2e7 leave sound on server -r sound:remote thanks to cbquillen for finding out.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@627 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 12:43:10 +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
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
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 Å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
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
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
Peter Åstrand
454e01b591 Reverted to the old numlock-state code. The numlock sync can be enabled via new option -N
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@551 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-08 12:01:25 +00:00
Peter Åstrand
58c2cbd12a When mixing -f and -g, the last option should take precedence.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@546 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-10 15:09:49 +00:00
Matt Chapman
b19e3d035d -A -> -r sound
Update option listing and documentation for this and some other options.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@519 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 05:07:00 +00:00
Michael Gernoth
18e4c6017b added switch (-A) to disable rdpsnd
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@500 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-17 08:23:47 +00:00
Peter Åstrand
c60d7c4f3f Support for specifying geometry in terms of percent of whole screen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@499 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-15 14:32:43 +00:00
Matt Chapman
81f29fd475 Add option to attach to console on Windows 2003.
(thanks to Chris Knight <chris@e-easy.com.au>)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@481 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-09 04:21:19 +00:00
Peter Åstrand
db12b068bb Increased lengths for title, username and password
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@478 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-06 09:37:24 +00:00
Matt Chapman
d3e6c1a157 Preliminary sound support (PCM only).
Based on code from GuoJunBo <guojunbo@ict.ac.cn>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@473 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-30 09:11:08 +00:00
Erik Forsberg
24ee89b5ad Clarified usage message for -E flag.
Fixed flag-collission (-E was used twice, the other -E is now -Q).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@470 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-22 12:33:21 +00:00
Peter Åstrand
d1eeb6b1ae RDP5 is now default. Added -4 option.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@457 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-02 09:32:13 +00:00
Jay Sorg
fb2ce8bcf4 more g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@449 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-27 22:51:33 +00:00
Jay Sorg
24d1be278a more g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@446 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-21 23:23:15 +00:00
Peter Åstrand
a5735c186b Applied patch from Mike Dawson (slightly modified)
for handling numeric IPv6 addresses.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@443 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-17 07:31:36 +00:00