René Genz
9e99dd52d6
Fix minor spelling mistakes
2017-11-02 01:01:44 +01:00
Henrik Andersson
b25f93c0e6
Run indentation script
2017-08-15 10:50:08 +02:00
Henrik Andersson
8586cfc8cb
Remove deprecated rdp2vnc
...
Fixes issue #95
2017-08-14 15:58:48 +02:00
Pierre Ossman
b236a3698f
Merge branches 'shift_pause' and 'mouse_4_5' of https://github.com/bogbert/rdesktop
2017-07-10 15:00:47 +02:00
Pierre G. Bogossian
ba94ac028d
Shift-Pause did not work because a PAUSE key press was not sending the proper sequence
2017-07-09 16:58:19 +02:00
Pierre G. Bogossian
9889ed6457
Support extended mouse buttons 4 and 5 (ie back/forward buttons)
2017-07-09 16:56:30 +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
Henrik Andersson
29583c53b5
Revert "Support horizontal scroll with mouse wheel"
2016-12-05 14:35:10 +01:00
James Laird-Wah
37a2206347
Support horizontal scroll with mouse wheel
2016-12-05 10:40:31 +11:00
Henrik Andersson
e71e7f8d8c
Apply patch #218
...
Fixes compilation of rdesktop on IRIX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1842 423420c4-83ab-492f-b58f-81f9feb106b5
2014-11-19 07:44:18 +00:00
Henrik Andersson
35ed85c03b
Reducing hash and keymap hashtable slots from 65535
...
to 127 which will reduce memory footprint.
Tested using a few keymaps and With 0x7f there were
max 5 collisions in a slot which is good for
performance.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1804 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 11:24:59 +00:00
Henrik Andersson
2a76ef7b53
Handle trailing whitespace in a keyname sequence.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1803 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 10:52:39 +00:00
Henrik Andersson
cb06fe1863
Applied slightly modified patch #220 that fixes
...
hash collisions with keysyms.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1802 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 10:43:03 +00:00
Henrik Andersson
c44025aa18
Added support for protocol negotiation, this is a part of
...
adding Enhanced RDP Security support to rdesktop and brings
support for TLSv1 tunnel functionality.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1659 423420c4-83ab-492f-b58f-81f9feb106b5
2012-06-15 05:16:20 +00:00
Peter Åstrand
094f3bac04
Fixed style of a few copyright statements.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1635 423420c4-83ab-492f-b58f-81f9feb106b5
2011-09-28 09:36:59 +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
5fe3caff71
A few copyright tweaks: added email, years, organization.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1613 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 10:51:50 +00:00
Michael Gernoth
360b4a3faa
fix two problems found by clang static analyzer
...
secure.c: Dereference of null pointer
xkeymap.c: Pass-by-value argument in function call is undefined
both seem to be noncritical, as sec_recv is never called with a null
pointer and ensure_remote_modifiers only accesses initialized fields
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1589 423420c4-83ab-492f-b58f-81f9feb106b5
2010-04-07 11:39:29 +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
bbeb187681
When modifiers are used and a key is released, the generated keysym
...
might be different from the one generated when the key was
pressed. This can happen if the user physically releases the modifier
key before the symbol key. It can also happen with VNC servers such as
Xvnc, since it only "fakes" the correct modifiers during key
presses. So, we must remember which keysym that was used during the
key press, and use the same on release, otherwise keys such as the
Windows key can be stuck activated.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1512 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-17 13:52:04 +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
Peter Åstrand
9866572002
We still had some problems with the shift key getting stuck. The new
...
code makes sure that we restore "faked" modifiers both after press and
release. It's also shorter.
I've added two new test cases to the doc as well.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1418 423420c4-83ab-492f-b58f-81f9feb106b5
2007-10-08 12:34:05 +00:00
Jay Sorg
7f786d64d4
update save_remote_modifier when keyup on a modifier
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1404 423420c4-83ab-492f-b58f-81f9feb106b5
2007-05-03 04:53:39 +00:00
Peter Åstrand
a9639731a4
Call restore_remote_modifiers after key up, to make sure the modifier (such as NumLock is correct for the key up event as well.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1399 423420c4-83ab-492f-b58f-81f9feb106b5
2007-03-20 15:32:43 +00:00
Peter Åstrand
5c994bc6e2
Changed my email
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1386 423420c4-83ab-492f-b58f-81f9feb106b5
2007-02-08 12:56:38 +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
Peter Åstrand
712030924b
Undo incorrect commit
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1293 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-11 17:59:18 +00:00
Peter Åstrand
83817d6160
Changed the Copyright: tag to License: in accordance with RPM 4
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1292 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-11 17:56:05 +00:00
Matt Chapman
997e354a24
Fix a small memory leak.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1235 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 06:30:54 +00:00
Peter Åstrand
54587760ed
Using MASK_ macros in a few more places.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1218 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 22:20:43 +00:00
Peter Åstrand
ffb111b2a1
Only release Shift if non-physical shift plus Ctrl is pressed;
...
not if CapsLock is active. This should solve bug 1228691.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1217 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 22:17:14 +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
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
Peter Åstrand
2daead38a7
Protection against recursive sequences
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@975 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 13:39: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
87ca88dabb
Replaced magic numbers for string lenghts with sizeof. Corrected sizeof statements for keyboard_*; we shouldn't count the trailing zero.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@964 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 11:47:20 +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
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
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
92df92615c
The keymap names are now case sensitive, since the -k argument now specifies a file name.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@960 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 09:32:22 +00:00
Peter Åstrand
6e5ea233bb
~/.rdesktop/keymaps is now tried before KEYMAP_PATH
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@959 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 08:41:02 +00:00
Peter Åstrand
6c0bc284cd
Keymaps are now searched in ~/.rdesktop/keymaps as well.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@956 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 08:25:32 +00:00
Peter Åstrand
85d2067013
Fixed speling error in comment for free_key_translation.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@955 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 07:08:48 +00:00
Peter Åstrand
6aae477ddb
free_key_translation should be static.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@954 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 07:08:17 +00:00
Peter Åstrand
79b3e729a9
Fixed stale comment about multi-scancode keypresses.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@951 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 18:15:07 +00:00
Peter Åstrand
39408cef26
Free mem before assigning new objects to keymap.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@950 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 18:07:56 +00:00