aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
Commit message (Collapse)AuthorAgeFilesLines
* hw/nxagent/Window.c: Introduce NX_REAL_WINDOW window property.Mike Gabriel2017-06-304-0/+45
| | | | | | | | | | | | | | | | In nxagent sessions, all X11 clients have a representation of their NX session-side window object on the real X-Server side. The window object gets stored in the new NX_REAL_WINDOW window property immediately after window creation. This mapping is created in nxagentCreateWindow(). On session resumption, the client side window IDs normally change. Thus, during session resumption, all NX_REAL_WINDOW properties require being updated. This happens in nxagentReconnectWindow(). While a session is suspended, the NX_REAL_WINDOW property does not exist. It gets removed during nxagentDisconnectWindow().
* hw/nxagnet/Atoms.c: In DEBUG mode, we need validateString() which is not ↵Mike Gabriel2017-06-301-0/+5
| | | | statically defined in Utils.h. Thus including it for DEBUG builds.
* Fix FTBFS on Linux based HP-PARisc 32-bit systems. Thanks to John Paul ↵Mike Gabriel2017-06-286-2/+39
| | | | | | | Adrian Glaubitz from FU Berlin for providing access to a corresponding porters' machine. This partially reverts nx-libs commit f6dcf2f. The 'hpux' stuff stays out, the __hppa__ gets re-introduced.
* dix: Remove arch awareness from servermd.h (X.org v2, nx-libs v4)Adam Jackson2017-06-281-293/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 1af15aaf278edcf6f6de94774350e34a80883c24 Author: Olivier Fourdan <ofourdan@redhat.com> Date: Fri Apr 10 10:07:38 2015 +0200 dix: Fix image byte order on big endian hardware Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using them. Otherwise, image byte order could be wrong on big endian hardware even though endianess detection is correct. Reported-by: Tim Waugh <twaugh@redhat.com> Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com> commit 4302484ef2e67b2e05756c7ee0834dce938f1b44 Author: Adam Jackson <ajax@redhat.com> Date: Mon Jul 21 10:06:53 2014 -0400 dix: Remove arch awareness from servermd.h (v2) At this point we have no architectures where image byte order is different from bitmap bit order, or where either of those two are not also the native word endianness. Hooray, one more place where we don't have to worry about enabling new CPU architectures. v2: Rebase to master to handle the addition of ppc64le, arc, and xtensa, and use autoconf's endianness detection instead of gcc predefines. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Keith Packard <keithp@keithp.com> commit f6469f1910c72add358b7263d69bd116b4450ece Author: Adam Jackson <ajax@redhat.com> Date: Mon Jul 21 10:06:46 2014 -0400 dix: Remove some XFree86 3.x leftovers Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Keith Packard <keithp@keithp.com> commit 5aaacb501ff26bad391664cc7367bfe5164f72c7 Author: Adam Jackson <ajax@redhat.com> Date: Mon Jul 21 10:06:45 2014 -0400 dix: Remove an ancient IBM configuration Whatever unix this was meant to be is either no longer in circulation, or is AIX, which we don't claim to support anyway. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Keith Packard <keithp@keithp.com> commit 446fe9eecddd1337f9d5164dd7c301e1ba3dfe32 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jul 17 21:37:50 2008 +0300 Dead code removal Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* nx-X11/config/cf/linux.cf: Drop AsOutputArchSize macro from ↵Mike Gabriel2017-06-271-2/+0
| | | | Sparc(64)Architecture ifdef-block. It does not seem to be used anywhere else.
* Fix FTBFS on mips64el architecture due to missing definition of the ↵Mike Gabriel2017-06-272-1/+17
| | | | _XSERVER64 macro.
* Mesa.patches_6.4.1: Add missing EOL at EOF to series file.Mike Gabriel2017-06-271-1/+1
|
* Mesa.patches: Have Mesa.patches_6.4.2 rather as a copy than as a symlink to ↵Mike Gabriel2017-06-276-1/+115
| | | | Mesa.patches_6.4.1. Rebase 4004_define-USE_IEEE-macro-for-more-platforms.patch against Mesa 6.4.2 while being at it.
* nx-X11/extras: Add symlinks to Mesa_6.4.2 and patchesftrapero2017-06-273-2/+3
|
* Include mesa-6.4.2 projectftrapero2017-06-272463-0/+1012983
|
* Mesa subtree: Adapt build process for building against Mesa that gets pulled ↵Mike Gabriel2017-06-1510-2/+120
| | | | in via git subtree.
* nx-X11/extras/Mesa: Drop bundled Mesa, place a symlink to imported Git ↵Mike Gabriel2017-06-15350-215316/+1
| | | | subtree of Mesa_6.4.1 instead.
* Include mesa-6.4.1 projectftrapero2017-06-152462-0/+1012828
|
* Args.c: fix sync option parsingUlrich Sibiller2017-06-091-4/+2
| | | | This fixes ArcticaProject/nx-libs#465
* remove BuildRman defineUlrich Sibiller2017-06-063-17/+0
|
* nx-X11/config/cf/gnuLib.rules: Drop ancient Vcs comment. Erroneously sneaked ↵Mike Gabriel2017-05-061-1/+0
| | | | in with reintroduction of GNU/<non-Linux> support.
* nx-X11/config/cf/gnu*: Re-introduce GNU/Hurd support to the nx-X11 buildflow.Mike Gabriel2017-05-043-0/+361
|
* remove _X_DEPRECATED for XKeycodeToKeysymUlrich Sibiller2017-05-041-1/+4
| | | | | We need that function for performance reasons. By removing _X_DEPRECATED we get rid of compiler warnings.
* Revert "Switch from using libNX_X11's deprecated XKeycodeToKeysym() function ↵Ulrich Sibiller2017-05-042-26/+8
| | | | | | | | | | | | | | | | | to using XGetKeyboardMapping()." This reverts commit efc0dae0519aa0ef1fabea6a64919475fd916347. Recent test revealed keyboard hangs on high latency connections. These hangs are not happening in 3.5.0 releases if the nx-libs. The commit above is responsible for them so we take that back. Interestingly nxcomp has special treatment for XGetKeyboardMapping() so it should normally speed up things but it results in the opposite for us. Needs further examination. This fixes ArcticaProject/nx-libs#450
* Xserver/Imakefile: Drop redundant library path option ↵Mike Gabriel2017-04-211-3/+0
| | | | -L../../../nx-X11/exports/lib when linking nxagent. As -L../../exports/lib is already present and points to the same location.
* Xserver/Imakefile: Change order of linker options, so that self-built ↵Mike Gabriel2017-04-211-1/+1
| | | | components get mentioned first in the nxagent linker command.
* hw/nxagent/Dialog.c: Drop unused dialog for DIALOG_DISABLE_XKB_LOCAL.Mike Gabriel2017-04-212-41/+1
| | | | Fixes ArcticaProject/nx-libs#383.
* Revert "NXpicturestr_PictSolidFill.h: Drop file and revert db8705. Not an ↵Mike Gabriel2017-04-214-5/+82
| | | | | | | | | | | | issue anymore nowadays." This reverts commit 6c8c950258cf0da0cf24c5e80c2216914ac282a4. Fixes ArcticaProject/nx-libs#433. This patch is still a candidate for being re-implemented without extending the _PictSolidFill struct, but for now, we'll have to re-introduce commit db8705 for the sake of having fonts readable after resumption of remote NX sessions.
* nx-X11/programs/Xserver/os/connection.c: compact display autodetection code.Mihai Moldovan2017-04-201-4/+2
|
* man/nxagent.1: Document the nxagent specific usage pattern of the displayfd ↵Mike Gabriel2017-04-201-2/+17
| | | | cmdline option.
* Xserver/os/connection.c: If -displayfd and an explicit display port number ↵Mike Gabriel2017-04-201-0/+11
| | | | are given, use the explicit display number as a starting point for auto-detecting the next available display number.
* Xserver/os/connection.c: Accompany display number with some human-readable ↵Mike Gabriel2017-04-201-0/+9
| | | | (machine-parseable) text when -displayfd is set to STDERR.
* nxagent.1: some more rephrasingUlrich Sibiller2017-04-201-6/+6
|
* nxagent.1: fix: "tolerancechecks" was documented as "reconnectchecks"Ulrich Sibiller2017-04-201-2/+2
|
* nxagent.1: highlight nxagentUlrich Sibiller2017-04-201-17/+17
|
* nxagent.1: use nxagent everywhereUlrich Sibiller2017-04-201-13/+13
| | | | "nx-X11 Agent" looks and sounds ugly.
* nxagent.1: rephrase descriptionUlrich Sibiller2017-04-201-2/+3
|
* nxagent.1: add -options, previously undocumentedUlrich Sibiller2017-04-201-3/+15
|
* nxagent.1: fix typoUlrich Sibiller2017-04-201-1/+1
|
* nxagent.1: remove no longer existing -co option from manpageUlrich Sibiller2017-04-201-4/+0
|
* Xserver/GL/glx/glxext.c: Fix for previous commit, re-adding a comment ↵Mike Gabriel2017-04-191-0/+1
| | | | starter '/*'.
* Clearing comments from $XFree86$ (et al.) header lines.Mike Gabriel2017-04-1962-103/+1
|
* Xserver: Build nxagent with MIT-SCREEN-SAVER extension enabled.Mike Gabriel2017-04-131-1/+1
| | | | Fixes ArcticaProject/nx-libs#80
* Mesa.patches: Define USE_IEEE for __aarch64__ and __mc68000__, as well.Mike Gabriel2017-04-132-0/+17
|
* nx-X11/config/cf: Clean-up left-overs from having our own libNX_Xext shared ↵Mike Gabriel2017-04-132-3/+0
| | | | library.
* nx-X11/config/cf/linux.cf: Fix FTBFS on Linux SPARC64 due to missing ↵Mike Gabriel2017-04-131-1/+2
| | | | -D_XSERVER64 definition.
* nx-X11/config/cf/linux.cf: Fix FTBFS on arm64 (aarch64) due to missing ↵Mike Gabriel2017-04-121-1/+1
| | | | -D_XSERVER64 definition.
* release 3.5.99.53.5.99.5Mike Gabriel2017-04-111-1/+1
|
* Regression fix for added libXfont2 API support:Mike Gabriel2017-04-108-23/+13
| | | | | | | | | | - Move FONT_DEFINES and XLIBFONT definition to from Server.tmpl to Imake.tmpl. - Add FONT_DEFINES to ALLDEFINES. - Drop SpecialCObjectRules with FONT_DEFINES from various Imakefiles again, FONT_DEFINES is now set "globally". - Hand over FONT_DEFINES from main Makefile to nx-X11's make BuildEnv to make gccmakedep happy.
* hw/nxagent/Pixmap.c et al.: Propagate usage_hint through ↵Mike Gabriel2017-04-105-17/+24
| | | | nxagentCreatePixmap, as well.
* Mesa.patches: Adapt Mesa to CreatePixmap allocation hint ABI bump.Mike Gabriel2017-04-102-0/+14
|
* Save pixmap allocation hints into the PixmapRec.Aaron Plattner2017-04-104-3/+7
| | | | | | | | | | | | Backported from X.org: commit f797c96845a3fab37cda6839ebecf9ac5401fd6e Author: Aaron Plattner <aplattner@nvidia.com> Date: Thu Nov 15 12:12:02 2007 -0800 Save pixmap allocation hints into the PixmapRec. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Add CreatePixmap allocation hints.Aaron Plattner2017-04-1026-42/+65
| | | | | | | | | | | | | | | | 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>
* Xserver: Support building against libXfont2 (v2) API and old libXfont(1) API ↵Mike Gabriel2017-04-1023-20/+621
| | | | | | | | | | | | | | | | | | | | | | | | alike. Fixes ArcticaProject/nx-libs#296. Inspired by the following X.org commit. Other than X.org, we will continue support for building nx-libs against libXfont1 for a while. commit 05a793f5b3c40747d5a92a076def7f4fb673c7e7 Author: Keith Packard <keithp@keithp.com> Date: Tue Sep 1 18:50:55 2015 -0700 dix: Switch to the libXfont2 API (v2) This new libXfont API eliminates exposing internal X server symbols to the font library, replacing those with a struct full of the entire API needed to use that library. v2: Use libXfont2 instead of libXfont_2 Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
* SetFontPath: set client->errorValue on failure.Jamey Sharp2017-04-104-12/+7
| | | | | | | | | | | | | | | | | | | | | | | Backported from X.org: commit 21ceae9002c6364deb3d074cf2da7d3864cf6879 Author: Jamey Sharp <jamey@minilop.net> Date: Tue May 11 10:24:00 2010 -0700 SetFontPath: set client->errorValue on failure. Previously the callers were only setting errorValue on Success, when it's ignored, and leaving it alone on failure, when it's sent to the client. Since SetFontPath takes the ClientPtr, let it set client->errorValue instead of letting the callers continue to get it wrong. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Keith Packard <keithp@keithp.com> Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>