Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nxagent: make nxagentOption Shadow a Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -7/+7 |
| | | | | and add the missing init code. | ||||
* | nxagent: treat several nxagentOptions as real Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -28/+28 |
| | | | | | | | Adaptive, Composite, DeviceControl, DeviceControlUserDefined, IgnoreVisibility, InhibitXkb, Nested, Menu, MagicPixel, Persistent, Reset, ResetzKeyboardAtResume, SharedMemory, SharedPixmaps, Streaming, UseDamage, ViewOnly, Xdmcp, Xinerama | ||||
* | nxagent: treat DesktopResize and nxagentResizeDesktopAtStartup as Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -3/+3 |
| | | | | The already where Booleans but where not using True/False values everywhere | ||||
* | nxagent: make Fullscreen and AllScreens Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -12/+2 |
| | | | | | There's no need/sense in having a tri-state with the third state being UNDEFINED. | ||||
* | nxagent: clarify sleep time units | Ulrich Sibiller | 2020-06-29 | 1 | -1/+1 |
| | | | | | | | No functional changes, just clarification/explanation of the existing code. Fixes ArcticaProject/nx-libs#926 | ||||
* | Args.c: adapt message to use same format as similar messagespr/extend_manpage | Ulrich Sibiller | 2020-06-29 | 1 | -1/+1 |
| | |||||
* | manpage and usage output: add -irlimit | Ulrich Sibiller | 2020-06-29 | 1 | -0/+1 |
| | | | | Fixes ArcticaProject/nx-libs#796 | ||||
* | Extend some manpage entries | Ulrich Sibiller | 2020-06-29 | 1 | -1/+1 |
| | | | | | | | Fixes ArcticaProject/nx-libs#241 Fixes ArcticaProject/nx-libs#495 Fixes ArcticaProject/nx-libs#535 Fixes ArcticaProject/nx-libs#565 | ||||
* | nxagent: re-implement timeout handling | Ulrich Sibiller | 2020-04-07 | 1 | -2/+0 |
| | | | | | | Option -timeout used the screensaver facility. This patch changes that to an own timer that is independent. This effectly means we can drop most of the derived screensaving stuff in a follow-up commit. | ||||
* | Error.c: make nxagentClientsLogName a pointer | Ulrich Sibiller | 2020-01-05 | 1 | -1/+11 |
| | | | | no more hardcoded string length | ||||
* | nxagent: central check for keyboard clone mode | Ulrich Sibiller | 2020-01-05 | 1 | -1/+14 |
| | |||||
* | Args.c: more debug output | Ulrich Sibiller | 2020-01-05 | 1 | -0/+3 |
| | |||||
* | Args.c: do not parse nx/nx marker as option | Ulrich Sibiller | 2020-01-05 | 1 | -9/+32 |
| | | | | slight optimization | ||||
* | Args.c: fix: do not modify options string | Ulrich Sibiller | 2020-01-05 | 1 | -2/+9 |
| | | | | | This resulted in a garbled option string on reconnect where everything after the first '=' was lost! | ||||
* | Keyboard.c: use "\0" instead of "0" | Ulrich Sibiller | 2020-01-05 | 1 | -3/+3 |
| | |||||
* | Args.c: reformat switch blocks | Ulrich Sibiller | 2019-11-15 | 1 | -135/+22 |
| | | | | This makes them much more readable | ||||
* | Args.c: Unify formatting | Ulrich Sibiller | 2019-11-15 | 1 | -188/+91 |
| | |||||
* | Args.c: do not print function name in errors or warnings | Ulrich Sibiller | 2019-11-15 | 1 | -6/+6 |
| | |||||
* | Args.c: scope improvements | Ulrich Sibiller | 2019-11-15 | 1 | -29/+16 |
| | |||||
* | Args.c: simplify options string allocation | Ulrich Sibiller | 2019-11-15 | 1 | -18/+4 |
| | |||||
* | Args.c: fix clipboard=0 or -clipboard 0 | Ulrich Sibiller | 2019-11-15 | 1 | -1/+1 |
| | | | | This should disable clipboard but effictively did activate clipboard=both. | ||||
* | Args.c: remove unreachable code | Ulrich Sibiller | 2019-11-15 | 1 | -24/+0 |
| | | | | | | Right at the beginnigng of nxagentParseSingleOption we check for "clipboard" and prepare argv and argc accordingly for ddxProcessArgument. The removed code thus could never be reached. | ||||
* | Args.c: fix unitialized variable | Ulrich Sibiller | 2019-11-15 | 1 | -0/+1 |
| | | | | | | | "clipboard=something" does not need to be passed on, so return after setting nxagentOptions accordingly. This fixes [nx-X11/programs/Xserver/hw/nxagent/Args.c:1584]: (error) Uninitialized variable: argc | ||||
* | Fix segfault in argument parsing | Ulrich Sibiller | 2019-10-03 | 1 | -0/+3 |
| | | | | | | | | Using arguments that need a parameter without providing one would lead a segfault due to calling strcmp() will NULL. Triggered by running "nxagent -ac :1 -options nx/nx,fullscreen" or similar, Fixes ArcticaProject/nx-libs#847 | ||||
* | Args.c: make autograb available via options file, too. | Ulrich Sibiller | 2019-08-27 | 1 | -0/+13 |
| | |||||
* | Args.c: Add command line option -autograb. | Ulrich Sibiller | 2019-08-27 | 1 | -0/+9 |
| | |||||
* | Args.c: use SAFE_free | Ulrich Sibiller | 2019-08-06 | 1 | -8/+6 |
| | |||||
* | Drop Ipaq support | Ulrich Sibiller | 2019-06-27 | 1 | -9/+0 |
| | | | | Did we ever provide a binary? | ||||
* | nxagent: Determine nxagentProgName only once | Ulrich Sibiller | 2019-05-10 | 1 | -7/+21 |
| | | | | | | | also add TEST prints, init nxagentProgName with NULL and add const where it was missing. Fixes ArcticaProject/nx-libs#803 | ||||
* | Revert "nxagent: rework Bool handling" | Ulrich Sibiller | 2019-02-15 | 1 | -16/+16 |
| | | | | | | | | | | | | This reverts commit 16cd2bbe1c4425e3fa557f9ca0723aa94a50b071. It turned out that I had missed some of the Booleans being actually tristate variables. I think I can fix this (they do not need to be tristate) but I revert this for now to get back to a working state (there are reports about non-working fullscreen mode and reconnect problems). Refers to ArcticaProject/nx-libs#772 | ||||
* | nxagent: rework Bool handling | Ulrich Sibiller | 2019-02-11 | 1 | -16/+16 |
| | | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps | ||||
* | Use basename() to derive nxagentProgName cleanly. | Mike Gabriel | 2018-08-24 | 1 | -2/+5 |
| | |||||
* | Call checkX2goAgent much earlier (in ddxProcessArgument) and adapt ↵ | Mike Gabriel | 2018-08-24 | 1 | -1/+14 |
| | | | | NXAGENTWINDOWNAMELENGTH to its result. | ||||
* | Args.c: allow options to contain URL encoded characters | Ulrich Sibiller | 2018-08-24 | 1 | -0/+35 |
| | | | | | | Same as in nxcomp's option handling. We really only need it for "," (%2C) and "=" (%3D), currently, but it can handle all encoded characters. | ||||
* | Args.c: rename nxagentParseOptions to nxagentParseSingleOption | Ulrich Sibiller | 2018-08-24 | 1 | -14/+14 |
| | | | | new name is more descriptive | ||||
* | nxagent: rearrange nx options in usage | Ulrich Sibiller | 2018-02-28 | 1 | -4/+4 |
| | | | | | make them appear in the nx section. Also separate the nx section from the other options by an extra emtpy line. | ||||
* | nxagent: Also provide auto DPI feature via nx/nx option 'autodpi', taking ↵ | Mike Gabriel | 2018-02-27 | 1 | -0/+19 |
| | | | | only effect on session startups. | ||||
* | nxagent: Auto-detect client-side DPI at session startup. | Simon Matter | 2018-02-27 | 1 | -0/+8 |
| | |||||
* | hw/nxagent/: Stop using non-portable '__progname', set up our own ↵ | Mike Gabriel | 2018-02-26 | 1 | -3/+5 |
| | | | | 'nxagentProgName' instead and pass it around where needed. | ||||
* | hw/nxagent/: Use <function>(void) rather than <function>(). | Mike Gabriel | 2018-02-26 | 1 | -6/+6 |
| | |||||
* | nxagent/Args.c: Mention new -options cmdline parameter in usage info. | Simon Matter | 2018-02-26 | 1 | -0/+1 |
| | | | | Fixes ArcticaProject/nx-libs#639 | ||||
* | nxagent: Add -version cmdline option. | Simon Matter | 2018-02-26 | 1 | -0/+11 |
| | | | | Fixes ArcticaProject/nx-libs#653. | ||||
* | nxagent: Add support for optionally enabling/disabling the magic pixel feature. | Mike Gabriel | 2018-02-26 | 1 | -0/+18 |
| | | | | Fixes ArcticaProject/nx-libs#657. | ||||
* | Args.c: simplify nxagentGetDialogName() | Ulrich Sibiller | 2018-01-07 | 1 | -11/+4 |
| | |||||
* | Args.c, Error.[ch]: introduce own length macro for nxagentClientsLogName | Ulrich Sibiller | 2018-01-07 | 1 | -1/+1 |
| | |||||
* | Args.c: use strdup instead of malloc | Ulrich Sibiller | 2018-01-07 | 1 | -35/+7 |
| | |||||
* | Replace hardcoded string lengths by macros | Ulrich Sibiller | 2018-01-07 | 1 | -53/+18 |
| | |||||
* | add option keyconv=(auto|on|off) | Ulrich Sibiller | 2017-11-23 | 1 | -0/+19 |
| | | | | | | | | | | | | Adds a new option called "keyconv" to control keycode conversion. Before commit 2f2ade61a8823bad012737b2b388dcc168cccbbf keycode conversion was activated if the client was Linux and client side rules and/or model was "evdev". The only (and undocumented) way to disable that was providing a value different from "linux" for the "client" option (which had no other effect). The mentioned commit removed the dependency on Linux and so there was no way anymore to disable keycode conversion. | ||||
* | simply free() calls | Ulrich Sibiller | 2017-11-21 | 1 | -6/+2 |
| | | | | free() can handle NULL so there's no need to check this ourselves | ||||
* | Args.c: simplify nxagentProcessOptionsFile() | Ulrich Sibiller | 2017-11-18 | 1 | -20/+16 |
| |