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
Peter Hutterer
d954f9c803
xkb: don't update LEDs if they don't exist. (Bug #13961 )
...
In some weird cases we call this function when there is no SrvLedInfo on the
device. And it turns out null-pointer dereferences are bad.
X.Org Bug 13961 <http://bugs.freedesktop.org/show_bug.cgi?id=13961 >
2008-01-30 10:39:54 +10:30
Coleman Kane
df325be394
Bug 13101: xorg-server has a typo in hw/xfree86/os-support/bsd/i386_video.c
...
X.Org Bug #13101 <https://bugs.freedesktop.org/show_bug.cgi?id=13101 >
Patch #12360 <https://bugs.freedesktop.org/attachment.cgi?id=12360 >
2008-01-29 09:48:00 -08:00
Julien Goodwin
94f412cb7e
Loader: Fix verbosity confusion
...
'Loading foo' is verbosity 3, whereas 'already built-in' is verbosity 0.
This means that gdm's log would just be full of bare 'module already
built-in' messages.
2008-01-29 14:46:15 +11:00
Julien Goodwin
442838fcb3
xorg.conf.man: Fix monitor/output confusion in monitor positioning
...
On the Intel driver at least, LeftOf/RightOf/Above/Below in xorg.conf refers
to output names, not monitor names. Fix nomenclature in xorg.conf.man.
2008-01-29 14:46:15 +11:00
Peter Hutterer
5b8641a5fd
xfree86: fix AlwaysCore handling. (Bug #14256 )
...
Assume AlwaysCore being set by default, just like the other options.
X.Org Bug 14256 <http://bugs.freedesktop.org/show_bug.cgi?id=14256 >
2008-01-29 10:01:42 +10:30
Peter Hutterer
975ab11799
config: don't reset connection info on disconnect.
...
If dbus is restarted, we try to connect again and this is difficult if the
busname and/or busobject is not set.
(cherry picked from commit 210eeef495
)
2008-01-29 09:13:25 +10:30
Peter Hutterer
7dde5a694a
config: check connection != NULL before getting dbus' dispatch status.
...
(cherry picked from commit d232665223
)
2008-01-29 09:13:25 +10:30
Peter Hutterer
f0ba770716
config: only shutdown libhal if the connection is valid.
...
Thanks to libdbus' extensive use of assert we won't just get an error, it'll
bring the whole server down for us.
(cherry picked from commit fb07fab2c0
)
2008-01-29 09:13:25 +10:30
Peter Hutterer
2cb0ebec2b
config: add a debug message, fix a whitespace error.
...
(cherry picked from commit 7732898aaa
)
2008-01-29 09:13:25 +10:30
Jeremy Huddleston
4fc2d3cef8
Rootless: RootlessEnsureFrame: Added check for !IsRoot
...
This was causing an issue with Apple-DRI and was reported here:
http://trac.macosforge.org/projects/xquartz/ticket/51
(cherry picked from commit 116800279d
)
2008-01-28 12:25:29 -08:00
David Nusinow
16b0614c8c
Merge commit 'upstream/master'
2008-01-26 16:13:25 -05:00
Eamon Walsh
e915a26397
xselinux: Move the extension to extmod instead of being built-in.
2008-01-25 19:22:19 -05:00
Eamon Walsh
f6a78ee143
XACE: Remove the extension code entirely, XACE is completely static now.
2008-01-25 18:04:10 -05:00
Eamon Walsh
7724c30a75
XACE: Stop using fake requestVectors in favor of a simple hook call.
2008-01-25 17:28:17 -05:00
Eamon Walsh
f82329b081
XACE: Don't need to actually register a protocol extension.
2008-01-25 16:20:46 -05:00
Eamon Walsh
46794d0c96
xselinux: Rename SelectionManager to more generic SecurityManager.
2008-01-24 19:49:13 -05:00
Eamon Walsh
6ffeecabb7
xselinux: Use a privileged bit in the state instead of passing an index
...
to the permission checking function.
2008-01-24 18:11:49 -05:00
Eamon Walsh
7ba8e97cba
xselinux: Implement "get context" protocol requests.
2008-01-24 19:09:58 -05:00
Eamon Walsh
f0bf9a5231
xselinux: Whitespace fixups.
2008-01-24 19:02:35 -05:00
Hong Liu
734e115871
Bug #12439 : add a quirk to use +hsync +vsync for the probed detailed mode.
...
Samsung 205BW quirk is somehow reworked.
2008-01-23 21:24:09 +08:00
Adam Jackson
cc22b05ea0
There is no such thing as /dev/cpu/mtrr.
2008-01-22 18:57:11 -05:00
David Nusinow
1a88aed5c8
Add tags/TAGS to .gitignore for ctags usage
2008-01-21 21:16:13 -05:00
Matthias Hopf
be6c17fcf9
CVE-2007-6429: Always test for size+offset wrapping.
2008-01-21 16:13:21 +01:00
Michel Dänzer
94a21d757c
AIGLX: Fix GLX_EXT_texture_from_pixmap fallback with EXA.
...
Use pScreen->GetImage to obtain the pixmap contents instead of dereferencing
pPixmap->devPrivate.ptr directly.
2008-01-19 13:25:02 +01:00
Adam Jackson
e9fa7c1c88
CVE-2007-6429: Don't spuriously reject <8bpp shm pixmaps.
...
Move size validation after depth validation, and only validate size if
the bpp of the pixmap format is > 8. If bpp < 8 then we're already
protected from overflow by the width and height checks.
2008-01-18 14:41:20 -05:00
Jeremy Huddleston
23f3f0e27d
XQuartz: Moved SetFrontProcess haco to set_front_process
...
So it is done by the other thread...
(cherry picked from commit 7429379eb1
)
2008-01-17 09:49:25 -08:00