Jeremy Huddleston
af0d5e2ef7
XQuartz: 64bit crash fix ... don't pass pointers through xe.
...
(cherry picked from commit 5f1265b82edead8f15f2affc79c2782519502fa2)
2008-09-21 17:40:42 -07:00
George Peter Staplin
852a0b0dde
XQuartz: pbproxy: Add an X error handler that returns 0.
...
Move the struct atom_list into the x-selection class, so that it's
no longer a global variable named atoms. This may ease pthread
integration and reduce the chances of symbols conflicting.
(cherry picked from commit c1403c713ca80104ae3736bd2ed1eb6ffa5192b6)
2008-09-21 17:40:42 -07:00
George Peter Staplin
7fa6fc5ad0
XQuartz: pbproxy: Fix a bug that occured when a PICT format was available.
...
We may need another branch to convert a PICT to a PNG or JPEG. For now
TIFF works well in all of the test image copying apps when converted to
PNG or JPEG with an NSBitmapImageRep class.
(cherry picked from commit adf339d8f948fc1e308dbcae38fcfce504b5b0ab)
2008-09-21 17:40:41 -07:00
George Peter Staplin
f67490ceb5
XQuartz: pbproxy: Make the proxy handle copy request races, and PRIMARY
...
INCR transfers mixed with a CLIPBOARD change.
Fix a bug with some UTF-8 transfers. I can only guess that my UTF-8
tests before were inadequate. I can now copy/paste any characters between
uxterm and Textedit.app.
(cherry picked from commit 7ca1532e8e6e2c733c9c508eee0de73d09ecb947)
2008-09-21 17:40:41 -07:00
Jeremy Huddleston
b666ffd781
XQuartz: "Disable" the text when syncing is disabled.
...
(cherry picked from commit 7713d7ab66e74b212a6c0d634a3ad82373e178db)
2008-09-21 17:40:41 -07:00
Jeremy Huddleston
dba290ec23
XQuartz: Added a preferences UI for pbproxy options.
...
(cherry picked from commit d76cca5e1eae86450aa236e49a2024881d0bac01)
2008-09-21 17:40:35 -07:00
George Peter Staplin
a928cae57b
XQuartz: pbproxy: Add a missing include of Xutil.h. Another header
...
seems to have done this before, but correctness matters.
(cherry picked from commit 1b4987e779d97b90669bac2405a4672085677f7c)
2008-09-21 17:40:16 -07:00
George Peter Staplin
749bdf19b2
XQuartz: pbproxy: Add COMPOUND_TEXT handling. Do misc. cleanups with testing
...
to verify that the behavior didn't change.
main.m: XInternAtom compound_text, and atom_pair.
pbproxy.h: Add compound_text and atom_pair to the struct atom_list.
x-selection.m: Add an #include of Xutil.h. Refactor the reply struct
initialization to be done in a common place. Add send_reply: to simplify
the code a bit more. Add send_compound_text: which handles the
COMPOUND_TEXT type. Add the beginnings of a send_multiple:. Change
handle_image:extension: to handle_image:. The extension: message isn't
needed anymore.
(cherry picked from commit 1e9460abdf5bafe46215966bbef3e796cb1c33e0)
2008-09-21 17:40:16 -07:00
George Peter Staplin
00bfbee59f
XQuartz: pbproxy: pbproxy now responds to selection request events.
...
We can now copy and paste images to and from X11. Text copying and
pasting works as well.
The NSPasteboard can contain TIFF or PICT images, and pbproxy will
translate to an image/png or image/jpeg request, and list those in the
TARGETS.
I added a description of the basic design at the top of x-selection.m.
I removed the request_data x_selection class struct. It's not needed.
(cherry picked from commit 4a8daf884694c9c420c45d427f1f84e608e7e48f)
2008-09-21 17:40:16 -07:00
George Peter Staplin
811e9f5e9e
XQuartz: pbproxy: Use an NSBitmapImageRep to convert an "image/png" selection
...
to a TIFFRepresentation for use with NSPasteboard.
This has been tested with the Gimp and works with some minor quartz-wm changes.
The Finder clipboard shows the image updates after an Edit -> Copy.
(cherry picked from commit 12912adaeea759d30f96d8ae51a84fd1659ea0ac)
2008-09-21 17:40:16 -07:00
Jeremy Huddleston
d8d555bac7
XQuartz: Don't enable 8bit visuals in the TrueColor server, since it's not working yet
...
(cherry picked from commit 1317c8ff94c4bd32617a5398e929f667bd87da58)
2008-09-21 17:40:15 -07:00
George Peter Staplin
23ec8261b6
XQuartz: pbproxy: The greedy CLIPBOARD handling now works for text.
...
This change adds some [self own_clipboard] calls in the necessary places to get the proper greedy behavior.
UTF8_STRING and STRING properties seem to work well now with the test cases (PRIMARY, and CLIPBOARD). I can copy from several different X apps, and have the behavior be correct when pasting. I also verified that quartz-wm isn't doing the copying, by disabling the quartz-wm paths.
(cherry picked from commit 934669f732c28f07b9d934d8f8f0b63ccfebd900)
2008-09-21 17:40:15 -07:00
George Peter Staplin
7c2eb3d41a
XQuartz: pbproxy: return the TARGETS list as a 32-bit list to fix a bug that was in the original.
...
Add TRACE() calls where appropriate to try to figure out why we are losing CLIPBOARD at times, after transferring PRIMARY to the NSPasteboard.
Use the new pbproxy_clipboard_to_pasteboard where appropriate.
(cherry picked from commit 40190675a6c1889cca3574e5d1a9c16ab74315a7)
2008-09-21 17:40:15 -07:00
George Peter Staplin
81c836902d
Rename reclaim_clipboard to claim_clipboard.
...
Convert the puts usage to use DB().
Add the initial handle_image method.
Check for nil in the NSString instantiation in various places.
Add some commentary to enhance the clarity of why I did some things.
(cherry picked from commit 37361567b65241eab64e8b30cd9729d0e71a86d2)
2008-09-21 17:40:15 -07:00
George Peter Staplin
85e23affea
Add an image_jpeg Atom.
...
(cherry picked from commit ea9dc27977c5eab666f2aa2d914e4e28d36758c7)
2008-09-21 17:40:15 -07:00
George Peter Staplin
6b42f40ff9
Rename reclaim_clipboard to claim_clipboard.
...
(cherry picked from commit d333a8e2b5514b8b76a78c6a13a3f5149ea8de27)
2008-09-21 17:40:15 -07:00
George Peter Staplin
2ab56981b1
Add image/jpeg type, and rename reclaim_clipboard to claim_clipboard.
...
(cherry picked from commit 32b175ef62b68a971784e51e937e358cb10e20ac)
2008-09-21 17:40:14 -07:00
Jeremy Huddleston
cbd32645f7
XQuartz: pbproxy: Added global variables to customize how pbproxy behaves
...
(cherry picked from commit 21a2d0b8d03faf1c66ec0c5c11fbd2ab24547727)
2008-09-21 17:40:14 -07:00
Jeremy Huddleston
5b397642cd
XQuartz: pbproxy: First round of updates to pbproxy from George.
...
(cherry picked from commit 5c8b956f8f3f17e8d577d97cb66424954be72684)
2008-09-21 17:40:14 -07:00
Adam Jackson
8bfd88ca61
Revert accidental edid changes from previous commit.
2008-09-19 12:13:43 -04:00
Adam Jackson
69b79c1a66
Update to SGI FreeB 2.0.
...
Under the terms of version 1.1, "once Covered Code has been published
under a particular version of the License, Recipient may, for the
duration of the License, continue to use it under the terms of that
version, or choose to use such Covered Code under the terms of any
subsequent version published by SGI."
FreeB 2.0 license refers to "dates of first publication". They are here
taken to be 1991-2000, as noted in the original license text:
** Original Code. The Original Code is: OpenGL Sample Implementation,
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
** Copyright in any portions created by third parties is as indicated
** elsewhere herein. All Rights Reserved.
Official FreeB 2.0 text:
http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf
As always, this code has not been tested for conformance with the OpenGL
specification. OpenGL conformance testing is available from
http://khronos.org/ and is required for use of the OpenGL logo in
product advertising and promotion.
2008-09-19 12:02:28 -04:00
Jeremy Huddleston
999f3362d5
XQuartz: Dead code removal
...
(cherry picked from commit 43184cd379c4fb7254391b8a362016cbf89b5529)
2008-09-12 15:26:18 -07:00
Jeremy Huddleston
6548a55ebd
XQuartz: 256 color support
...
(cherry picked from commit 8dd6d5c825d457f26b41b79d02d57ed4a5ecf1f5)
2008-09-12 15:26:13 -07:00
Jeremy Huddleston
bad7cd14c2
XQuartz: Dead code removal
...
(cherry picked from commit bf10fb0b1f776e72db7c76db11f764e26f9d62c4)
2008-09-12 15:26:07 -07:00
Jeremy Huddleston
1119fe136f
XQuartz: Changed around fd handoff model to be more robust
...
(cherry picked from commit 4fe605c2bc62d50e0b5764d9edda245af227630b)
2008-09-12 15:26:01 -07:00
Jeremy Huddleston
183233b27b
XQuartz: Don't warp the pointer on server start for XQuartz
...
(cherry picked from commit c0da576d4921c246a9ac747921b48ab9e718347f)
2008-09-12 15:25:44 -07:00
Jeremy Huddleston
7a46dd30d3
XQuartz: Dead code removal
...
(cherry picked from commit 2e45344870f5d17181df6407da3448991036d783)
2008-09-12 15:22:46 -07:00
Jeremy Huddleston
1c70e53f25
XQuartz: Fixed proximity logic errors for tablets.
...
(cherry picked from commit d942849f248c368b92ca73e145e8a5bc339112d7)
2008-09-12 15:22:39 -07:00
Eric Anholt
ce781cac1b
Fix distcheck.
2008-09-11 16:48:23 -07:00
Aaron Plattner
079625570d
Bump ABI major versions for the TryClientExceptions change from commit 883811c
.
2008-09-08 08:50:52 -07:00
John Tapsell
bf333c2f98
fbdevhw: Remove pixclock check.
...
The check can fail because the output from FBIOGET_VSCREENINFO is used to set
Clock in fbdev2xfree_timing(). Then in fbdevHWSetMode(), xfree2fbdev_timing()
is called which sets the pixclock based on Clock. The resulting circle results
in slight rounding errors, causing the comparision check in fbdev_modes_equal
to fail.
2008-09-04 13:08:06 +02:00
Jeremy Huddleston
1669308be6
XQuartz: Added pasteboard proxy code stripped out of quartz-wm.
...
(cherry picked from commit 1f842c71c35db031a24de646429834d6054adf1d)
(cherry picked from commit 144746223d8dc3f6ff2a0e805aa27a6e57df558a)
2008-09-03 09:33:58 -07:00
Jeremy Huddleston
46168b3b40
XQuartz: Updated Tablet code to include ranges for valuators and added cursor and erasor
...
(cherry picked from commit 6bca78760951cb5cb57ea66b7631a2dc230dc27a)
(cherry picked from commit fafcafd6de39cf6b5967793f03b30b49db36fec5)
2008-09-03 09:33:53 -07:00
Jeremy Huddleston
7f5318131d
XQuartz: Removed "Done" button from Applications Customization. Now properly save on exit.
...
(cherry picked from commit 2f1e163d5db6063e54fcaa045ea67c29ce3e46aa)
(cherry picked from commit 7542c00b96461c3474b8c23545171c4b6ddfd29d)
2008-09-03 09:33:45 -07:00
Jeremy Huddleston
700e8bf33f
XQuartz: Updated man page
...
(cherry picked from commit 6932d0d19ea75c64ed38b82a246b68c6bbfb8cec)
(cherry picked from commit 8e3da36b6b0a261975808bc67b5caca733a1a23d)
2008-09-03 09:25:13 -07:00
Jeremy Huddleston
7430bb9093
XQuartz: Removed dead code (unused option definitions)
...
(cherry picked from commit 3d74f77490105c0704c0b10dc7a6eb859bf6e985)
(cherry picked from commit c1e5ea9ba058f6a13f564165a3d6862335729630)
2008-09-03 09:25:07 -07:00
Jeremy Huddleston
b3836e5bdd
XQuartz: Cleaned up our sleeping before adding the launchd socket.
...
(cherry picked from commit ebfe49dfca6e04d66232bad760f522629397cc35)
(cherry picked from commit 2cf74a76d54d795cfc3c0380a526b9177327782d)
2008-09-03 09:24:59 -07:00
Adam Jackson
613ce09550
Fix strict-aliasing silliness in XAA.
2008-09-02 15:43:15 -04:00
Maarten Maathuis
881bd15f44
xf86Crtc: Set mode to NULL, so nothing bad happens if crtc == NULL.
...
- Fix is courtesy of math_b.
2008-08-31 18:07:22 +02:00
Maarten Maathuis
f4e9a1a98f
damage: choose less ambiguous function names
2008-08-31 17:46:26 +02:00
Jeremy Huddleston
0cd6709db5
XQuartz: Fixed editing of Applications menu
...
(cherry picked from commit da647f1add4c1ae7854c0fbfbf972666ce5d12c8)
2008-08-30 16:25:06 -07:00
Jeremy Huddleston
c4d290fc54
XQuartz: Fixed missing symbol in quartzKeyboard debugging
...
(cherry picked from commit 8ad55e484f0ba9073ce07a03de660cc546a7b668)
2008-08-30 14:21:17 -07:00
Thomas Bodzar
229e60db8f
Xorg.man: typo (the the).
2008-08-30 15:34:29 +02:00
Jeremy Huddleston
1885582444
XQuartz: Placate automake which doesn't like escaped newlines even in comments...
...
(cherry picked from commit 73db1170129a31ad2d55a7e83ac6dfc8030e47f1)
2008-08-29 21:18:26 -07:00
Jeremy Huddleston
8abcc12fdd
XQuartz: Added debugging output to the crash log to help track down two crashes, since people don't often report their system.log spew.
...
(cherry picked from commit aaf0f71db197526b6b866cc1b39fbdfe051879ef)
2008-08-29 20:55:25 -07:00
Jeremy Huddleston
aee19c7b55
XQuartz: xp_is_symbolic_hotkey_event catches the input menu, but not our mainMenu, so we still need to do that the old way.
...
(cherry picked from commit 25eccf12c89d73b8bce2c9be14841efb230acedc)
2008-08-29 20:53:10 -07:00
Maarten Maathuis
1861250cd7
{damage,exa}: sanitise damage
...
- Redo damage naming for more consistency.
- Call post submission functions only where appropriate.
- EXA can now live without it's odd damage workarounds.
2008-08-29 22:15:23 +02:00
Kristian Høgsberg
5af77d43fe
DRI2: Drop sarea use, implement server side swap buffers.
2008-08-29 12:33:28 -04:00
Tomas Carnecky
ebea78cdba
Prepare for array-index based devPrivates.
...
TODO: static indices can be made just an int; some indices
can be combined.
2008-08-28 18:05:40 -04:00
Eamon Walsh
ec7907f8fa
Add an array of integers for use as per-screen cursor private keys.
...
Replaces the use of the screen pointer itself as the key, which was
nice but won't work now that an array index is being stored.
2008-08-27 19:27:13 -04:00
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 c8244177b0dbcb28d2f5509e6f2a3e8057889790)
2008-08-26 23:10:18 -07:00
Jeremy Huddleston
319405fa4a
XQuartz: Fixed needed xplugin version. ><
...
(cherry picked from commit 01b3a99dff79e0d2b316e02658c19fa79d9144ae)
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 e7658e745f8a3eaf5cec9f54a8a1b7e5a7708e09)
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 54a882dcbdccef3f3eb4e6398e13c88185a8986c)
2008-08-26 20:19:44 -07:00
Jeremy Huddleston
dc1171df5b
XQuartz: Fixed bogus args to debug ErrorF
...
(cherry picked from commit f0351c2b80f30ae31f041798b84139141fc3d5a5)
2008-08-26 20:19:41 -07:00
Jeremy Huddleston
ac936525af
XQuartz: Cleaned up mouse event translation a bit more.
...
(cherry picked from commit c286f2a718fdaf6ad10249b59abb20731da8d904)
2008-08-26 20:19:38 -07:00
Jeremy Huddleston
1b42f55000
Xquartz: Added missing ev_type for NSTabletPoint event.
...
(cherry picked from commit 07548f13947a212dcc020d52fe0ad679255121e2)
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 fcdc9f8b5abd724d75f53d48fdadbed9859e9e79)
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 81187364e512606a6aebb95ab2967d9d420f57f2)
(cherry picked from commit f2ec79e4a159dec6481691e4dd615db01770dd7a)
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 e4110861d307a55d9032cb83cf024ec1f294e8d7)
(cherry picked from commit fcfc05482a88696cb713c7a2ddfcf935ae8378a6)
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 745bc8ab387d6794f47d8b9dca33b4c81f6dd39c)
(cherry picked from commit a28a2be52478a1557a363140f7bd70ececf144dc)
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 02af74d7a5a7225f408915254c40856159dc7f19)
(cherry picked from commit 2da32894dff8340f6ca7c980277fca7ec835a193)
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 8fb6a1cf44c35a20dfb0c05c9824f94898f88da7)
(cherry picked from commit ae9c1b3cfb3874b4d1251681c24bda91c398bcab)
2008-08-20 10:00:20 -07:00
Jeremy Huddleston
436b659091
XQuartz: Updated bundle version to 2.3.1
...
(cherry picked from commit eedecba0b882bb07931e8d9168589f5be7a08a69)
(cherry picked from commit 7d9d864461858b25c5eb5858fdf4b53771795f11)
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 eeb6e5a9e98dcf045ec230f160d5992080dceba6)
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 d207b037d2ae213369e5627a17d8831c9bc16ad8)
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 b287c481e1cbe77ff84d10a708505f148a0c8434)
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 af238e99da45a4dd8d8cbb6564bb8d0a3d79d590)
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 4545ba91e9d6ad62b6cafde3c73a672d3ded91a2)
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 5854e712e9ebc210d2f8de6f5d4fb650944f314a)
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 a8f0d32216e321b8ae6da182be9b1ea792f6e004)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
0ef3243fb5
XQuartz: More fd handoff cleanup.
...
(cherry picked from commit 199d2dcb708c9f9d6b9ede149ea0fe9fba6c007c)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
e7dd3dd8f3
XQuartz: Fixed some errors / typos in the preferences pane.
...
(cherry picked from commit e1e0c398bbb50394b164394e1f1870016489c25b)
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 d3157ca45c1f88edd040d721c1e944b9d2c090aa)
2008-08-05 18:47:34 -07:00
Jeremy Huddleston
de4936d748
XQuartz: Fixed proper processing of tablet button presses
...
(cherry picked from commit ca0babafa4e9cf1b67ec460655bffe569ac9c3e9)
2008-08-05 12:55:02 -07:00
Jeremy Huddleston
b70a8ba3dc
XQuartz: Nuke Sparkle.
...
(cherry picked from commit 4991f54a8d84a9a8df89a99dbfc09391195578f8)
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 08f3fe153edc5ab4ca010e8ce82d5c3fc0ddb72c)
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
Adam Jackson
0c1c9d7508
Remove some broken debugging scaffolding.
2008-07-23 10:44:34 -04:00
Adam Jackson
0ff5bc4048
Unifdef QNX.
...
Again, hasn't worked since at least 7.0.
2008-07-23 10:44:34 -04:00
Dodji Seketeli
92fdd01d8e
[Xephyr] various X86_64 build cleanups
2008-07-23 01:07:29 +02:00
Dodji Seketeli
5de1867fbb
[Xephyr] Fix #15839
...
Make sure the _XSERVER64 macro is not defined in Xlib client code.
That macro is meant to be define only on pure server code, when necessary.
2008-07-23 01:01:26 +02:00
Adam Jackson
d692e1a63e
Build fix.
2008-07-22 10:21:22 -04:00
Peter Hutterer
880625eef5
xfree86: plug memory leak, free driver's private data when deleting the device.
2008-07-22 15:54:49 +09:30
Adam Jackson
8c8c4fdf34
EDID: Various reduced blanking fixes.
...
- Use a single common function to compute reducedness.
- Call it from both the old-school and new-school mode validation paths.
- Define monitor reduced-blanking support in accord with EDID 1.4.
- Attempt to filter RB DMT modes away from the "standard" EDID pool if
the monitor doesn't claim RB support.
2008-07-21 16:49:17 -04:00
Adam Jackson
e8cd77e14d
EDID: For standard timing blocks, prefer DMT timings if they exist.
2008-07-21 16:49:17 -04:00
Adam Jackson
6ba70091e2
EDID: Correct DDCEstablishedModes to conform to DMT.
2008-07-21 16:49:17 -04:00
Adam Jackson
c74ddc87c9
EDID: Add quirk to clamp max pixel clock to single DVI link speed.
...
On some panels you end up with all of:
- No range descriptor
- No description of physical connectivity
- Native panel size mode in standard timings list
In principle you're supposed to use the timings for that mode from the DMT
spec, but in practice the DMT spec has timings for both 1920x1200 normal
and 1920x1200RB, and the standard timing field gives you no way to
distinguish. And, of course, the non-RB timings don't fit in a single
DVI link.
2008-07-21 15:10:20 -04:00
Daniel Stone
0dbfe0ebc6
Revert "Try nvidia before nv under the assumption that people who install it usually want to *use* it, too."
...
Per mailing list discussion.
This reverts commit 66fb253082
.
2008-07-21 03:50:15 +03:00
Aaron Plattner
66fb253082
Try nvidia before nv under the assumption that people who install it usually want to *use* it, too.
2008-07-20 10:32:40 -07:00
Julien Cristau
35346a4227
Don't put xf86Build.h in the tarball (bug#9277)
...
This file is generated by configure, we don't need to ship a stale
version in the tarball.
X.Org bug#9277 <https://bugs.freedesktop.org/show_bug.cgi?id=9277 >
2008-07-20 16:40:59 +02:00
Julien Cristau
43c6d5a6f8
distcheck fixes
...
Still seems to fail because hw/xquartz has too long filenames
2008-07-20 16:30:24 +02:00
James Cloos
92b0a04ffd
Fix compile failure
...
This fixes a compile failure by ensuring that mouse-cfg.c
can see the MTYPE_ constants.
2008-07-19 18:21:37 -04:00
Adam Jackson
0b45ba488d
Drop the FONTCACHE extension.
...
This appears to have been dead code since X-TT was merged.
2008-07-18 10:54:10 -04:00
Daniel Stone
16e40ecf43
Remove dead code, useless #defines, et al
2008-07-17 22:37:31 +03:00
Daniel Stone
446fe9eecd
Dead code removal
...
Remove a whole bunch of code that was never built, be it entire files or
just dead ifdefs.
2008-07-17 21:37:50 +03:00
Daniel Stone
0564b5454a
XFree86: Restore AllowMouseOpenFail usage text
...
This was incorrectly stuck behind the XFree86-Misc define, so got
deleted with the rest of misc: restore it unconditionally, as it should
be.
2008-07-17 20:46:27 +03:00
Daniel Stone
6c7c0ffeb7
KDrive: Delete rafts of unused code
...
Most of this stuff was gone with the last real hardware drivers that
used it. Au revoir.
2008-07-17 20:45:01 +03:00
Alan Coopersmith
058100fd19
Remove more Lynx leftovers
...
A couple #if defined(Lynx) && defined(sun) had become just if defined(sun),
resulting in wrong settings for Solaris builds, so they're now just deleted.
2008-07-17 09:35:30 -07:00
Mathieu Bérard
47833eef35
Drop a bunch of #ifdef Lynx.
2008-07-17 11:59:24 -04:00
Adam Jackson
b9a0cee026
Drop hw/xfree86/os-support/lynxos/
...
This has never worked in any modular release, clearly no one cares.
2008-07-17 10:32:35 -04:00
Adam Jackson
d87f170bd9
Remove XF86Misc code from xorgcfg.
2008-07-17 10:29:52 -04:00
Jie Luo
8441e26266
Remove freetype from the list of autoloaded modules.
2008-07-17 10:23:37 -04:00
Daniel Stone
478d3918d5
XFree86: Remove remnants of XFree86-Misc
...
HandleMessage: dear god, no.
2008-07-17 03:29:54 +03:00
Adam Jackson
95000e34df
Build fixes
2008-07-16 16:37:14 -04:00
Adam Jackson
affec10635
Remove loadable font renderer support.
2008-07-16 14:49:36 -04:00
Adam Jackson
acc9105431
Remove font module support from xorgcfg.
2008-07-16 14:24:47 -04:00
Adam Jackson
1a573e402e
Update the Allow*Grabs documentation for xf86misc removal.
...
The API to turn the grab-break keys back off is gone now, so don't
say it exists.
2008-07-16 13:41:53 -04:00
Daniel Stone
22e64108ec
XFree86: Remove XFree86-Misc extension
...
Its last remaining purpose in life has been destroyed by input
properties. Au revoir: it's been fun, by which I mean awful.
2008-07-16 06:25:26 +03:00
Daniel Stone
35c89f3f5b
XFree86: Remove mysticism from Makefile.am
...
The variables were always the same, so just shove them in with the rest
of the plebs.
2008-07-16 01:51:02 +03:00
Daniel Stone
b89a59248a
XFree86: Delete OSMouse code
...
This should be moved into the mouse driver, if anything.
2008-07-16 01:50:27 +03:00
Daniel Stone
d0de5ea96d
XFree86: Remove useless debugging code
...
Also remove documentation which told you how to use a non-module-aware
GDB, albeit only with old, non-shared, modules.
2008-07-16 01:49:27 +03:00
Daniel Stone
4b1273c9c2
XFree86: Delete empty file & function
...
xf86InitXkb() has been empty for as long as I can remember.
2008-07-16 01:48:50 +03:00
Daniel Stone
3a54f3f48f
XFree86: Clean up init a tiny bit (no code changes)
...
Reshuffle and delete.
2008-07-16 01:39:45 +03:00
Daniel Stone
ddcefb50dd
XFree86: Remove trailing whitespace
2008-07-16 01:39:45 +03:00
Daniel Stone
e6f35f28fb
OS/KDrive/XFree86: Sanitise colour initialisation
...
OsInitColors always just returned TRUE, so just remove calls to it and
insane special-case logic. Remove unused kcolor.c implementation, and
merge oscolor.h into oscolor.c since it was the only user. Remove
open-coded strncasecmp in oscolor.c.
Since we no longer need to call OsInitColors after reading the config
file, just call PostConfigInit() from one place, and move PM handling to
one place so we can install the signal handlers earlier.
2008-07-16 01:38:22 +03:00
Adam Jackson
ccec16e519
Bug #7300 : Move xf86RAC to hw/xfree86/common
2008-07-15 11:24:08 -04:00
Julien Cristau
9111944b29
Bug #16674 : Make sure RANDR reports refresh as 0 if pixel clock is 0.
2008-07-15 10:36:38 -04:00
Peter Hutterer
11ee0ae939
xfree86: append, not prepent, new input devices to xf86InputDevs.
...
If devices are prepended to the list, their wake-up order on resume is not the
same as the original initialisation order. Hot-plugged devices, originally
inited last, are re-enabled before the xorg.conf devices and in some cases may
steal the device files. Result: we have different devices before and after
suspend/resume.
RedHat Bug 439386 <https://bugzilla.redhat.com/show_bug.cgi?id=439386 >
2008-07-14 10:20:11 +09:30
Simon Thum
c9eb0e870c
Add support for multiple pointer acceleration schemes. #8583
...
Available acceleration schemes:
- xorg classic scheme.
- the new "Predictable" polynomial accel scheme.
X.Org Bug 8583 <http://bugs.freedesktop.org/show_bug.cgi?id=8583 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-07-13 20:54:33 +09:30
Peter Hutterer
2bbb12c355
Xi: remove ChangeDeviceControl for CoreCtl.
...
If you want to set a device to core, attach it to a master device.
2008-07-13 20:54:33 +09:30
Jeremy Huddleston
c3267106fb
XQuartz: Use CFEqual to compare keyboards
...
(cherry picked from commit 5538e43b9ae7d06d2f48842b065810ce74286eb6)
2008-07-11 10:13:36 -07:00
Jeremy Huddleston
90dd2de845
XQuartz: Some fd handoff cleanup.
...
(cherry picked from commit 9c20a4804d97e67a988f00f49866997209cce518)
2008-07-11 10:13:32 -07:00
Jeremy Huddleston
26d8030c38
XQuartz: Remove deprecated keyboard code.
...
(cherry picked from commit 69cfc1a21e12bb38a6130dea2e5f20f1e6a3ee7c)
2008-07-11 10:13:26 -07:00
Jeremy Huddleston
e69b9f9ca4
XQuartz: Set noPanoramixExtension earlier to avoid a possible race.
...
(cherry picked from commit 49668e8a88137e9f258eae970826883b88b7d8ba)
2008-07-11 10:13:13 -07:00
Jeremy Huddleston
8d2e2e1d85
Xquartz: Removed include directive for removed header
...
(cherry picked from commit e65a36d57f338410c5a5b02cb5ae1214a81d072d)
2008-07-11 10:13:06 -07:00
Aaron Plattner
ebd70c82fd
Add LoaderShouldIgnoreABI to allow drivers that roll their own ABI checks (i.e. nvidia) to perform the check before ScreenInit.
2008-07-10 15:13:13 -07:00
Alan Coopersmith
08e2c625f6
Remove README.font, since it's just an old text copy of xorg-docs/sgml/fonts
2008-07-09 20:07:59 -07:00