Eamon Walsh
4017d31902
devPrivates rework: since API is already broken, switch everything
...
over to new system.
Need to update documentation and address some remaining vestiges of
old system such as CursorRec structure, fb "offman" structure, and
FontRec privates.
2007-08-28 09:28:25 -04:00
Eamon Walsh
8554707326
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
include/miscstruct.h
mi/mibstore.c
mi/midispcur.c
os/Makefile.am
2007-08-28 07:25:21 -04:00
Adam Jackson
ae7f71a8b3
Implement core protocol backing store exclusively in terms of Composite.
...
Composite's automatic redirection is a more general mechanism than the
ad-hoc BS machinery, so it's much prettier to implement the one in terms
of the other. Composite now wraps ChangeWindowAttributes and activates
automatic redirection for windows with backing store requested. The old
backing store infrastructure is completely gutted: ABI-visible structures
retain the function pointers, but they never get called, and all the
open-coded conditionals throughout the DIX layer to implement BS are gone.
Note that this is still not a strictly complete implementation of backing
store, since Composite will throw the bits away on unmap and therefore
WhenMapped and Always hints are equivalent.
2007-08-25 15:08:20 -04:00
David Nusinow
bf0883ae50
Fix bug in debugging info related to pci-rework merge
2007-08-25 14:53:17 -04:00
Aaron Plattner
1ab4b3e183
Bump video driver ABI for pci-rework.
2007-08-24 16:00:31 -07:00
Ian Romanick
8b6b40b727
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86.h
hw/xfree86/common/xf86Init.c
hw/xfree86/common/xf86pciBus.c
hw/xfree86/int10/generic.c
hw/xfree86/int10/helper_exec.c
hw/xfree86/loader/xf86sym.c
hw/xfree86/os-support/bus/Pci.c
hw/xfree86/os-support/bus/Pci.h
hw/xfree86/os-support/bus/linuxPci.c
hw/xfree86/os-support/linux/int10/linux.c
2007-08-23 18:19:17 -07:00
Julien Cristau
13949f9972
Get rid of the type1 font module.
...
It is completely replaced by freetype these days.
2007-08-23 11:27:33 +02:00
David Nusinow
c839859d1b
Move module defaults from the header to the source file.
...
This is where they should have been in the first place. All the rest of
the code in the server defines such things in the source files, not the
headers.
2007-08-20 21:09:27 -04:00
Eamon Walsh
b82557c9fb
xace: add hooks + new access codes: core protocol screensaver requests
2007-08-16 10:36:05 -04:00
Eamon Walsh
42d6112ec2
xace: add hooks + new access codes: core protocol GC requests
2007-08-14 13:09:38 -04:00
Daniel Stone
0e0174d45e
XFree86: Allow disabling of HAL
...
If NoAutoAddDevices is given as a server flag, then no devices will be added
from HAL events at all. If NoAutoEnableDevices is given, then the devices will
be added (and the DevicePresenceNotify sent), but not enabled, thus leaving
policy up to the client.
2007-08-01 03:33:06 +03:00
Daniel Stone
cd8e99e56e
Input: Don't enable devices when we open them
...
Thanks to Xi's braindead design, it's otherwise impossible to query input
devices without enabling them. Hurrah.
2007-08-01 03:33:06 +03:00
Daniel Stone
89f628394f
XFree86: Input: Fix whitespace
2007-08-01 03:33:05 +03:00
Daniel Stone
a93033b0bc
XFree86: Module: Bump input version
...
config_info changes the size (and ordering) of DeviceIntRec, so bump the
input major.
2007-08-01 01:53:31 +03:00
Daniel Stone
7c9e8fd56e
Input: Allow enabling and disabling of devices
...
Add DEVICE_ENABLE to KDrive and XFree86 to allow us to enable and disable
devices on the fly.
2007-08-01 01:53:31 +03:00
Daniel Stone
4d3379d418
Fonts: Fix builtin fonts
...
Make sure the font path is always 'built-ins' when we use built-in fonts,
rather than having it as a fixed path for a while, then clobbering it
halfway through startup.
2007-08-01 01:53:31 +03:00
Adam Jackson
21bbd7d64b
Delete some pre-dlloader debugging scaffolding.
...
If your loader is as bad as elfloader, then it makes sense for the
server to have some stubs for you to assign to / break on. However it
is no longer 1996.
2007-07-18 15:45:11 -04:00
Adam Jackson
1f71f0c057
Remove (long-)deprecated xf86EnablePciBusMaster.
2007-07-18 15:44:45 -04:00
Adam Jackson
0a63d874e9
Always normalize the module name.
2007-07-18 15:44:45 -04:00
Adam Jackson
9a1c6afd12
Remove dead code for screen crossing.
2007-07-18 15:44:44 -04:00
Adam Jackson
8ca2fe8914
Delete dead module test code.
2007-07-18 15:44:44 -04:00
Adam Jackson
e2413cc7ca
Remove MEMDEBUG
...
This existed (but may not have worked) in the monolith, but is gone now.
2007-07-18 15:43:40 -04:00
Adam Jackson
d1d65a8415
Dead ifdefs for BITMAP_SCANLINE_UNIT == 64
...
This appears to be a legacy of cfb24 not being smart enough to deal with this
case. But since cfb24 unexists, die die die.
2007-07-18 15:42:30 -04:00
Adam Jackson
cbe74394a5
Nuke dead X -configure code.
2007-07-18 15:39:44 -04:00
Keith Packard
ac979c1651
MakeAtom needs length without trailing NUL. sizeof("string") includes NUL.
...
I made a mistake in some new code using MakeAtom, passing the size of the
string instead of the length of the string. Figuring there might be other
such mistakes, I reviewed the server code and found four bugs of the same
form.
2007-07-14 12:13:17 -07:00
Keith Packard
881a620b4d
When sync'ing logfile, also flush it.
...
When the logfile is set to sync, the actual sync occurs whenever the log
file is flushed. If the log file is not also set to flush, no syncing
occurs.
2007-07-14 09:03:46 -07:00
Alan Coopersmith
031b009ea6
Use %S instead of %s for strftime seconds when printing build time
2007-07-13 14:54:45 -07:00
Alan Coopersmith
6b4231e3b5
Use kbd driver when xorg.conf specifies "keyboard" or "Keyboard" (bug #11301 )
...
X.Org Bug #11301 <https://bugs.freedesktop.org/show_bug.cgi?id=11301 >
Sun Bug #6560332 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6560332 >
2007-07-12 16:36:27 -07:00
Adam Jackson
e316fa59fe
Add per-monitor config file option for maximum pixel clock.
2007-07-10 14:20:55 -04:00
Adam Jackson
4d76075dbb
Death to RCS tags.
2007-06-29 14:06:52 -04:00
Adam Jackson
f7f3fe7fe7
Remove the remnants of OS/2 support.
...
This has never worked in any modular server release, and as far as I know
was never tested in 6.7 through 6.9.
2007-06-28 18:59:05 -04:00
Tiago Vignatti
38f8e53668
Janitor work. Remove 'defined but not used' warnings from xorg and other cosmetic.
2007-06-27 03:19:37 -03:00
Peter Hutterer
4c601b904e
configFiles(): don't return anything when declared as void.
2007-06-25 10:53:05 +09:30
Peter Hutterer
bec4e47d12
NULL-terminate device list when synthesizing core devices.
...
This fix is required for 93ca526892
to work.
2007-06-25 10:51:42 +09:30
Peter Hutterer
93ca526892
Split up memory for devices configured in the config file.
...
If we're using a continuous block here, we segfault when a device removal
triggers an xfree call.
2007-06-25 09:35:30 +09:30
Ian Romanick
ab7a6d860d
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/os-support/bus/Pci.c
hw/xfree86/os-support/bus/linuxPci.c
2007-06-18 16:51:13 -07:00
Lennart Buytenhek
831d3b7f8d
Compile fixes for Linux ARM platforms.
2007-06-18 12:05:55 -04:00
Zephaniah E. Hull
562ca3f2f9
In NewInputDeviceRequest, only call EnableDevice if xf86Screens[0]->vtSema is
...
true, preventing unwanted behavior in the case where a device is added while
the user is in a different VT.
2007-06-18 12:00:49 -04:00
Clark Rawlins
8d5f4368ea
Really make sure BUILD_TIME doesn't have a leading zero.
...
date +'%k%M%S' still gives a leading zero in the hour after midnight...
Add a leading 1 and remove it in xf86PrintBanner().
2007-06-11 16:53:38 +02:00
Zephaniah E. Hull
75dece08fb
xf86PostMotionEvents[P] calls xf86SendDragEvents, xf86SendDragEvents
...
unconditionally checks device->button->buttonsDown.
Let's make it possible to have a device with motion, but no buttons.
Without segfaulting.
2007-06-04 09:09:20 -04:00
Zephaniah E. Hull
fbb9b20395
Let's not do a calloc and a free on every call to xf86PostMotionEvents.
2007-06-04 06:59:42 -04:00
Zephaniah E. Hull
3f4295e643
Add xf86PostMotionEventP, takes a pointer instead of a variable number of
...
arguments.
Bump input ABI to 1.1 since we export this.
2007-06-04 06:48:06 -04:00
Zephaniah E. Hull
0cbc3a4da2
Print the build time as well as the date if we can.
2007-06-04 02:03:44 -04:00
Daniel Stone
9a7aaeb3f6
XFree86: Input: Assume core events per default
...
Assume that a device will be sending core events, unless explicitly
specified otherwise.
2007-06-03 18:38:53 +03:00
Daniel Stone
94361cbba7
XFree86: Input: Perform case-insensitive comparisons on option names
2007-06-03 18:38:42 +03:00
Adam Jackson
90eb22656c
Minor cleanup/robustification to config parsing.
2007-06-02 16:49:26 -04:00
Adam Jackson
f6a983533b
Don't warn about default behaviour when autoconfigging.
2007-06-02 16:37:39 -04:00
Henry Zhao
66702f3c1c
Need to use minPitch in miScanLineWidth() to get the shrinked
...
linePitch.
2007-06-01 23:55:40 -07:00
Matthieu Herrb
ee20c481ee
Remove wscons keyboard handling stuff that doesn't belong there anymore.
2007-05-29 14:54:27 -06:00
Bastian Blank
2267bf48b3
Fixes for s390
2007-05-28 21:55:05 -04:00