aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xlib: remove superflous parensUlrich Sibiller2019-03-011-1/+1
|
* nxcomp: fix unused variablesUlrich Sibiller2019-03-011-4/+4
|
* nxcomp: fix unused variableUlrich Sibiller2019-03-011-1/+0
|
* Fix: clang does not know about gnu_printfUlrich Sibiller2019-03-011-4/+4
| | | | Found via Travis CI
* Merge branch 'uli42-pr/xfixes_memset' into 3.6.xMike Gabriel2019-03-0110-72/+85
|\ | | | | | | Attributes GH PR #788: https://github.com/ArcticaProject/nx-libs/pull/788
| * xfixes: use calloc for some structsUlrich Sibiller2019-02-281-2/+2
| | | | | | | | Attributes ArcticaProject/nx-libs#382
| * Use C99 designated initializers in various extension RepliesUlrich Sibiller2019-02-287-59/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | commit cc5f09c86f7bea23b7546c3491b2c52ce8100a71 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 9 19:12:43 2012 -0700 Use C99 designated initializers in various extension Replies Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Keith Packard <keithp@keithp.com> Tested-by: Daniel Stone <daniel@fooishbar.org> Attributes ArcticaProject/nx-libs#382
| * Use calloc to zero fill buffers being allocated for replies & eventsUlrich Sibiller2019-02-285-11/+11
|/ | | | | | | | | | | | | | | | commit cdf5bcd420e5bcf4a4a24a275d3133a4e16ce41e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 9 19:12:42 2012 -0700 Use calloc to zero fill buffers being allocated for replies & events Ensures padding bytes are zero-filled Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Keith Packard <keithp@keithp.com> Tested-by: Daniel Stone <daniel@fooishbar.org> Attributes ArcticaProject/nx-libs#382
* ConnDis.c: remove obsolete MNX_TCPCONNUlrich Sibiller2019-02-281-1/+1
| | | | Fixes ArcticaProject/nx-libs#399
* nx-X11/lib/configure.ac: add forgotten status lineUlrich Sibiller2019-02-201-0/+1
|
* nx-X11/lib/configure.ac: fix version numberUlrich Sibiller2019-02-201-1/+1
| | | | reflect the version of libX11 we are basing on
* Merge branch 'gh-sunweaver/pr/xlib-loadable-modules' into 3.6.xUlrich Sibiller2019-02-201-0/+33
|\ | | | | | | Attributes GH PR 778: https://github.com/ArcticaProject/nx-libs/pull/778
| * nx-X11/lib/configure.ac: Assure that the USE_DYNAMIC_XCURSOR macro is ↵Mike Gabriel2019-02-201-0/+33
|/ | | | | | defined at build-time. Fixes ArcticaProject/nx-libs#768.
* Revert "Fix parsing ports set to unix sockets"Mike Gabriel2019-02-201-5/+1
| | | | | | This reverts commit 889de46f759913742478d2cfe20f1f4a6c2effdc. Fixes ArcticaProject/nx-libs#775.
* Regression fix for bfc05af7. Properly end lines in help/usage text.Mike Gabriel2019-02-201-1/+1
| | | | Fixes ArcticaProject/nx-libs#777.
* Merge branch 'uli42-pr/session_types' into 3.6.xMike Gabriel2019-02-182-4/+6
|\ | | | | | | Attributes GH PR #776: https://github.com/ArcticaProject/nx-libs/pull/776
| * Keyboard.c: fix comment.Mike Gabriel2019-02-181-2/+1
| |
| * nxproxy: list known session types in help outputUlrich Sibiller2019-02-181-2/+5
|/ | | | | | | | The old unix-* session types are deprecated and will always lead to a warning message "Unrecognized session type". Internally there are only three session types: agent, proxy and shadow, all the others are mapped to one of those three.
* Merge branch 'uli42-pr/fix_keystrokes' into 3.6.xMike Gabriel2019-02-151-6/+6
|\ | | | | | | Attributes GH PR #774: https://github.com/ArcticaProject/nx-libs/pull/774
| * keystrokes.cfg: Add missing Shift=1 for viewport_move_up/down/rightUlrich Sibiller2019-02-151-6/+6
|/ | | | | | | These keystrokes where the same as their viewport_scroll variants and made the latter being disabled. Fixes ArcticaProject/nx-libs#770
* Merge branch 'uli42-pr/revert' into 3.6.xMike Gabriel2019-02-1530-261/+255
|\ | | | | | | | | | | Attributes GH PR #773: https://github.com/ArcticaProject/nx-libs/pull/773 Fixes ArcticaProject/nx-libs#772.
| * Revert "nxagent: rework Bool handling"Ulrich Sibiller2019-02-1530-261/+255
|/ | | | | | | | | | | | 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
* Merge branch 'uli42-pr/misc' into 3.6.xMike Gabriel2019-02-1331-285/+283
|\ | | | | | | Attributes GH PR #766: https://github.com/ArcticaProject/nx-libs/pull/766
| * nxagent: rework Bool handlingUlrich Sibiller2019-02-1130-255/+261
| | | | | | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
| * Screen.c: code optimization for rootless modeUlrich Sibiller2019-02-111-4/+6
| | | | | | | | | | In rootless mode skip processing user geometry stuff since the values will we overwritten later anyway.
| * Screen.c: simplify and fix handling of rootless modeUlrich Sibiller2019-02-111-23/+17
| | | | | | | | Fixes: ArcticaProject/nx-libs#765
| * rrdispatch.c: remove obsolete ifdefUlrich Sibiller2019-02-111-4/+0
|/
* release 3.5.99.183.5.99.18Mike Gabriel2019-01-316-6/+231
|
* Merge branch 'theqvd-unix_socket_forwarding' into 3.6.xMike Gabriel2019-01-252-4/+8
|\ | | | | | | Attributes GH PR #764: https://github.com/ArcticaProject/nx-libs/pull/764
| * Fix parsing ports set to unix socketsVadim2019-01-221-1/+5
| |
| * Make getUnixPath() return the right value when called without an argument.Vadim2019-01-211-3/+3
|/ | | | This fixes the verification in validateSpec()
* Merge branch 'uli42-pr/window_fixes' into 3.6.xMike Gabriel2019-01-174-133/+129
|\ | | | | | | Attributes GH PR #761: https://github.com/ArcticaProject/nx-libs/pull/761
| * Screen.c: fix handling of fullscreen startupUlrich Sibiller2019-01-141-5/+5
| | | | | | | | | | | | | | | | | | If nxagent is started in fullscreen mode take care the saved size (that is applied on exit of the fullscreen mode) will be configured correctly. Also respect a user provided -geometry option (had been ignored here previously). Fixes ArcticaProject/nx-libs#449
| * Screen.c: fix size calculation in rootless modeUlrich Sibiller2019-01-141-2/+16
| | | | | | | | | | | | | | There's no need to reduce the size to 75% in rootless mode. We always want to have the full size then. Fixes ArcticaProject/nx-libs#757 (Part 2/2)
| * Screen.c: improve readability of size calculationsUlrich Sibiller2019-01-141-65/+57
| | | | | | | | | | | | ... by using some short named variables and the min() macro. No change in behaviour.
| * Screen.c: move identical line out of both parts of an if clauseUlrich Sibiller2019-01-141-3/+2
| |
| * Extensions.c: Cleanup nxagentRandRInitSizes()Ulrich Sibiller2019-01-141-44/+33
| |
| * Extensions.c: fix first resolution being ignoredUlrich Sibiller2019-01-141-3/+3
| | | | | | | | | | | | Minor fix: The loop always started at index 3, comparing against the value at index 2. So the resolution at index 1 (320x240) was never taken into account for anything.
| * Set default screen size to the whole screen in rootless modeUlrich Sibiller2019-01-141-2/+2
| | | | | | | | | | | | | | This solves weird window (menu) placement and drawing behaviour on right/lowest 25% of the screen. Fixes ArcticaProject/nx-libs#757 (Part 1/2)
| * Window.c: move WM_STATE handling to separate functionUlrich Sibiller2019-01-141-17/+19
|/
* Merge branch 'uli42-pr/fix_xlibcrash' into 3.6.xMike Gabriel2018-12-221-1/+11
|\ | | | | | | Attributes GH PR #754: https://github.com/ArcticaProject/nx-libs/pull/754
| * XlibInt: check for XlibError before accessing other dpy fieldsUlrich Sibiller2018-12-221-0/+10
| | | | | | | | | | | | This fixes an assertion being triggered on reconnect: assertion=assertion@entry=0x7f2f0bba6510 "(dpy->flags & XlibDisplayPrivSync) != 0", file=file@entry=0x7f2f0bba62fc "XlibInt.c", line=line@entry=895,
| * XlibInt.c: fix wrong debug messageUlrich Sibiller2018-12-221-1/+1
|/
* nxagent.1 man page: Grammar fix.Mike Gabriel2018-12-191-1/+1
|
* Merge branch 'uli42-pr/x2go_bypass' into 3.6.xMike Gabriel2018-12-193-32/+92
|\ | | | | | | Attributes GH PR #744: https://github.com/ArcticaProject/nx-libs/pull/744
| * nxagent: bypass X2go's keyboard configuration hackUlrich Sibiller2018-12-193-32/+92
|/ | | | | | | | | | | | If X2go runs in auto keyboard mode it will pass keyboard=null/null to the agent and set the keyboard afterwards with setxkbmap. This patch lets nxagent handle that situation internally (null/null will be interpreted as clone) and disables X2go's mechanism (by creating a dir that effectively blocks it; see x2gosetkeyboard) This is only activated if the agent is run as "x2goagent". Fixes ArcticaProject/nx-libs#368
* Merge branch 'uli42-pr/improve_keyboard2' into 3.6.xMike Gabriel2018-12-194-104/+156
|\ | | | | | | Attributes GH PR #743: https://github.com/ArcticaProject/nx-libs/pull/743
| * Keyboard.c: add static keyword where appropriateUlrich Sibiller2018-12-191-5/+5
| |
| * nxagent: simplify keycode conversion setupUlrich Sibiller2018-12-193-16/+7
| |
| * nxagent: store remote keyboard in global variablesUlrich Sibiller2018-12-193-111/+106
| | | | | | | | This avoids some roundtrips.