aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
Commit message (Collapse)AuthorAgeFilesLines
* nxagent: treat several nxagentOptions as real BooleansUlrich Sibiller2021-01-151-1/+1
| | | | | | | Adaptive, Composite, DeviceControl, DeviceControlUserDefined, IgnoreVisibility, InhibitXkb, Nested, Menu, MagicPixel, Persistent, Reset, ResetzKeyboardAtResume, SharedMemory, SharedPixmaps, Streaming, UseDamage, ViewOnly, Xdmcp, Xinerama
* NXshm.c: cleanup nxagent_fbShmCreatePixmapUlrich Sibiller2020-05-071-17/+20
| | | | ... to match it as closely as possible to the upstream version.
* NXshm.c: slight simplificationUlrich Sibiller2020-05-071-5/+2
|
* NXshm.c: simplify Dispatch functionsUlrich Sibiller2020-05-071-11/+4
|
* nxagent: make all traps BooleansUlrich Sibiller2020-05-071-8/+8
| | | | and use True/False instead of 1/0
* Literals.h: always include in compilationUlrich Sibiller2020-05-071-2/+0
| | | | | | This change ensures Literals.h is always referenced during compilation, effectively hiding it from "unused file" detection we do occasionally to clean up the source code.
* NXshm.c: call upstream miShmPutImageUlrich Sibiller2019-11-021-37/+1
| | | | instead of having an identical copy in nxagent_miShmPutImage
* NXshm.c: use upstream versions of Dispatch functionsUlrich Sibiller2019-11-021-88/+6
| | | | instead of having an own (identical) copy
* NXshm.c: rework code to be identical for ProcShmDispatch and SProcShmDispatchUlrich Sibiller2019-11-021-60/+60
|
* nxagent: avoid nested externsUlrich Sibiller2019-09-291-1/+2
|
* NXshm.c: remove left-overs from patchUlrich Sibiller2019-06-121-3/+3
| | | | format was broken, would not compile
* Revert "nxagent: rework Bool handling"Ulrich Sibiller2019-02-151-9/+9
| | | | | | | | | | | | 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-9/+9
| | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
* Lift Xext to xorg 1.4.2Ulrich Sibiller2018-11-091-47/+118
|
* Revert "NXhsm.c: add missing code"Mihai Moldovan2018-02-091-20/+6
| | | | | | | | | | | | | | This reverts commit c804d99f2c4ea21e37cc8f6c3168b7b79d0d721a. It seems like the missing code was missing for a good reason. Including it leads to very strange issues when coupled with libXcomp and using connection speed settings lower than LAN (and even on LAN some icons are not showing up correctly, e.g., when using MATE). Further investigation on why this happens pending and might happen at a later time. Fixes: ArcticaProject/nx-libs#656
* NXhsm.c: drop setting of sequence numberUlrich Sibiller2018-02-021-1/+0
| | | | is done in WriteEventsToClient
* NXhsm.c: add missing codeUlrich Sibiller2018-02-021-6/+20
| | | | This code was already existing in Xorg 6.6, but never in NX, for whatever reason.
* Add CreatePixmap allocation hints.Aaron Plattner2017-04-101-3/+4
| | | | | | | | | | | | | | | | Backported from X.org: commit f2e310132fbe1520c1b5f3da4faa2d2d47835e72 Author: Aaron Plattner <aplattner@nvidia.com> Date: Wed Oct 31 14:15:35 2007 -0700 Add CreatePixmap allocation hints. These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Fix "uninitialised byte(s)" complaints from valgrindUlrich Sibiller2017-03-021-1/+2
|
* VCS info lines: Remove ancient X.org / XFree86 VCS info line from code files.Mike Gabriel2016-07-061-2/+0
| | | | | This has already been started while replacing copyright info in file headers and has now been completed with this commit.
* Per-file copyright notices: Update copyright information in file headers ↵Mike Gabriel2016-07-061-7/+15
| | | | that NoMachine placed there own copyright statement in.
* Replace INITARGS with voidTomas Carnecky2016-07-051-1/+1
| | | | | | | | | | | | | | | INITARGS was a hardcoded define to void. Since knowing the function signature for your extensions is kinda useful, just replace it with a hardcoded void, but leave the define there for API compatibility. Signed-off-by: Tomas Carnecky <tom@dbservice.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* nx-X11/programs/Xserver: Drop {X,x}alloc() macros, use malloc() instead.Mike Gabriel2016-07-021-1/+1
|
* nx-X11/programs/Xserver: Drop {X,x}free() macros, use free() instead.Mike Gabriel2016-07-021-1/+1
| | | | Fixes ArcticaProject/nx-libs#105
* Xserver/include/protocol-versions.h: Switch to having an Xserver-specific ↵Mike Gabriel2016-07-021-1/+0
| | | | header file containing all use protocol versions.
* hw/nxagent/NXshm.c: Shrink file, drop duplicate code that can identically be ↵Mike Gabriel2016-06-251-962/+3
| | | | found in Xext/shm.c.
* Clear header file namespace separation (<X11/...> vs. <nx-X11/...>).Mike Gabriel2015-12-281-4/+4
| | | | | | | | | | | | | | | | | | | | In the process of building nxagent against more and more system-wide installed X.org libraries, we come to the limit of including structs from this (bundled nx-X11) and that (system-wide X.Org) library. This commit introduces a clear namespace separation of headers provided by nx-X11 and headers provided by X.Org. This approach is only temporary as we want to drop all nx-X11 bundled libraries from nx-libs. However, for a while we need to make this separation clear and also ship some reduced fake X.Org headers that avoid pulling in libX* and libNX_X* symbols at the same time. This patch has been tested on Debian jessie and unstable and requires no overall testing on various distros and distro versions, as we finally will drop all libNX_X* libraries and build against X.org's client libs. For now, this hack eases our development / cleanup process.
* Replace 'pointer' type with 'void *'Keith Packard2015-12-281-11/+11
| | | | | | | | | | This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer' is used throughout the X server for other things, and having duplicate names generates compiler warnings. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net> Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Backport: xserver: Avoid sending uninitialized padding data over the networkPeter Åstrand2015-07-021-0/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* NXAGENT_UPGRADE code cleanup:Mike Gabriel2015-04-161-44/+117
| | | | | | | | | | | NX agent contains/ed two build trees. An old one (probably pre-3.x.y) and a "newer" one. The "newer" code tree used to become enabled by setting NXUpgradeAgentServer in nx-X11/config/cf/host.def to YES. As building the NXUpgradeAgentServer has been the default for years now, we drop all code that does not get used at build time for NXUpgradeAgentServer == YES (i.e., the code that belongs to the pre-3.x.y phase of NX agent).
* Imported nxagent-3.1.0-2.tar.gznxagent/3.1.0-2Reinhard Tartler2011-10-101-0/+1425
Summary: Imported nxagent-3.1.0-2.tar.gz Keywords: Imported nxagent-3.1.0-2.tar.gz into Git repository