Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Switch from using libNX_X11's deprecated XKeycodeToKeysym() function ↵ | Ulrich Sibiller | 2017-05-04 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | to using XGetKeyboardMapping()." This reverts commit efc0dae0519aa0ef1fabea6a64919475fd916347. Recent test revealed keyboard hangs on high latency connections. These hangs are not happening in 3.5.0 releases if the nx-libs. The commit above is responsible for them so we take that back. Interestingly nxcomp has special treatment for XGetKeyboardMapping() so it should normally speed up things but it results in the opposite for us. Needs further examination. This fixes ArcticaProject/nx-libs#450 | ||||
* | Keystrokes: rename left/up/right/down keystrokes to descriptive names | Ulrich Sibiller | 2017-04-03 | 1 | -39/+39 |
| | | | | | | The are now called reflecting their purpose: viewport_scroll_left/up/right/down. This also regroups all the keystrokes referring to viewport stuff. | ||||
* | Keystroke.c: move some vars to inner scope | Ulrich Sibiller | 2017-04-03 | 1 | -5/+2 |
| | |||||
* | Init keystrokes at startup and reconnect | Ulrich Sibiller | 2017-04-03 | 1 | -9/+3 |
| | | | | no more late initialization | ||||
* | Keystroke.c: avoid use of comparisons on "False" | Ulrich Sibiller | 2017-04-03 | 1 | -21/+13 |
| | |||||
* | Keystroke.c: use Booleans where appropriate | Ulrich Sibiller | 2017-04-03 | 1 | -13/+13 |
| | | | | | Some of the keystroke checks have used them before. This commit unifies those checks. | ||||
* | Keystroke.h: improve parse_keystroke_file() | Ulrich Sibiller | 2017-04-03 | 1 | -35/+44 |
| | | | | Print out more/better messages. | ||||
* | Keystroke.c: introduce nxagentDumpKeystrokes() | Ulrich Sibiller | 2017-04-03 | 1 | -0/+34 |
| | |||||
* | Keystroke.c/h: completely disable keystrokes that are not active at compile time | Ulrich Sibiller | 2017-04-03 | 1 | -10/+21 |
| | |||||
* | Keystroke.c: detect duplicate keystroke definitions | Ulrich Sibiller | 2017-04-03 | 1 | -0/+23 |
| | | | | | | We cannot check if an action is defined twice because the viewport stuff is controlled by multiple keystrokes (arrow keys and keypad) in the default configuration. | ||||
* | Keystroke.c: use KEYSTROKE_NOTHING | Ulrich Sibiller | 2017-04-03 | 1 | -3/+3 |
| | | | | | instead of KEYSTROKE_END_MARKER. This is cleaner since KEYSTROKE_END_MARKER really marks the end of the list. | ||||
* | Keystroke.c: ignore CapsLock and NumLock most of the time | Ulrich Sibiller | 2017-03-19 | 1 | -0/+10 |
| | | | | | | CapsLock and NumLock will only be taken into account for keystrokes that explicitly require them. This is implemented for convenience and fixes ArcticaProject/nx-libs#397 | ||||
* | Keystroke.c: remove unneeded capital keys for default keystrokes | Ulrich Sibiller | 2017-03-13 | 1 | -11/+0 |
| | |||||
* | Keystroke.c: add new keystroke to reread keystroke config | Ulrich Sibiller | 2017-03-13 | 1 | -4/+30 |
| | | | | Default is ctrl-alt-k | ||||
* | Keystroke.c: simplify parse_keystroke_file | Ulrich Sibiller | 2017-03-13 | 1 | -36/+15 |
| | |||||
* | Keystroke.c: fix formatting | Ulrich Sibiller | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Keystroke.c: use an own environment variable for X2Go | Ulrich Sibiller | 2017-03-13 | 1 | -3/+10 |
| | |||||
* | Keystroke.c: make nxagentKeystrokeFileParsed local | Ulrich Sibiller | 2017-03-13 | 1 | -4/+5 |
| | |||||
* | Keystroke.c: add missing Mod5 modifier | Ulrich Sibiller | 2017-03-13 | 1 | -0/+1 |
| | |||||
* | Keystroke.c: fix code order | Ulrich Sibiller | 2017-03-13 | 1 | -1/+3 |
| | | | | Do not use map before calling parse_keystroke_file() since it will malloc map. | ||||
* | Keystroke.h: sane struct init | Ulrich Sibiller | 2017-03-13 | 1 | -0/+1 |
| | | | | | Correctly use constant for unused structs instead of implicitly setting it through calloc(). | ||||
* | Keystroke.c: Fix modifier handling | Ulrich Sibiller | 2017-03-13 | 1 | -1/+2 |
| | | | | | | Code could not distinguish between ctrl-alt-shift and ctrl-alt. Fixes ArcticaProject/nx-libs#395 | ||||
* | Keystroke.c: more/fixed debug output | Ulrich Sibiller | 2017-03-13 | 1 | -2/+17 |
| | |||||
* | Keystroke: whitespace fixes | Ulrich Sibiller | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Keystroke.c: arrange switch_all_screens and fullscreen close together | Ulrich Sibiller | 2017-03-13 | 1 | -3/+3 |
| | | | | | Both use the same keystroke 'f' (with different modifiers) for a very similar function. | ||||
* | Keystroke.c: print keystroke name in TEST mode | Ulrich Sibiller | 2017-03-13 | 1 | -2/+6 |
| | |||||
* | Keystroke.c: improve TEST output | Ulrich Sibiller | 2017-03-13 | 1 | -3/+3 |
| | |||||
* | Keystroke.c: add another FIXME | Ulrich Sibiller | 2017-03-13 | 1 | -0/+2 |
| | |||||
* | Keystroke.c: Simplify read_binding_from_xmlnode | Ulrich Sibiller | 2017-03-13 | 1 | -16/+17 |
| | |||||
* | Keystroke.c: use symbols instead of integers | Ulrich Sibiller | 2017-03-13 | 1 | -2/+4 |
| | | | | We have defined them, so use them! | ||||
* | Keystroke.c: Boolify read_binding_from_xmlnode | Ulrich Sibiller | 2017-03-13 | 1 | -44/+44 |
| | |||||
* | Keystroke.c: Boolify nxagentCheckSpecialKeystroke | Ulrich Sibiller | 2017-03-13 | 1 | -7/+7 |
| | |||||
* | Keystroke.c: reorder parse_keystroke_file | Ulrich Sibiller | 2017-03-13 | 1 | -7/+5 |
| | | | | for better readability | ||||
* | Keystroke.c: handle parsing state in parse_keystroke_file() | Ulrich Sibiller | 2017-03-13 | 1 | -5/+6 |
| | |||||
* | Keystroke.c: simplify nxagentCheckSpecialKeystroke | Ulrich Sibiller | 2017-03-13 | 1 | -19/+3 |
| | |||||
* | Keystroke.c: fix code formatting | Ulrich Sibiller | 2017-03-13 | 1 | -5/+4 |
| | |||||
* | Keystroke.c: rework read_binding_from_xmlnode() | Ulrich Sibiller | 2017-03-11 | 1 | -54/+30 |
| | | | | code cleanup | ||||
* | Keystroke.c: use Bool type where appropriate | Ulrich Sibiller | 2017-03-11 | 1 | -4/+4 |
| | |||||
* | Switch from using libNX_X11's deprecated XKeycodeToKeysym() function to ↵ | Mike Gabriel | 2017-02-20 | 1 | -7/+20 |
| | | | | | | using XGetKeyboardMapping(). Fixes ArcticaProject/nx-libs#229. | ||||
* | Per-file copyright notices: Update copyright information in file headers ↵ | Mike Gabriel | 2016-07-06 | 1 | -7/+15 |
| | | | | that NoMachine placed there own copyright statement in. | ||||
* | hw/nxagent/Keystroke.c: Fix warning: pointer type mismatch in conditional ↵ | Mike Gabriel | 2016-05-02 | 1 | -1/+1 |
| | | | | expression. | ||||
* | Adapt paths of keystrokes.cfg if nxagent runs as x2goagent ↵ | Horst Schirmeier | 2015-02-13 | 1 | -0/+6 |
| | | | | (321_nxagent_x2go-specific-keystroke-config.full.patch). | ||||
* | Make nxagent-specific keyboard bindings configurable ↵ | Alexander Wuerstlein | 2015-02-13 | 1 | -231/+469 |
| | | | | | | | | | | | | | | (320_nxagent_configurable-keystrokes.full.patch). Replaces the hardcoded nxagent keybindings by a configurable table of keybindings. The default configuration is the same as the original one, to maintain compatibility. A user/administrator can either specify a command line parameter, environment variable or place a file in ~/.nx/config/keystrokes.cfg or /etc/nxagent/keystrokes.cfg to reconfigure these keybindings. The configuration file format is XML, a dependency on libxml2 is added to allow parsing the configuration. | ||||
* | Revert "release 3.5.0.19" | Mike Gabriel | 2013-03-28 | 1 | -468/+231 |
| | | | | This reverts commit e77bf36d9afbc7e56522574b06217d57c11dd095. | ||||
* | release 3.5.0.19 | Mike Gabriel | 2013-03-28 | 1 | -231/+468 |
| | |||||
* | Imported nxagent-3.5.0-2.tar.gznxagent/3.5.0-2 | Reinhard Tartler | 2011-10-10 | 1 | -2/+12 |
| | | | | | | | | Summary: Imported nxagent-3.5.0-2.tar.gz Keywords: Imported nxagent-3.5.0-2.tar.gz into Git repository | ||||
* | Imported nxagent-3.4.0-8.tar.gznxagent/3.4.0-8 | Reinhard Tartler | 2011-10-10 | 1 | -0/+12 |
| | | | | | | | | Summary: Imported nxagent-3.4.0-8.tar.gz Keywords: Imported nxagent-3.4.0-8.tar.gz into Git repository | ||||
* | Imported nxagent-3.4.0-5.tar.gznxagent/3.4.0-5 | Reinhard Tartler | 2011-10-10 | 1 | -1/+53 |
| | | | | | | | | Summary: Imported nxagent-3.4.0-5.tar.gz Keywords: Imported nxagent-3.4.0-5.tar.gz into Git repository | ||||
* | Imported nxagent-3.4.0-3.tar.gznxagent/3.4.0-3 | Reinhard Tartler | 2011-10-10 | 1 | -76/+2 |
| | | | | | | | | Summary: Imported nxagent-3.4.0-3.tar.gz Keywords: Imported nxagent-3.4.0-3.tar.gz into Git repository | ||||
* | Imported nxagent-3.4.0-16.tar.gznxagent/3.4.0-16 | Reinhard Tartler | 2011-10-10 | 1 | -2/+12 |
| | | | | | | | | Summary: Imported nxagent-3.4.0-16.tar.gz Keywords: Imported nxagent-3.4.0-16.tar.gz into Git repository |