aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
Commit message (Collapse)AuthorAgeFilesLines
* nxagent: extend x2go checkUlrich Sibiller2021-10-301-1/+1
| | | | | | | do not only depend on the program name but also check the DISPLAY variable and the command line parameters. This mainly helps for testing some special constructs when you want to use an alternative nxagent for x2go connections.
* nxagent: add option -textclipboardUlrich Sibiller2021-06-201-0/+19
| | | | textclipboard=<bool> in the options file
* nxagent: add missing command line switches to usage textUlrich Sibiller2021-06-081-0/+4
|
* nxagent: make nxagentX2go a Boolean everywhereUlrich Sibiller2021-06-081-1/+1
| | | | also correct ugly if formatting regarding nxagentX2go
* nxagent: make nxagentAlpha* BooleansUlrich Sibiller2021-06-081-2/+2
|
* nxagent: treat enableBackingStore as BooleanUlrich Sibiller2021-06-081-3/+3
| | | | Use TRUE and FALSE like dix does.
* nxagent: add command line switch to enable compositeUlrich Sibiller2021-06-081-1/+10
| | | | We have it disabled by default but there hasn't been a way to enable it.
* nxagent: make X2GO support optionalUlrich Sibiller2021-06-081-0/+6
|
* Args.c: improve usage string for -geometryUlrich Sibiller2021-01-161-1/+1
|
* fix formatting and spelling in various filesUlrich Sibiller2021-01-151-1/+1
|
* nxagent: make full screen mode selectable at startupUlrich Sibiller2021-01-151-2/+11
| | | | | | | | fullscreen= now accepts the new value "2" for a fullscreen covering only one screen. -geometry and geometry= now know additional keywords "allscreens" and "onescreen". Fixes ArcticaProject/nx-libs#923
* nxagent: make nxagentUserDefinedFontPath a BooleanUlrich Sibiller2021-01-151-2/+2
|
* nxagent: treat all Traps as Booleans everywhereUlrich Sibiller2021-01-151-3/+3
|
* nxagent: make nxagentVerbose a BooleanUlrich Sibiller2021-01-151-2/+2
|
* nxagent: make Desktop, Rootless and Binder options Booleans (again)Ulrich Sibiller2021-01-151-29/+6
| | | | | They have been changed to tri-state variables (1, 0 and UNDEFINED) between nxagent 1.5.0-90 and -93, for no obvious reason.
* nxagent: make nxagentOption Shadow a BooleanUlrich Sibiller2021-01-151-7/+7
| | | | and add the missing init code.
* nxagent: treat several nxagentOptions as real BooleansUlrich Sibiller2021-01-151-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 BooleansUlrich Sibiller2021-01-151-3/+3
| | | | The already where Booleans but where not using True/False values everywhere
* nxagent: make Fullscreen and AllScreens BooleansUlrich Sibiller2021-01-151-12/+2
| | | | | There's no need/sense in having a tri-state with the third state being UNDEFINED.
* nxagent: clarify sleep time unitsUlrich Sibiller2020-06-291-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_manpageUlrich Sibiller2020-06-291-1/+1
|
* manpage and usage output: add -irlimitUlrich Sibiller2020-06-291-0/+1
| | | | Fixes ArcticaProject/nx-libs#796
* Extend some manpage entriesUlrich Sibiller2020-06-291-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 handlingUlrich Sibiller2020-04-071-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 pointerUlrich Sibiller2020-01-051-1/+11
| | | | no more hardcoded string length
* nxagent: central check for keyboard clone modeUlrich Sibiller2020-01-051-1/+14
|
* Args.c: more debug outputUlrich Sibiller2020-01-051-0/+3
|
* Args.c: do not parse nx/nx marker as optionUlrich Sibiller2020-01-051-9/+32
| | | | slight optimization
* Args.c: fix: do not modify options stringUlrich Sibiller2020-01-051-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 Sibiller2020-01-051-3/+3
|
* Args.c: reformat switch blocksUlrich Sibiller2019-11-151-135/+22
| | | | This makes them much more readable
* Args.c: Unify formattingUlrich Sibiller2019-11-151-188/+91
|
* Args.c: do not print function name in errors or warningsUlrich Sibiller2019-11-151-6/+6
|
* Args.c: scope improvementsUlrich Sibiller2019-11-151-29/+16
|
* Args.c: simplify options string allocationUlrich Sibiller2019-11-151-18/+4
|
* Args.c: fix clipboard=0 or -clipboard 0Ulrich Sibiller2019-11-151-1/+1
| | | | This should disable clipboard but effictively did activate clipboard=both.
* Args.c: remove unreachable codeUlrich Sibiller2019-11-151-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 variableUlrich Sibiller2019-11-151-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 parsingUlrich Sibiller2019-10-031-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 Sibiller2019-08-271-0/+13
|
* Args.c: Add command line option -autograb.Ulrich Sibiller2019-08-271-0/+9
|
* Args.c: use SAFE_freeUlrich Sibiller2019-08-061-8/+6
|
* Drop Ipaq supportUlrich Sibiller2019-06-271-9/+0
| | | | Did we ever provide a binary?
* nxagent: Determine nxagentProgName only onceUlrich Sibiller2019-05-101-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 Sibiller2019-02-151-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 handlingUlrich Sibiller2019-02-111-16/+16
| | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
* Use basename() to derive nxagentProgName cleanly.Mike Gabriel2018-08-241-2/+5
|
* Call checkX2goAgent much earlier (in ddxProcessArgument) and adapt ↵Mike Gabriel2018-08-241-1/+14
| | | | NXAGENTWINDOWNAMELENGTH to its result.
* Args.c: allow options to contain URL encoded charactersUlrich Sibiller2018-08-241-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 nxagentParseSingleOptionUlrich Sibiller2018-08-241-14/+14
| | | | new name is more descriptive