aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
Commit message (Collapse)AuthorAgeFilesLines
* Coverity # 491: Check version number correctly.Adam Jackson2017-12-071-1/+1
| | | | | | | | | | | | Backported from X.org: commit 72cc6307257fcbb800267464487bf918ee674328 Author: Adam Jackson <ajax@nwnk.net> Date: Wed Mar 15 16:32:05 2006 +0000 Coverity # 491: Check version number correctly. Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
* Coverity # 487: Check version number correctly.Adam Jackson2017-12-071-1/+1
| | | | | | | | | | | | | | Backported from X.org: commit 152090ce442e94de1ae920208a92931af6493c8c Author: Adam Jackson <ajax@nwnk.net> Date: Wed Mar 15 16:33:12 2006 +0000 Coverity # 487: Check version number correctly. Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#542
* Coverity # 807: Fix a memory leak in XFixesExpandRegion.Adam Jackson2017-12-071-0/+1
| | | | | | | | | | | | | | Backported from X.org: commit 5e106a71b9f8077216d41619402952b0005dd8a4 Author: Adam Jackson <ajax@nwnk.net> Date: Wed Mar 15 16:49:04 2006 +0000 Coverity # 807: Fix a memory leak in XFixesExpandRegion. Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#541
* randr: free crtc->outputs on destroyGiuseppe Bilotta2017-12-071-0/+1
| | | | | | | | | | | | | | | | | Backported from X.org: commit fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1 Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com Date: Thu Nov 9 10:21:21 2017 +0100 randr: free crtc->outputs on destroy Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#558
* randr: always realloc crtcs and outputsGiuseppe Bilotta2017-12-072-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backported from X.org: commit 16381d186e7c791031392ed8afcfd33009854e9e Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com Date: Thu Nov 9 10:21:20 2017 +0100 randr: always realloc crtcs and outputs When the last crtc (resp. output) is destroyed, the rrScrPriv crtcs (resp. outputs) fields do not get cleared, which can lead to a situation where the private's numCrtcs (resp. numOutputs) field is zero, but the associated memory is still allocated. Just checking if numCrtcs (resp. numOutputs) is zero is thus not a good criteria to determine whetehr to use a realloc or a malloc. Since crtcs (resp. outputs) are NULL-initialized anyway, relying on numCrtcs (resp. numOutputs) is actually unnecessary, because reallocation of a NULL ptr is equivalent to a malloc anyway. Therefore, just use realloc() unconditionally, and ensure that the fields are properly initialized. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#558
* Drop bin wrappers for nxagent and nxproxy, directly install nxproxy and ↵Mike Gabriel2017-12-051-1/+1
| | | | | | nxagent to BINDIR. Fixes ArcticaProject/nx-libs#546.
* Keyboard.c: make nxagentKeycodeConversion a BooleanUlrich Sibiller2017-11-231-1/+1
|
* add option keyconv=(auto|on|off)Ulrich Sibiller2017-11-235-0/+67
| | | | | | | | | | | | Adds a new option called "keyconv" to control keycode conversion. Before commit 2f2ade61a8823bad012737b2b388dcc168cccbbf keycode conversion was activated if the client was Linux and client side rules and/or model was "evdev". The only (and undocumented) way to disable that was providing a value different from "linux" for the "client" option (which had no other effect). The mentioned commit removed the dependency on Linux and so there was no way anymore to disable keycode conversion.
* Keyboard.c: Use booleans for nxagentKeycodeConversionUlrich Sibiller2017-11-231-5/+5
|
* nx-X11/lib/include/xtrans/Xtranssock.c: drop UNIX path overrides as well.Mihai Moldovan2017-11-221-168/+0
| | | | | | | Was missed in GH PR #544: https://github.com/ArcticaProject/nx-libs/pull/544 Fixes: ArcticaProject/nx-libs#536
* Error.c: simply nxagentGetClientsPath()Ulrich Sibiller2017-11-211-31/+8
| | | | | | nxagentGetClientsPath() allocated and returned a string that was never used anywhere because it also fills the global variable with the same value.
* simply free() callsUlrich Sibiller2017-11-2112-154/+50
| | | | free() can handle NULL so there's no need to check this ourselves
* Args.c: simplify nxagentProcessOptionsFile()Ulrich Sibiller2017-11-181-20/+16
|
* Args.c: Fix compile bug with DEBUG enabledUlrich Sibiller2017-11-181-1/+1
|
* Fix options parsing on reconnectUlrich Sibiller2017-11-183-36/+43
| | | | | | Commit 3f7b3001988bf921e6cd860f03a6256b1451ee3d was incomplete: the options parameter was not parsed as a string on reconnect. It was always assumed to be a filename.
* fix broken path due to missing /Ulrich Sibiller2017-11-171-10/+10
|
* NXglxext.c: rename and relocate variableUlrich Sibiller2017-11-171-4/+3
| | | | | This change make the code more similar to upstream Xorg which helps when merging in changes from later Xorg releases.
* glxext.c/NXglxext.c: merge two functions into oneUlrich Sibiller2017-11-172-120/+9
| | | | | | | This has also been done in Xorg 7.1 This also fixes a little flaw for the swapped case: a check for glXRenderLarge was missing.
* keysym.h: fix include pathUlrich Sibiller2017-11-171-1/+1
|
* nxagent manpage: some minor formatting improvements and typo fixesUlrich Sibiller2017-11-171-55/+73
| | | | | delete trailing whitespace, break long lines, always emphasize nxagent and nxproxy, emphassize options identcially everywhere
* **/.gitignore: add stray files.Mihai Moldovan2017-10-101-0/+2
| | | | | | These are already cleaned up by the top-level Makefile. Fixes: ArcticaProject/nx-libs#523
* .gitignore: Improve all .gitignore files, adapt to autotools build-flow and ↵Mike Gabriel2017-10-092-1/+14
| | | | its build cruft.
* release 3.5.99.103.5.99.10Mike Gabriel2017-09-151-1/+1
|
* Assure that headers from libNX_X11 are always included from $(INCDIR)/nx-X11/.Mike Gabriel2017-09-132-0/+69
|
* nx-X11/programs/Xserver/hw/nxagent/Render.c: use macros obtaining values ↵Mihai Moldovan2017-09-131-10/+10
| | | | | | | | | | | | | | | | from _XPrivDisplay instead of the other Display structure directly. Fixes: ArcticaProject/nx-libs#512 It's unclear to me why (Display*)(dpy)->bitmap_pad and (_XPrivDisplay)(dpy)->bitmap_pad produce different results. Technically, Display is referencing the _XDisplay/Display structure defined in Xlibint.h, while _XPrivDisplay is a typedef'd pointer to the (anonymous) structure defined in Xlib.h, since we're not defining the XLIB_ILLEGAL_ACCESS macro. The weird part is that both should be equal when it comes to its bitmap_pad, byte_order and bitmap_bit_order members.
* Mesa.patches: Shrink over-zealous 5001 patch. Only patch files that we use ↵Mike Gabriel2017-08-301-44/+0
| | | | during build.
* release 3.5.99.93.5.99.9Mike Gabriel2017-08-301-1/+1
|
* Mesa.patches: Add 5001_nasty-typo-fixes.patch. Fix some nasty typos in ↵Mike Gabriel2017-08-302-0/+162
| | | | Mesa's code ending up in the nxagent binary.
* hw/nxagent/Window.c: Fix spelling error in debug message.Mike Gabriel2017-08-301-1/+1
|
* nx-X11/extras: Drop Mesa-6.4.1 related files.Mike Gabriel2017-08-302467-1012944/+0
|
* nx-X11/programs/Xserver/Render.c: Re-introduce nxagentGlyphsCleanup() from ↵Mike Gabriel2017-08-252-0/+250
| | | | libNX_Xrender's formerly removed XRenderGlyphsCleanup().
* nx-X11/Makefile: Only run full CleanEnv code, if imake is installed in the ↵Mike Gabriel2017-08-251-4/+6
| | | | build-system.
* nx-X11/programs/Xserver/Imakefile: White-space fix.Mike Gabriel2017-08-251-3/+3
|
* Convert nx-X11/lib/ build flow from imake to autotools.Mike Gabriel2017-08-25535-1214/+1327
|
* Set NX_AGENT_VERSION property for root windowUlrich Sibiller2017-08-103-0/+29
| | | | Fixes ArcticaProject/nx-libs#500
* Render.c: Improve situation for multiple trapezoid requests.Oleksandr Shneyder2017-07-311-14/+1
| | | | | | | | | | | | | | | | | | | This change improves the situation in nxagent for the following issue: ``` "XRenderCompositeTrapezoids builds RenderTrapezoids requests to composite the specified list of trapezoids to dst. XRenderCompositeTrapezoids will split the list of trapezoids to build requests no larger than the maximum request size supported by the server. This can create rendering artifacts as the precompositing done by RenderTrapezoids when a maskFormat is specified cannot span multiple requests." ``` For more information see: https://lists.freedesktop.org/archives/xorg/2008-June/036124.html Fixes ArcticaProject/nx-libs#336.
* nxcomp: Switch to autoreconf.Mike Gabriel2017-07-262-13/+13
|
* treat options parameter as option string if it starts with nx/nxUlrich Sibiller2017-07-251-1/+16
| | | | | | | | | | This way one can easily pass options to nxagent run as Xnest replacement without having to create a temporary options file. Please note that it is not of much use for normal sessions. Options passed like this cannot be changed after startup so a reconnect may not work as expected. Fixes ArcticaProject/nx-libs#476
* rename nxagentOptionFile to nxagentOptionsFilenameUlrich Sibiller2017-07-242-15/+15
|
* pass filename as parameter to nxagentProcessOptionsFile()Ulrich Sibiller2017-07-233-16/+18
| | | | Do not use global variables where it is not necessary.
* Improve keystroke file handlingUlrich Sibiller2017-07-161-52/+35
| | | | Fixes ArcticaProject/nx-libs#486
* nxcompshad: Switch to autoreconf.Mike Gabriel2017-07-132-7/+7
|
* Report Xlib-side window IDs to session.log in machine readable form. This ↵Mike Gabriel2017-07-055-8/+55
| | | | feature can be enabled by the cmdline options -reportwids and -reportprivatewids.
* nxagent man page: Fix layout near -nxrealwindowprop option.Mike Gabriel2017-07-041-0/+1
|
* Mesa.patches: Disable 4001_Fix-non-working-GLX-in-64bit-Xorg-7.0.patch. It ↵Mike Gabriel2017-06-301-1/+1
| | | | patches a file, we don't build and that we remove in roll-tarball.sh.
* release 3.5.99.83.5.99.8Mike Gabriel2017-06-301-1/+1
|
* README.Mesa.patches: Define some rules for patch naming and numbering scheme.Mike Gabriel2017-06-301-0/+31
|
* 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.