Commit Graph

3261 Commits

Author SHA1 Message Date
Eamon Walsh
90b178cc7f Don't need to request space for Xnest pixmap private. 2008-08-28 19:36:22 -04:00
Adam Jackson
040212ee60 MIT-SHM pixmaps, if they exist, are ZPixmap. 2008-08-28 13:49:35 -04:00
Jeremy Huddleston
2db1afbf2e XQuartz: Always use TIS for the keyboard layout seed since KB* aren't thread safe.
(cherry picked from commit c8244177b0)
2008-08-26 23:10:18 -07:00
Jeremy Huddleston
319405fa4a XQuartz: Fixed needed xplugin version. ><
(cherry picked from commit 01b3a99dff)
2008-08-26 23:10:17 -07:00
Jeremy Huddleston
3350770bd6 XQuartz: Use new Xplugin API to determine if a keypress event corresponds to an OS-X hotkey that we should dispatch to Appkit.
(cherry picked from commit e7658e745f)
2008-08-26 20:19:47 -07:00
Jeremy Huddleston
7930ea9116 XQuartz: Made a note to come back to the xinitrc race condition in the 1.5 branch when we move up to it.
(cherry picked from commit 54a882dcbd)
2008-08-26 20:19:44 -07:00
Jeremy Huddleston
dc1171df5b XQuartz: Fixed bogus args to debug ErrorF
(cherry picked from commit f0351c2b80)
2008-08-26 20:19:41 -07:00
Jeremy Huddleston
ac936525af XQuartz: Cleaned up mouse event translation a bit more.
(cherry picked from commit c286f2a718)
2008-08-26 20:19:38 -07:00
Jeremy Huddleston
1b42f55000 Xquartz: Added missing ev_type for NSTabletPoint event.
(cherry picked from commit 07548f1394)
2008-08-26 20:19:35 -07:00
Jeremy Huddleston
13a89f1920 XQuartz: Added more explanation to debug keylayout spew to cut down on report-spam.
(cherry picked from commit fcdc9f8b5a)
2008-08-26 20:19:33 -07:00
Adam Jackson
41bd8d5dfe EDID: Build fix. 2008-08-25 11:27:26 -04:00
Adam Jackson
76ed409acd EDID: Publish the whole block on the root window if we've got it. 2008-08-25 10:44:45 -04:00
Adam Jackson
5724f7fb5b EDID: Publish the whole block in the RANDR property if we've got it. 2008-08-25 10:40:17 -04:00
Alan Coopersmith
668f89eba3 Remove unnecessary #ifdef __SOL8__'s 2008-08-22 10:32:18 -07:00
Alan Coopersmith
cc78d977ca Convert Solaris #ifdef's for <sys/kd.h> to AC_CHECK_HEADERS check
Upcoming virtual terminal support changes in Solaris kernel will provide
<sys/kd.h> on SPARC too, so this gets us ready for them.
2008-08-22 10:14:11 -07:00
Adam Jackson
64ef7ed072 Centralize declaration of ConnectionInfo. 2008-08-20 13:14:34 -04:00
Jeremy Huddleston
f1f44940f1 XQuartz: Support windowItemModMask=0 or -1 to disable window shortcuts.
(cherry picked from commit 81187364e5)
(cherry picked from commit f2ec79e4a1)
2008-08-20 10:00:43 -07:00
Jeremy Huddleston
6c5612c2e1 XQuartz: Added window_item_modifiers defaults item (and option to localization) to change the modifier keys used for the windows menu.
(cherry picked from commit e4110861d3)
(cherry picked from commit fcfc05482a)
2008-08-20 10:00:37 -07:00
Jeremy Huddleston
bdc277c9b3 XQuartz: Just cleaned up formatting of event processing code... no "meat" changed...
(cherry picked from commit 745bc8ab38)
(cherry picked from commit a28a2be524)
2008-08-20 10:00:32 -07:00
Jeremy Huddleston
ed42108920 XQuartz: Added appkit_modifiers defaults option which users can set to 'rcommand' to get access to the input menu with right command
(cherry picked from commit 02af74d7a5)
(cherry picked from commit 2da32894df)
2008-08-20 10:00:27 -07:00
Jeremy Huddleston
be06961312 XQuartz: More input fixes
stuck-modifier fixes (capslock)
3button-emulation now doesn't send the modifier key with the click
Added other options to fake_button2 and fake_button3 defaults options:
	({l,r}{control,alt,command,shift})
