Adam Jackson
3e0353c785
Bah, macros are hard.
2008-02-15 06:42:48 +11:00
Maarten Maathuis
c38feeb149
Fix typo in commit b8b7cdf6df
.
2008-02-14 18:52:47 +01:00
Adam Jackson
b8b7cdf6df
Silence useless debug spew from XFree86-Misc extension.
2008-02-15 01:31:46 +11:00
Eamon Walsh
4573cb2ce4
security: Revise set of permissions granted to untrusted clients.
...
Bug #14480 : untrusted access broken on 7.3.
2008-02-13 20:20:49 -05:00
Eamon Walsh
e99aadbc26
xselinux: Add use to permission map for devices.
2008-02-13 20:20:49 -05:00
Eamon Walsh
ae43d835bd
XACE: Change access modes for some device-related requests.
...
Opening a device is not really "reading" it.
Requests that globally configure a device should require "manage" access.
2008-02-13 20:20:49 -05:00
Adam Jackson
ba69904148
Simplify dlloader a bit more.
2008-02-14 08:52:43 +11:00
Adam Jackson
f750ce53ac
Remove some braindamage from ModuleDesc.
...
Yay dead code elimination.
2008-02-14 08:22:57 +11:00
Adam Jackson
e91ff09568
Friends don't let friends call xf86AddModuleInfo.
...
That code only existed to leak memory. It can go now, thanks.
2008-02-14 08:21:44 +11:00
Adam Jackson
0bdd20a045
Eradicate the VTInit code.
...
"This option should rarely be used." Never sounds like a better idea.
2008-02-14 07:52:46 +11:00
Adam Jackson
24089b0624
Don't bother warning people about the keyboard driver rename, just do it.
2008-02-14 07:52:33 +11:00
Adam Jackson
2aaf6ac134
Don't even attempt to parse -bpp in xfree86 DDX option parsing.
...
This hasn't been valid since 1999. Get with the times, man.
2008-02-14 07:52:26 +11:00
Adam Jackson
ef77e4c441
Remove useless commentary from environment and argument processing.
2008-02-14 07:52:07 +11:00
Adam Jackson
f3b3b37ec6
Use strerror instead of errno values in user strings.
2008-02-14 07:52:02 +11:00
Adam Jackson
b740b865e4
Silence an error message in ConfigureWindow that never happens.
2008-02-14 07:51:33 +11:00
Adam Jackson
89d3249c3e
Silence FreeResource()
2008-02-14 07:51:29 +11:00
Adam Jackson
238b816469
X.Org Group -> X.Org Foundation
2008-02-14 07:51:19 +11:00
Adam Jackson
9113fa3de3
Silence the harmless FreeFontPath error message.
2008-02-14 07:12:24 +11:00
Adam Jackson
7c0709a736
requestingClient is an xprintism, hide it for other servers.
2008-02-14 07:11:52 +11:00
Adam Jackson
62cfe88638
Redact all mention of PanoramiX from user strings.
2008-02-14 07:11:14 +11:00
Adam Jackson
eb8dc11d19
Remove some MAX* #defines that never get used.
2008-02-14 07:11:07 +11:00
Adam Jackson
2ce35f6d45
Simplify critical output flushing.
2008-02-14 07:07:51 +11:00
Adam Jackson
3eaecdd66e
Disable Record by default.
2008-02-14 07:07:34 +11:00
Adam Jackson
aa5216e897
Rip out useless indirection in the callback list management.
2008-02-14 07:02:13 +11:00
Eamon Walsh
0d492b2166
XACE: Move the selection access hook to its own function.
2008-02-12 19:59:10 -05:00
Eamon Walsh
4be69e41c0
Revert "Bug #8937 : Extension setup functions not called on server resets"
...
This reverts commit 5e946dd853
.
The devPrivates rework makes this workaround unnecessary.
2008-02-11 16:15:26 -05:00
Jeremy Huddleston
8a244c2bc0
XQuartz: Fixed layout of Applications->Customize menu
...
Now resizing it won't produce weir overlaps of the widgets. Thanks to
Pelle Johansson for his help showing me how to do this.
(cherry picked from commit ef3498e92d
)
2008-02-11 12:10:59 -08:00
Jeremy Huddleston
3570ca1cb7
XQuartz: Added option for setting quartz-wm click-through preference
...
(cherry picked from commit bf54c267cb
)
2008-02-10 18:30:52 -08:00
Jeremy Huddleston
8004e160fa
XQuartz: Converted interface to nib 3.x format
...
(cherry picked from commit 656aaab957
)
2008-02-10 18:30:48 -08:00
Peter Hutterer
7018f28040
xkb: when copying the keymap, make sure the structs default to 0/NULL.
...
It actually does help if a pointer is NULL rather than pointing to nirvana
when you're trying to free it lateron. Who would have thought?
2008-02-09 07:55:38 +10:30
Bart Trojanowski
66f8001b61
X86EMU: handle CPUID instruction
...
After trying to switch from X to VT (or just quit) the video-amd driver
attempts to issue INT 10/0 to go to mode 3 (VGA). The emulator, running
the BIOS code, would then spit out:
c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!
The opcode was 0F A2, or CPUID; it was not implemented in the emulator.
This simple patch, against 1.3.0.0, handles the CPUID instruction in one of
two ways:
1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction
directly.
2) if ran elsewhere it returns a canned 486dx4 set of values for
function 1.
This fix allows the video-amd driver to switch back to console mode,
with the GSW BIOS.
Thanks to Symbio Technologies for funding my work, and ThinCan for
providing hardware :)
Signed-off-by: Bart Trojanowski <bart@jukie.net>
Acked-by: Eric Anholt <eric@anholt.net>
2008-02-08 10:48:40 -08:00
Eamon Walsh
de16a8c530
XACE: Correct some protocol error values in the colormap routines.
2008-02-07 20:14:16 -05:00
Eamon Walsh
31934132a4
xselinux: Use the device name in debugging output.
2008-02-07 16:32:06 -05:00
Eamon Walsh
6dcb7d732b
xselinux: Split devPrivate state into subject and object records.
2008-02-07 16:00:52 -05:00
Eamon Walsh
2259b144f0
xselinux: Add getattr and setattr to the permission map for properties.
2008-02-07 14:35:02 -05:00
Eamon Walsh
5c30327275
XACE: Push the dix "structure" includes down to the security modules.
2008-02-05 21:06:05 -05:00
Eamon Walsh
bb1a577a68
XACE: Move the property access hook to its own function.
2008-02-05 20:07:08 -05:00
Eamon Walsh
019ad5acd2
XFixes: squash a pointer/integer size mismatch warning.
2008-02-05 15:48:40 -05:00
liuhong
d3c36fe721
validate mode clock for probed modes
...
Some modes claimed in monitor EDID data may not be supported by
the monitor. So also validating the max clock for probed modes.
2008-02-05 12:45:27 -08:00
liuhong
4b5b6e7baa
fix max clock unit
...
max clock from EDID data is in MHz, while we need KHz to validate modes.
2008-02-05 12:45:16 -08:00
Magnus Vigerlöf
a56ef7aaa4
dix: Move motion history update until after screen crossing and clipping
...
Cross screen and clip the coordinates before updating the motion history
so that it will have the same contents as the events that are reported.
2008-02-05 21:12:52 +01:00
Magnus Vigerlöf
a0284d577a
dix: Skip call to clipAxis for relative core-events
...
Relative events that generates both core and extention
events will have its axis cliped and screen changed by
miPointerSetPosition when the events are processed. For
absolute and non core-generating relative events the
axis must be clipped if we shouldn't end up completely
outside the defined ranges (if any).
2008-02-05 21:12:52 +01:00
Magnus Vigerlöf
d9e23c4ff1
Bug # 10324: dix: Add scaling of X and Y on the reported pointer-events
...
Restore the rescaling code for x and y axis when generating
motion events.
2008-02-05 21:12:52 +01:00
Magnus Vigerlöf
f04c083869
Bug # 10324: dix: Allow arbitrary value ranges in GetPointerEvents
...
Don't use a possitive value as a marker for if a max-value
is defined on the valuators. Use the existence of a valid
value range instead. This will also make it possible to
define arbitrary start and end-values for min and max as
long as min < max.
2008-02-05 21:12:52 +01:00
Magnus Vigerlöf
12e5324032
dix: Always add valuator information if present
...
Send valuator information for all event types, not only for
MotionEvents and absolute button events.
2008-02-05 21:12:52 +01:00
Peter Hutterer
41991fb991
xkb: when copying sections, make sure num_rows is set too.
2008-02-05 19:05:18 +10:30
Peter Hutterer
521a7f26e0
mi: Only UpdateSpriteForScreen if we actually changed the screen. (Bug #12650 )
...
X.Org Bug 12650 <http://bugs.freedesktop.org/show_bug.cgi?id=12650 >
2008-02-05 18:34:31 +10:30
Peter Hutterer
10617dc0fb
xfree86: stick two more checks in for num_valuators < MAX_VALUATORS
2008-02-01 14:24:04 +10:30
Matthieu Herrb
c68f063be6
xfree86: don't call xalloc from signal handlers when posting events.
...
Reviewed-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-02-01 14:14:17 +10:30
Peter Hutterer
1692dcf197
dix: print out event type if a bogus pointer event occurs.
2008-01-30 13:04:58 +10:30