summaryrefslogtreecommitdiff
path: root/os
AgeCommit message (Collapse)AuthorFilesLines
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner2-3/+3
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-04-09Add setrlimit call in -core option to make dumps occur.Keith Packard1-0/+8
Default core size limit for most environments is 0, which disables core dumps. Add code in the -core option processing path to set the core limit to the maximum value.
2007-03-28Bug #10296: Fix timer rescheduling.Tomas Janousek1-3/+6
2007-03-27Enable Composite by default now that it disables itself in the known bad cases.Eric Anholt1-4/+1
2007-03-25General DIX static and dead code cleanup.Adam Jackson5-70/+35
2007-03-25Static cleanups, dead code deletion.Adam Jackson5-29/+19
2007-03-20Static markup and dead code cull over xkb/.Adam Jackson1-1/+1
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as include/xkbsrv.h, and the world updated to look for it in the new place, since it made no sense to define server API in an extension header. Any further work along this line will need to do similar things with XKBgeom.h and friends.
2007-02-16merged in miext/rootless changes for XDarwin supportBen Byer1-1/+1
2007-02-15os: fix client privates leakDaniel Stone1-0/+2
Minor leak here. Oops.
2007-01-10Bug #9555: Always define _GNU_SOURCE in glibc environments.Eric Anholt1-17/+1
This keeps us from having to define _POSIX_C_SOURCE, _BSD_SOURCE, and _XOPEN_SORUCE to get the C environment we want in different places. It also fixes the build on linux due to RTLD_DEFAULT having not been defined.
2007-01-03Move the code for resetting the DPMS mode in response to input events,Fredrik Höglund1-4/+1
from WaitForSomething to mieqProcessInputEvents. mieqProcessInputEvents already handles resetting the screen saver.
2006-12-24os: test for userland, not kernelDaniel Stone1-1/+1
It doesn't matter which kernel we're running on, the relevant part when dealing with includes is what our userland is.
2006-12-19Only do the _POSIX_C_SOURCE hackery on linux where it's required.Eric Anholt1-4/+4
On other OSes, the nasty hack was resulting in prototypes being hidden, so just don't do it.
2006-12-14Naming change: Security*Access -> Dix*AccessEamon Walsh1-1/+1
2006-12-01Define calls away when not building XACE, allowing ifdef's to be removed.Eamon Walsh2-8/+4
2006-11-30Tell automake to STFU about the *.O filesAlan Coopersmith1-1/+1
automake will not stop whining about the *.O files not being in normal library name format, so just tell automake they are PROGRAMS so it builds them without bitching.
2006-11-28Fix potential NULL pointer access in timer code.Matthias Hopf1-7/+9
https://bugzilla.novell.com/show_bug.cgi?id=223718
2006-11-21Issue CloseDownDevices() in os/log.c and remove from dix/main.c.Alan Hourihane1-0/+2
This ensures that all calls to FatalError() will shutdown the input devices.
2006-11-08CheckConnections: don't close down the server client (bug #7876)Rich Coe1-1/+1
When an appgroup is shutting down, the list of clients can change, so make sure we're not trying to shut the server down.
2006-11-08os: fix sun extensions testDaniel Stone1-2/+4
'else if' is not very valid, plus the logic is kind of broken, so just move it outside the ifdef in the first place.
2006-11-08RemoveGeneralSocket: don't touch EnabledDevicesDaniel Stone1-1/+0
RemoveGeneralSocket. Harmless, but.
2006-11-04automake: avoid use of reserved _SOURCES keyword (bug #8866)Bernhard Rosenkraenzer1-13/+13
Avoid using _SOURCES unless we're directly referencing a program or library to be built; use _SRCS instead. Shuts automake 1.10 up.
2006-11-03Add DTrace probe points for X server <-> client communicationsAlan Coopersmith2-2/+40
See http://people.freedesktop.org/~alanc/dtrace/ for more details
2006-11-02Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵input-hotplugDaniel Stone1-4/+38
input-hotplug
2006-11-02Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-0/+2
input-hotplug
2006-11-01If getpeerucred() is available, include pid & zoneid in audit messages tooAlan Coopersmith1-3/+27
2006-11-01Bug #1997: AUDIT messages should contain uid for local accessesAlan Coopersmith1-5/+15
<https://bugs.freedesktop.org/show_bug.cgi?id=1997>
2006-10-31Make _POSIX_C_SOURCE hack work with Solaris headersAlan Coopersmith1-0/+2
Solaris headers are very literal - if you ask for POSIX_C_SOURCE 199309L, they limit to only the functions in that standard and no more, unless you also specify __EXTENSIONS__ to allow functions beyond the standard base.
2006-10-29GetTimeInMillis: use correct units for clock_gettimeDaniel Stone1-1/+1
Make sure we're treating the nanoseconds as a long, not an int, so we don't overflow.
2006-10-29WaitForSomething: only rewind when delta is more than 250msDaniel Stone1-10/+10
Only rewind time when we're more than (original delta + 250ms) away from executing the timer. When we're walking the timer list, use a goto to iterate all of them from the start again, since timers may drop out of the list. Don't bother trying to be smart in TimerSet, we'll pick it up in WaitForSomething anyway.
2006-10-26Merge branch 'master' into input-hotplugDaniel Stone1-16/+3
2006-10-26GetTimeInMillis: simplify monotonic testDaniel Stone1-16/+3
We don't actually need to get the CPU clock ID, which means we don't need the monotonic_usable test. Since there's now only one branch, the compiler will treat that as likely, so we don't need xproto 7.0.9 anymore. The fallthrough to gettimeofday() is preserved.
2006-10-26Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone2-7/+66
input-hotplug
2006-10-25GetTimeInMillis: spuport monotonic clockDaniel Stone1-4/+35
Add support for CLOCK_MONOTONIC from clock_gettime, and use that in GetTimeInMillis() if available, falling back to the old gettimeofday() implementation. This is _slightly_ faster on some 64-bit architectures, and _slightly_ slower on others (though barely measurable).
2006-10-25WaitForSomething: allow time to rewindDaniel Stone1-3/+31
If time rewinds dramatically, reset all the timers to fix their expiry.
2006-10-13Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone2-14/+12
input-hotplug
2006-08-21Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Alan Coopersmith2-7/+7
XACE-modular
2006-08-18Merge branch 'master' into input-hotplugDaniel Stone1-0/+3
2006-08-18Merge branch 'origin' into input-hotplugDaniel Stone1-0/+4
2006-08-18Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverDaniel Stone1-0/+4
2006-08-18dix: add whiteroot flagDaniel Stone1-0/+3
Add a -wr option to use a white root window, and use a BackPixel rather than BackPixmap for both white and black root windows.
2006-08-18Fix bug #7302, make Xn.hosts work from theAlan Hourihane1-0/+4
Microsoft Windows install directory on Xming. (Colin Harrison)
2006-08-12Merge branch 'master' into input-hotplugDaniel Stone1-7/+0
2006-08-12remove obsolete vendor definesDaniel Stone1-7/+0
Remove random behaviour changes for SGI and MetroLink.
2006-08-10Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Alan Coopersmith18-54/+8
XACE-modular
2006-08-10Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-1/+0
input-hotplug
2006-08-09Remove the bc flag from the -help text, since it's gone.Adam Jackson1-1/+0
2006-08-08Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-2/+0
input-hotplug
2006-08-07remove optional R3 backwards compatibilityDaniel Stone1-2/+0
Remove the permitOldBugs flag, which enabled backwards compatbility with broken R2/R3 era clients.
2006-07-21Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone17-35/+0
input-hotplug