(cherry picked from commit 8fb6a1cf44)
(cherry picked from commit ae9c1b3cfb)
2008-08-20 10:00:20 -07:00
Jeremy Huddleston
436b659091 XQuartz: Updated bundle version to 2.3.1
(cherry picked from commit eedecba0b8)
(cherry picked from commit 7d9d864461)
2008-08-20 10:00:13 -07:00
Adam Jackson
38bdc34d55 Remove redundant check. 2008-08-19 15:12:39 -04:00
Adam Jackson
47b31233c2 Simplify driver setup.
No point warning about missing driver hooks, that just means the person
who gave you the driver is inept.  Might as well just crash.  Also,
just name anonymous screens as screen%d instead of failing after the 36th
screen.  Bonus points if you can figure out what the failure mode would
be on the 36th screen, and what the effective screen limit was.
2008-08-19 15:10:12 -04:00
Adam Jackson
b99fc65b53 Simplify calling xf86EnableIO() a bit. 2008-08-19 15:06:53 -04:00
Adam Jackson
b1f2c7a89a The ->Identify hook is not mandatory.
Best comment ever though.  Mad props.
2008-08-19 15:06:11 -04:00
Adam Jackson
41b68e0dea Remove unused -co option.
What did this even do anyway?
2008-08-19 11:02:31 -04:00
Adam Jackson
1f416fba99 Remove unused -bestRefresh option. 2008-08-19 10:56:45 -04:00
Adam Jackson
5a72c45d42 Remove unused -showunresolved option 2008-08-19 10:54:11 -04:00
Adam Jackson
9f08ffc557 Remove unused xf86Info.pMouse 2008-08-19 10:29:41 -04:00
Adam Jackson
75e495a4cd Remove unused xf86Info.mouseLocal 2008-08-18 17:58:08 -04:00
Adam Jackson
b3dfd7e3e4 Remove unused xf86Info.sharedMonitor 2008-08-18 17:56:18 -04:00
Adam Jackson
5e43cd2869 Remove the remainder of grab deactivation and closedown. 2008-08-18 17:51:42 -04:00
Adam Jackson
cd1e8f2614 Remove unused EstimateSizesAggressively option. 2008-08-18 17:40:46 -04:00
Mathieu Bérard
faaf004615 Remove xaaTEGlyphBlt.S
Should have been removed in 593144dddd but
ajax was asleep at the wheel.
2008-08-18 17:23:26 -04:00
Mathieu Bérard
562462e78d Remove dead {bsd,lnx}Resource.c 2008-08-18 17:05:55 -04:00
Adam Jackson
e3e47b35e3 Remove MAX_PCI_{BUSES,DOMAINS} and some associated #if 0. 2008-08-18 17:03:22 -04:00
Mathieu Bérard
593144dddd Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
Adam Jackson
2d3e478384 int10: Fix int1A for %ax == 0xB101.
pciNumBuses was pretty much always 1 post-pciaccess.  That ain't good.
2008-08-18 15:09:44 -04:00
Adam Jackson
539717fe1f Remove (unused) pciMaxBusNum. 2008-08-18 14:50:33 -04:00
Adam Jackson
3c03d9f1ef Remove sparcPci.c
There is no way this code can have been building for anyone since pciaccess
was merged.  BSD and Linux were already using OS code on sparc, the only
people who could want this are Solaris, who should be using pciaccess
anyway.
2008-08-18 14:37:42 -04:00
Adam Jackson
9a39b6cfbd Remove XF86SCANPCI_WRAPPER. 2008-08-18 14:26:01 -04:00
Adam Jackson
470b05a610 Remove vestigial MAX_PCI_DEVICES. 2008-08-18 14:04:59 -04:00
Adam Jackson
fdf7c747a8 Remove PciProbeType and associated weirdness.
This code was effectively only used in ix86Pci.c to select PCI config
access type.  Nobody should be using that path anymore, in the glorious
pciaccess world; kernel services should get it right for you.
2008-08-18 13:13:03 -04:00
Mathieu Bérard
95bb6f5362 Remove ancient unused inline hack. 2008-08-18 11:47:19 -04:00
Adam Jackson
e1ae8db625 Drop dead PowerPC PCI code.
Also add a warning for anyone still using legacy PCI code.
2008-08-18 09:53:48 -04:00
Jeremy Huddleston
8b9ed7dec2 XQuartz: Fixed a stuck modifier key bug.
(cherry picked from commit eeb6e5a9e9)
2008-08-14 09:13:37 -07:00
Jeremy Huddleston
1770c85374 XQuartz: Made 3-button mouse simulation a little more consistent.
(cherry picked from commit d207b037d2)
2008-08-14 09:13:35 -07:00
Jeremy Huddleston
f51f77d25e XQuartz: Reverted "Control" text to be accurately "Command" in the input prefs.
(cherry picked from commit b287c481e1)
2008-08-14 09:13:34 -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
Adam Jackson
f456f32cd9 Build fix. 2008-08-13 16:21:28 -04:00
Adam Jackson
544bfd0666 Remove xf86Version.h and related API.
We haven't meaningfully been API-compatible with xf86 modules in ages,
let's stop pretending.
2008-08-13 11:20:24 -04:00
Matthieu Herrb
2e2ce817ce Move strcasecmp(), strcasencmp() and strcasestr() prototypes to os.h
And make sure os.h is included in files that use it.
2008-08-10 23:07:46 +02:00
Matthieu Herrb
be2210b69d remove OpenBSD/amd64 specific mtrr API.
The old code never worked anyways and was removed from OpenBSD.
OpenBSD/amd64 4.4 and later support mtrr with the same API as
OpenBSD/i386.
2008-08-09 23:59:31 +02:00
Michel Dänzer
073116cc44 Remove commented out lines that make automake 1.9 puke. 2008-08-08 12:15:27 +02:00
Jeremy Huddleston
666781cd9b Removed rogue #include
(cherry picked from commit af238e99da)
2008-08-08 02:57:00 -07:00
Jeremy Huddleston
4a0947bf06 XQuartz: Disable the Xquartz AIGLX for now since it doesn't even compile any more...
(cherry picked from commit 4545ba91e9)
2008-08-08 01:53:36 -07:00
Jeremy Huddleston
5accc9b3ce XQuartz: Re-added deprecated code fallback failsafe for keyboard layout on Leopard with some debugging spew.
(cherry picked from commit 5854e712e9)
2008-08-08 01:21:08 -07:00
Simon Thum
d95136e151 xf86: don't replicate dix defaults for pointer acceleration
the defaults from InitVelocityData() or hypothetic driver-side changes
are now respected, not overridden.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-08 16:19:20 +09:30
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
Aaron Plattner
d1b96cdea9 Add an xf86PrintBacktrace wrapper around xorg_backtrace to aid driver debugging. 2008-08-06 10:37:32 -07:00
Jeremy Huddleston
26d31ad1c7 XQuartz: Added code and made comments more helpful for debugging first-client-auth bug.
(cherry picked from commit a8f0d32216)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
0ef3243fb5 XQuartz: More fd handoff cleanup.
(cherry picked from commit 199d2dcb70)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
e7dd3dd8f3 XQuartz: Fixed some errors / typos in the preferences pane.
(cherry picked from commit e1e0c398bb)
2008-08-05 18:47:34 -07:00
Jeremy Huddleston
6836f9aac8 XQUartz: UI Cleanup. Removed done/cancel buttons from Applications->Customize
(cherry picked from commit d3157ca45c)
2008-08-05 18:47:34 -07:00
Jeremy Huddleston
de4936d748 XQuartz: Fixed proper processing of tablet button presses
(cherry picked from commit ca0babafa4)
2008-08-05 12:55:02 -07:00
Jeremy Huddleston
b70a8ba3dc XQuartz: Nuke Sparkle.
(cherry picked from commit 4991f54a8d)
2008-08-05 12:54:57 -07:00
Jeremy Huddleston
30851efdd4 XQuartz: Fixed first-client-can't-connect bug
Readded the old exec() server startup path for regression testing.
Don't use the dynamic fd addition code since it's not quite working correctly.
(cherry picked from commit 08f3fe153e)
2008-08-05 12:54:51 -07:00
Tomas Carnecky
5532d63488 Redefine WindowTable as a fixed array
Instead of xalloc'ing it every server generation. The array is always
the same size (MAXSCREENS), anyway.
2008-08-05 01:17:32 +03:00
Simon Thum
18e9fd69fe dix: use average of pointer accel profile
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-04 15:13:30 +09:30
Ivaylo Boyadzhiev
25882af6d3 Fix a longstanding XAA CopyPlane bug.
TmpBitPlane is a plane mask, not a plane index.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2008-08-03 18:56:51 -07:00
Adam Jackson
d980913f31 Erk. Actually check all the BARs, not just the first. 2008-08-01 16:15:04 -04:00
Adam Jackson
82d51e6df2 Silence the "No matching Device section" warning in some harmless cases.
If the device doesn't have any BARs then it's just a stub for some
lame operating systems that need one PCI device per output for
multihead.  No point in warning about it.
2008-08-01 13:17:55 -04:00
Adam Jackson
9643e8d348 Handle XGI cards in autoconfig.
It's all a bit wonky since both sis(4) and xgi(4) claim to support the
Volari Z7 and V5/8 (0x0020 and 0x0040), so let's side with xgi(4), why
not.  Note that the V3 (not V3XT) identifies itself as a trident chip.
2008-08-01 11:35:47 -04:00
Adam Jackson
63bdd4c27d Unifdef XIDLE.
Seriously how was this still here.
2008-07-31 17:31:36 -04:00
Xavier Bestel
bb2cacd33e Cosmetic fix to EDID decoding. 2008-07-29 13:06:10 -04:00
Kristian Høgsberg
25dd5ce077 Add atKeynames.h in hw/dmx/input and drop evil cross-ddx #include. 2008-07-28 12:35:03 -04:00
Julien Cristau
e39a16aa58 xfree86: don't output a spurious newline to the log when loading a module 2008-07-28 17:27:42 +02:00
Julien Cristau
2eaed4a10f xfree86: use xorg.conf input devices if there is no ServerLayout
If xorg.conf has no ServerLayout section, use the first mouse and
keyboard sections as core devices, even with AllowEmptyInput.
2008-07-28 17:27:38 +02:00
Simon Thum
805f28e96c some trivial changes regarding C compat, indentation, etc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-07-28 18:13:19 +09:30
Simon Thum
3209bd21d0 xfree86: perform pointer accel scheme selection by name, not number
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-07-28 18:13:19 +09:30
Michel Dänzer
b3e981c9d4 Fix Makefile.am crack.
Looks like an artifact from early modularization.
2008-07-28 09:32:54 +02:00
Peter Hutterer
47160edec7 xfree86: warn some more about potential missing input devices.
Put out a warning if xorg.conf has InputDevice sections, but these aren't
referenced in the used ServerLayout. This is only performed if AllowEmptyInput
is enabled.
The reason behind this is that the server used to auto-add the first
mouse/keyboard sections if none where referenced. Now, with HAL and AEI
enabled by default, setups that relied on this auto-adding break and are left
without input devices. The least we can do is warn them.
2008-07-28 09:05:07 +09:30
Peter Hutterer
f30b0823db xfree86: if AllowEmptyInput is on, warn the user that we rely on HAL now. 2008-07-28 09:05:02 +09:30
Kristian Høgsberg
036822584b Drop xf86CommonSpecialKey() and atKeynames.h
These are AT scancode specific, should really be part of xf86-input-keyboard.
Remove from server, move to xf86-input-keyboard.
2008-07-24 16:08:29 -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
9757106bba Remove all empty extension reset hooks, replace with NULL. 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
Kristian Høgsberg
990fc643ae Ugh, remove trailing backslash. 2008-07-24 15:02:40 -04:00
Kristian Høgsberg
806e8cf3c0 Remove SPARC muldiv code. Was used by ELF loader, which is no more. 2008-07-24 14:25:24 -04:00
Daniel Stone
5c1e254cc8 Remove xorgcfg
Us shipping a GUI configuration utility (especially as part of the
server!) was pretty pointless.  There was pretty much nothing it could
configure which wasn't already runtime adjustable: if you could get a
server up with functioning input and output, there wasn't much xorgcfg
could do for you.

Au revoir.
2008-07-24 03:01:45 +03:00
Daniel Stone
b74927c384 Remove ioport
I don't know why we would possibly be shipping this.
2008-07-24 02:42:13 +03:00
Daniel Stone
8c05183790 Remove kbd_mode
We only built this on BSD and Solaris, and if such a tool is generally
useful, ship it with the OS.
2008-07-24 02:40:02 +03:00
Adam Jackson
bd8bd2c700 Unifdef AIX. 2008-07-23 13:37:42 -04:00
Adam Jackson
5f5eed7f79 Unifdef DGUX. 2008-07-23 13:37:42 -04:00
Adam Jackson
856db05b58 Unifdef sgi. 2008-07-23 13:37:42 -04:00
Adam Jackson
b699364b1c Unifdef VXWORKS. 2008-07-23 11:44:07 -04:00
Adam Jackson
2e3c43d306 Assume __GNUC__ >= 3.
gcc 3.0 was seven years ago.  Get with the times.
2008-07-23 11:35:06 -04:00