| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{X,XNF}{alloc,calloc,realloc,free,strdup} from pre-C89 baggage
Backported from X.org:
commit cad9b053d52f62432dfd70e42e0240de77027cae
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Jul 8 13:24:25 2014 -0400
os: Remove deprecated malloc/free wrappers
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
commit e983848ab44b0769f97f6207f1aa8b4f127be6a9
Author: Mikhail Gusarov <dottedmag@dottedmag.net>
Date: Thu May 6 00:16:24 2010 +0700
Clean {X,XNF}{alloc,calloc,realloc,free,strdup} from pre-C89 baggage
C89 guarantees alignment of pointers returned from malloc/calloc/realloc, so
stop fiddling with alignment manually and just pass the arguments to library
functions.
Also convert silent error when negative size is passed into function into
warning in log file.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#105
|
|
|
|
| |
header file containing all use protocol versions.
|
| |
|
| |
|
| |
|
|
|
|
| |
use system libXext instead
|
| |
|
|
|
|
| |
library.
|
|
|
|
| |
nxagent / nxproxy instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nx-X11 build scripts.
Note:
- The "normal" way to inject CFLAGS (and CPPFLAGS) into nx-X11 builds is copying those
options over into the variable CDEBUGFLAGS.
- LDFLAGS have to be handed to nx-X11 via LOCAL_LDFLAGS.
This change also includes a slight change in the nx-X11 build order.
Old build order:
Main Makefile:
- [...]
- libNX_X11
+ implicitly building nxcomp
+ implicitly building nxcompext
- [...]
- nxagent
+ implicitly building nxcompshad
- [...]
New build ordner:
Main Makefile:
- [...]
- nxcomp
- setup nx-X11 build env
+ cd nx-X11 && make BuildEnv
- nx-X11/lib/*
- nxcompext
- nxcompshad
- [...]
- nxagent
- [...]
Fixes ArcticaProject/nx-libs#141
Fixes X2GoBTS#84
|
|
|
|
|
| |
We have to make sure that all X.org libraries we link against
use symbols provided by libNX_X11.
|
|
|
|
| |
XAPPGROUP, LBX, XEVIE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
corresponding code section in files included from "somewhere" in nx-X11/programs/Xserver/.
(1)
In file included from NXrender.c:44:0:
../../mi/../render/render.c: In function ‘swapStops’:
../../mi/../render/render.c:2541:13: warning: variable ‘colors’ set but not used [-Wunused-but-set-variable]
CARD16 *colors;
^
(2)
In file included from NXevents.c:133:0:
../../dix/events.c: In function ‘ReinitializeRootWindow’:
../../dix/events.c:2046:15: warning: unused variable ‘pScreen’ [-Wunused-variable]
ScreenPtr pScreen = win->drawable.pScreen;
^
../../dix/events.c: In function ‘XineramaPointInWindowIsVisible’:
../../dix/events.c:2177:15: warning: variable ‘pScreen’ set but not used [-Wunused-but-set-variable]
ScreenPtr pScreen = pWin->drawable.pScreen;
^
In file included from NXevents.c:133:0:
../../dix/events.c: In function ‘XineramaPointInWindowIsVisible’:
../../dix/events.c:2191:2: error: ‘pScreen’ undeclared (first use in this function)
pScreen = pWin->drawable.pScreen;
^
(3)
In file included from NXdixfonts.c:77:0:
../../dix/dixfonts.c: In function ‘GetFontPath’:
../../dix/dixfonts.c:1890:2: warning: return makes pointer from integer without a cast
return BadAlloc;
^
|
|
|
|
| |
identically be found in dix/dixfonts.c. Also remove NX'ish code from dix/dixfonts.c.
|
|
|
|
| |
identically be found in dix/dispatch.c.
|
|
|
|
| |
identically be found in dix/property.c.
|
|
|
|
| |
found in Xext/shm.c.
|
|
|
|
| |
be found in Xext/xvdisp.c.
|
|
|
|
| |
be found in dix/events.c.
|
|
|
|
| |
be found in render/glyph.c.
|
|
|
|
| |
identically be found in dix/glyphcurs.c.
|
|
|
|
|
|
| |
be found in render/render.c.
Fixes ArcticaProject/nx-libs#37
|
|
|
|
| |
in nxagent's code base. Rather replace structures we need modified only.
|
|
|
|
| |
Xrender_nxagent.h. (Like we have done with all other non-public Xlib related header files that are required for building nxagent.
|
|
|
|
| |
identically be found in dix/resource.c.
|
|
|
|
| |
due to now-unnecessary assignements of pScreen pointers.
|
|
|
|
| |
be found in dix/window.c.
|
|
|
|
| |
be found in GL/glx/glxext.c.
|
|
|
|
| |
more trackable.
|
|
|
|
| |
identically be found in render/picture.c.
|
|
|
|
| |
identically be found in mi/miexpose.c.
|
|
|
|
| |
includes.
|
|
|
|
| |
trackable.
|
|
|
|
| |
in render/miglyph.c.
|
|
|
|
| |
be found in render/mitrap.c.
|
|
|
|
|
|
|
|
|
|
| |
Reasoning:
(1) The diff between this file and mi/miwindow.c is so minimal, we simply
apply the change to mi/miwindow.c.
(2) In recent X.org, the fixed code has gone, so this patch won't exist
after having rebased nx-libs against X.org.
|
|
|
|
| |
be found in miext/damage/damage.c.
|
|
|
|
| |
hw/nxagent/X11/include/ and drop all symbols that are not explicitly used by nxagent.
|
|
|
|
| |
nx-X11/include/extensions/composite.h.
|
|
|
|
| |
indentically found in dix/extension.c.
|
|
|
|
| |
trackable.
|
| |
|
| |
|
|
|
|
|
| |
Backported to X.org's /xorg/xserver Git hash level:
a6b6e8ba026acedef6336b17adf06aebddd5f22f.
|
|
|
|
| |
de-duplication in nxagent. (Will be fixed by ArcticaProject/nx-libs#120 later on).
|
|
|
|
| |
de-duplication in nxagent. (Will be fixed by ArcticaProject/nx-libs#120 later on).
|