Francis Giraldeau
3ec3b502e3
Don't log audit messages when -audit 0 specified
...
make the auditTrailLevel check more general and don't log when not
using DTRACE and -audit 0 is set.
(cherry picked from commit d61e902aab
)
2009-01-09 09:59:54 -08:00
Colin Guthrie
053f32d928
Fix compilation with -Werror=format-security
...
(cherry picked from commit 6d8ea5104c
)
2009-01-09 09:59:01 -08:00
Jeremy Huddleston
e917806fc5
os/connection: TRANS_NOXAUTH bit comparison brainfart fix.
...
https://bugs.freedesktop.org/show_bug.cgi?id=18524
2008-11-14 10:57:22 -08:00
Alan Coopersmith
c9051b684b
Use OsSignal in Popen/Pclose to avoid SysV signal() stupidity
2008-11-05 18:25:57 -08:00
Daniel Stone
f4036f6ace
Remove XEvIE
...
It's unmaintained and has been broken for quite a while; MPX finally
smashed it completely.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04 16:01:07 +10:30
Daniel Stone
889a8dc02b
Xi: XINPUT has been mandatory for ages
...
Ditch all #ifdef XINPUT, since it's always built.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04 16:01:07 +10:30
Julien Cristau
5244690a5e
Add prototypes for strlcpy/strlcat
2008-10-26 11:44:57 +01:00
Adam Jackson
40f9b6bf0d
Argh, macros.
2008-10-23 17:37:46 -04:00
Adam Jackson
0b69526217
Change some #define foo() -> static void foo()
2008-10-23 15:01:58 -04:00
Matthieu Herrb
d72cd753b9
Close well known connections in ServerAbort()
2008-10-21 22:36:21 +02:00
Adam Jackson
94ed0ba1b5
Move xorg_backtrace() up to the OS level so we can call it from DIX.
2008-10-10 16:28:10 -04:00
Jeremy Huddleston
6dbfca571f
Depend on xtrans >= 1.2.2 for TRANS_NOXAUTH
2008-10-07 10:07:03 -07:00
Adam Jackson
0ce61e21d6
Remove the Must_have_memory hack.
...
Also remove an astonishing amount of misunderstanding of how casts work.
2008-10-03 17:51:19 -04:00
Adam Jackson
e6b1c1fada
const cleanup
2008-10-03 17:51:19 -04:00
Adam Jackson
fe616f9230
Drop the never-called SkippedRequestCallback list.
2008-10-03 17:51:19 -04:00
Adam Jackson
31136b9467
Unexport MakeClientGrab{Imp,P}ervious
...
xtrap used to use these, but it's gone now. xtest still does but it's
linked statically.
2008-10-03 17:51:19 -04:00
Adam Jackson
7921c4a0bf
Remove some stale IPv6 debugging
2008-10-02 17:08:48 -04:00
Adam Jackson
f836e1f11b
Unifdef ISC
2008-10-02 17:03:54 -04:00
Adam Jackson
0bb317a78b
Default to -br. Add -retro option for the nostalgic.
...
-retro also reverts to the classic cursor display behavior, meaning,
the cursor will be visible before anyone calls XDefineCursor().
2008-09-22 10:51:51 -04:00
Jeremy Huddleston
04956b8043
Transport/Apple: Add TRANS_NOXAUTH to incoming connections when the listener is flagged as such
...
(cherry picked from commit ba4a792426
)
2008-08-14 09:13:32 -07:00
Adam Jackson
0ce687634f
Eviscerate save-under support.
...
Use a compositing manager already. Plus I really wanted to use 'eviscerate'
in a commit message.
2008-08-13 17:28:08 -04:00
Mathieu Bérard
9f9268821b
The smart scheduler is not optional.
2008-08-11 13:52:38 -04:00
Matthieu Herrb
6e33e6f355
Move string comparaison functions to from dix/ to os/.
2008-08-09 23:51:39 +02:00
Jeremy Huddleston
e72b1d21e4
XQuartz: Now properly disable xauth checking on launchd socket and mostly fix the xinitrc / launchd race condition
2008-08-06 13:37:21 -07:00
Adam Jackson
63bdd4c27d
Unifdef XIDLE.
...
Seriously how was this still here.
2008-07-31 17:31:36 -04:00
Adam Jackson
62b5690415
Remove some more MEMBUG garbage.
2008-07-24 16:13:18 -04:00
Adam Jackson
f3ff238601
Sync is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
3fcf4d3eb8
XC-MISC is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
f65c50c4e9
Bigreqs are built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
d6228cb22a
Shape extension is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
0d785bd635
Unifdef hpux.
2008-07-23 13:43:09 -04:00
Adam Jackson
bd8bd2c700
Unifdef AIX.
2008-07-23 13:37:42 -04:00
Adam Jackson
856db05b58
Unifdef sgi.
2008-07-23 13:37:42 -04:00
James Cloos
ab6557fcd4
Optimize commit 331cc3f079
...
Reorder to minimize comparisons
2008-07-23 13:17:33 -04:00
Adam Jackson
0ff5bc4048
Unifdef QNX.
...
Again, hasn't worked since at least 7.0.
2008-07-23 10:44:34 -04:00
James Cloos
331cc3f079
Fix LookupColor
...
Using strncasecmp(3) with the lenght of the user-supplied colour name
will result in a false positive when the db key starts out with the
same string.
Eg, blue will also match BlueViolet (aka blue violet).
Since the shorter strings occur first in the database, avoid such
errors by treating a 0 result from strncasecmp(3) as a positive result
when the key’s length is longer than the supplied string’s.
2008-07-23 00:01:43 -04:00
Adam Jackson
0b45ba488d
Drop the FONTCACHE extension.
...
This appears to have been dead code since X-TT was merged.
2008-07-18 10:54:10 -04:00
Daniel Stone
16e40ecf43
Remove dead code, useless #defines, et al
2008-07-17 22:37:31 +03:00
Daniel Stone
711720650c
Everyone has urandom
...
If you don't have urandom, please just add a fallback to /dev/random,
rather than building our own random generator.
2008-07-17 21:39:46 +03:00
Daniel Stone
446fe9eecd
Dead code removal
...
Remove a whole bunch of code that was never built, be it entire files or
just dead ifdefs.
2008-07-17 21:37:50 +03:00
Mathieu Bérard
47833eef35
Drop a bunch of #ifdef Lynx.
2008-07-17 11:59:24 -04:00
Adam Jackson
af2138bfce
Nuke some ancient code for commandline-challenged OSes.
...
This appears to have been dead code even in 6.7.
2008-07-17 10:39:29 -04:00
Jie Luo
5d11ae7a69
Fix color lookup.
...
OsStrCaseCmp returned inverted comparison sense from normal strcasecmp.
2008-07-17 10:22:29 -04:00
Daniel Stone
22e64108ec
XFree86: Remove XFree86-Misc extension
...
Its last remaining purpose in life has been destroyed by input
properties. Au revoir: it's been fun, by which I mean awful.
2008-07-16 06:25:26 +03:00
Daniel Stone
e6f35f28fb
OS/KDrive/XFree86: Sanitise colour initialisation
...
OsInitColors always just returned TRUE, so just remove calls to it and
insane special-case logic. Remove unused kcolor.c implementation, and
merge oscolor.h into oscolor.c since it was the only user. Remove
open-coded strncasecmp in oscolor.c.
Since we no longer need to call OsInitColors after reading the config
file, just call PostConfigInit() from one place, and move PM handling to
one place so we can install the signal handlers earlier.
2008-07-16 01:38:22 +03:00
Matthieu Herrb
219dd2d44a
sprintf() -> snprintf()
2008-06-19 16:42:10 +02:00
Eamon Walsh
0b00bbca5d
Fix "Warning: no previous prototype for `SecureRPCInit'".
2008-06-13 22:22:22 -04:00
Eamon Walsh
1c2f038d69
Fix multiple warnings in os/xdmauth.c.
2008-06-13 22:12:02 -04:00
Eamon Walsh
384ebe02b3
Fix "warning: label ‘done’ defined but not used".
2008-06-13 21:49:01 -04:00
Peter Hutterer
26c1958c32
Merge branch 'master' into mpx
2008-05-26 17:37:31 +09:30