aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
Commit message (Collapse)AuthorAgeFilesLines
* Screen.c: clean up superfluous whitespaceUlrich Sibiller2017-03-011-4/+3
|
* Screen.c: Ensure that an output is unused before destroying itUlrich Sibiller2017-03-011-14/+28
| | | | Fixes ArcticaProject/nx-libs#293
* hw/nxagent/Init.c: Amend artifact in license header.Mike Gabriel2016-12-221-5/+0
|
* Screen.c: more debug output formatting improvementsUlrich Sibiller2016-12-071-8/+8
|
* Screen.c: fix uninitalized variableUlrich Sibiller2016-12-071-0/+1
|
* Screen.c: fix compile warnings in DEBUG modeUlrich Sibiller2016-12-071-5/+5
|
* Screen.c: fix formattingUlrich Sibiller2016-12-071-9/+9
|
* Screen.c: improve debugging outputUlrich Sibiller2016-12-071-7/+29
|
* Drop glx_ansic.h wrapper and call malloc, realloc, free and str-funcs directly.Kristian Høgsberg2016-12-041-4/+4
| | | | | | | | | | | | | | | | | commit 2d2d38d17cc2558f8a41166a4a1578bc4c663c37 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 17 01:47:25 2006 +0000 Check for glproto when building GLX and make sure we have at least 1.4.6. Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs directly. We don't check the glproto version as we know what it is (we have our own proto file). Furthermore, we skip the switch from --glX<func> -> x<func> and directly switch to <func> (e.g. __glXMalloc() -> malloc()). Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Remove libcwrapper usage from xorg server modules. The libcwrapper is not ↵Eric Anholt2016-12-041-1/+1
| | | | | | | | | | | | | | | used in nxagent. From c3d14036729fd186d4ec7ca1de603e1f2d174e2f Mon Sep 17 00:00:00 2001 From: Eric Anholt <anholt@freebsd.org> Date: Fri, 10 Feb 2006 22:00:30 +0000 Subject: Remove libcwrapper usage from xorg server modules. The libcwrapper is only of (marginal) use in the drivers, and that usage remains. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fixes ArcticaProject/nx-libs#246 (together with merge commit ecd335fa61551d0b86d3f075469a7743ab899d95).
* slightly improve rrxinerama debug outputUlrich Sibiller2016-12-031-12/+12
|
* Fix compilation warningsUlrich Sibiller2016-12-032-10/+10
|
* add .gitignore filesUlrich Sibiller2016-11-171-0/+3
|
* nxcompext: Move code into Xserver subtree, as nxcompext requires Xserver ↵Mike Gabriel2016-11-1546-31/+9259
| | | | | | includes at build time. Fixes ArcticaProject/nx-libs#276.
* Xserver/hw/nxagent/Imakefile: Introduce the NULL variable.Mike Gabriel2016-11-091-64/+113
|
* Keyboard.c: evdev is only existing on LinuxUlrich Sibiller2016-11-081-4/+3
| | | | | | | | | | | Remove check for the remote side operating system because the evdev check will only succeed on Linux (and in future FreeBSD?) anyway. Besides, this makes keycode conversion work when using nxagent without nx transport (as an xnest replacement) or when not providing client=linux in the options. This fixes the second issue mentioned in ArcticaProject/nx-libs#239 (keyboard not working correctly).
* Keyboard.c: move variable to inner scopeUlrich Sibiller2016-11-081-7/+5
|
* Reconnect.c: simplify code by using strndupUlrich Sibiller2016-11-081-12/+4
| | | | Also abort reconnect on strndup failure.
* Keyboard.c: replace malloc/strcpy by str(n)dupUlrich Sibiller2016-11-081-8/+2
|
* Keyboard.c: more whitespace/formatting fixesUlrich Sibiller2016-11-081-12/+15
|
* Keyboard.c: improve keyboard file creationUlrich Sibiller2016-11-081-5/+5
| | | | Fixes ArcticaProject/nx-libs#239
* Keyboard.c: use NULL instead of 0Ulrich Sibiller2016-11-081-5/+5
|
* Keyboard.c: remove superfluous whitespaceUlrich Sibiller2016-11-081-1/+1
|
* Keyboard.c: Fix wrong error msg prefixUlrich Sibiller2016-11-081-1/+1
|
* Keyboard.c: Fix and simplify keyboard config file handlingUlrich Sibiller2016-11-081-12/+3
| | | | | keyboard config file for nxagent/x2goagent was broken from the moment it got implemented. nxagentXkbConfigFilePath had never been filled.
* Improve DEBUG/TEST output regarding keyboard stuffUlrich Sibiller2016-11-081-12/+37
|
* Drop unused define NXAGENT_KEYMAP_DIR_FILEUlrich Sibiller2016-11-081-2/+0
|
* remove DECnet supportUlrich Sibiller2016-11-021-4/+4
| | | | just as Xorg upstream did
* Imakefile cleanup: Delete all ancient Vcs comments stemming from SVN times ↵Mike Gabriel2016-10-311-2/+0
| | | | | | of X.org and XFree86. Fixes ArcticaProject/nx-libs#250.
* Window.c: Fix function assignment warningUlrich Sibiller2016-10-201-1/+1
| | | | | | Window.c: In function ‘nxagentFrameBufferPaintWindow’: Window.c:1968:31: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic] PaintWindowBackgroundBackup = pWin->drawable.pScreen -> PaintWindowBackground;
* Display.c: remove unused variableUlrich Sibiller2016-10-201-2/+0
| | | | | | | Display.c: In function ‘nxagentCheckForPixmapFormatsCompatibility’: Display.c:2471:8: warning: variable ‘one_match’ set but not used [-Wunused-but-set-variable] bool one_match = false; ^
* Colormap.c: add cast to avoid warningUlrich Sibiller2016-10-201-1/+1
| | | | | | | Colormap.c: In function ‘nxagentSetInstalledColormapWindows’: Colormap.c:314:27: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘WindowPtr’ [-Wformat=] pWin, pWin -> drawable.class); ^
* Args.c: fix string format warningUlrich Sibiller2016-10-201-2/+2
| | | | warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long int’ [-Wformat=]
* hw/nxagent/{Clipboard|Events}.c: Typo fix in error messages.Mike Gabriel2016-10-132-3/+3
|
* Remove CRAY supportUlrich Sibiller2016-10-101-6/+1
| | | | | This basically repeats commit bad67799229b94ea2ba0174319949766ad1c2fc6 after the upgrade to libX11 1.3.4.
* xserver: drop XKBSRV_NEED_FILE_FUNCSUlrich Sibiller2016-10-061-3/+5
| | | | just as upstream did
* xserver: use own copy of XKBstr.h headerUlrich Sibiller2016-10-061-1/+0
| | | | just like upstream does
* xserver: use own copy of XKBsrv.h headerUlrich Sibiller2016-10-061-0/+1
| | | | just like upstream does
* hw/nxagent/X11/include/Xrandr_nxagent.h: Reduce injected libXrandr(_nxagent) ↵Mike Gabriel2016-10-011-22/+0
| | | | header file, so that it only contains the XRRScreenChangeNotifyEvent typedef.
* Fix FTBFS with gcc 4.4Ulrich Sibiller2016-10-011-2/+0
| | | | | | | This fixes ArcticaProject/nx-libs#204. However, this fix does not address the root of the problem, it simply avoids it. We could run into it again... See bugreport for an explanation.
* Revert "Fix wrong include"Ulrich Sibiller2016-09-241-7/+0
| | | | | | | After commit cbf3ef0f219a7d5c94a7f5d5b46c9a0e26cc6588 this no longer necessary. This reverts commit 9a4bb50af54ced8d53112b8fa3b5b9dc3b481224.
* hw/nxagent/Init.c: Fix copy+paste flaw when re-arranging copyright ↵Mike Gabriel2016-08-241-2/+2
| | | | information as display by nxagent.
* Fix pasting the clipboard directly after session start.Ulrich Sibiller2016-08-241-0/+9
|
* nxagent.1 man page: Some layout fixes for string options with well-defined ↵Mike Gabriel2016-07-281-0/+5
| | | | expected selections of values.
* hw/nxagent/Display.c: Fix comment where the meaning of the "bypass" ↵Mike Gabriel2016-07-281-3/+2
| | | | reconnectchecks parameter value is explained.
* nxagent.1 man page: Add explanation about the new reconnectchecks nx/nx option.Mike Gabriel2016-07-281-0/+26
|
* hw/nxagent/Args.c: Follow-up fix for PR #183: expect reconnectchecks=bypass ↵Mike Gabriel2016-07-281-1/+1
| | | | instead of =none.
* nx-X11/programs/Xserver/hw/nxagent/Display.c: add FIXME comment to ↵Mihai Moldovan2016-07-281-0/+1
| | | | | | nxagentCheckForColormapsCompatibility(). Maybe needs special strictness handling as well.
* nx-X11/programs/Xserver/hw/nxagent/Display.c: add FIXME comment to ↵Mihai Moldovan2016-07-281-0/+1
| | | | | | nxagentInitAndCheckVisuals(). Maybe needs special strictness handling as well.
* nx-X11/programs/Xserver/hw/nxagent/Display.c: split up ↵Mihai Moldovan2016-07-281-5/+9
| | | | | | | | | | | | | | | nxagentCheckForPixmapFormatsCompatibility() and nxagentInitPixmapFormats(). Don't implicitly call the checking function in the init function (and throw away the checking functions result...) Instead, explicitly use the checking function after the init function in other parts of the code and throw away the checking functions return value selectively or actually use it while reconnecting. This is totally different behavior compared to the original one. Hopefully it doesn't cause any problems (i.e., hopefully there was no good reason for never using the checking functions return value, but an oversight.)