Skip to content

Androix merge upstream 010611 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,068 commits into
base: androix-0.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1068 commits
Select commit Hold shift + click to select a range
ac2ae2e
fb: add back fb defines for driver compat.
airlied Mar 29, 2011
36c7158
fb: drop comments around 24-bit support.
airlied Mar 31, 2011
f9834d3
fb: cleanup fbChangeWindowAttributes
airlied Mar 31, 2011
8125737
Xi: take XI2 requests into account also for the swapping case.
mherrb Apr 1, 2011
a074e6b
Xi: add XI_Focus{In,Out} to swapped events.
mherrb Apr 1, 2011
552c785
Xext: fix test on extension number for the swapped case.
mherrb Apr 1, 2011
266ea63
Xi: fix querydevice request swapping
mherrb Apr 1, 2011
8199eac
Handle non continuous valuator data in getValuatorEvents
Mar 28, 2011
f40103c
Don't report old relative values in getValuatorEvents
Mar 31, 2011
29d63ba
xkb: Introduce helper function to handle similar reallocations.
rylimaki Mar 30, 2011
9c4aae2
xkb: Prevent leaking of XKB geometry information on copy.
rylimaki Mar 30, 2011
d044d36
xfree86: loader: fix memory leaks in LoaderListDirs
tiagovignatti Mar 31, 2011
a52049d
Merge branch 'master' of git://people.freedesktop.org/~herrb/xserver …
whot Apr 3, 2011
f1a80e1
dix: remove unused debug code
tiagovignatti Mar 23, 2011
4905135
dix: remove unused macro
tiagovignatti Mar 23, 2011
aa7096c
xorg: remove unused pointer values all over the server
tiagovignatti Mar 25, 2011
8ab92cd
xfree86: dri2: fix memory leak and free resources properly
tiagovignatti Mar 25, 2011
dce2f10
mi: fix memory leak in miInitVisuals
tiagovignatti Mar 25, 2011
623bb34
xi: fix memory leak in ProcXIQueryDevice
tiagovignatti Mar 25, 2011
7ae46b6
mi: fix memory leak in miFillUniqueSpanGroup
tiagovignatti Mar 25, 2011
12e46e8
dix: fix memory leak in SetDefaultFontPath
tiagovignatti Mar 25, 2011
4d87606
Xi: fix memory leak in ProcXGetSelectedExtensionEvents
tiagovignatti Mar 25, 2011
2aa935b
fb: fix memory leak in fbOverlayFinishScreenInit
tiagovignatti Mar 25, 2011
bc12331
xfree86: fix memory leak in xf86ConfigFbEntity
tiagovignatti Mar 25, 2011
ac2fac2
xfree86: fix memory leaks in configLayout
tiagovignatti Mar 29, 2011
af054db
xfree86: fix bad free configInputDevices
tiagovignatti Mar 29, 2011
719b37c
xfree86: fix memory leak in xf86LoadModules
tiagovignatti Mar 29, 2011
bafec9a
os: use DebugF for debugging
tiagovignatti Mar 28, 2011
a6c71ce
os: fix memory and fd leaks in Popen
tiagovignatti Mar 28, 2011
6e5020f
dix: fix memory leak in AllocPseudo
tiagovignatti Mar 28, 2011
c1875ac
dix: fix memory leak in AllocShared
tiagovignatti Mar 28, 2011
daae5e5
xi: fix memory leak in AddExtensionClient
tiagovignatti Mar 28, 2011
90e03ab
mi: fix memory leak in miZeroLine
tiagovignatti Mar 29, 2011
0b288c8
dix: fix memory leak in ProcListExtensions
tiagovignatti Mar 29, 2011
45b6667
xkb: fix fd leak in XkbDDXListComponent
tiagovignatti Mar 29, 2011
bc61787
render: fix memory leaks in ProcRenderCompositeGlyphs
tiagovignatti Mar 29, 2011
c9d89ce
Merge remote-tracking branch 'vignatti/for-keith'
keith-packard Apr 4, 2011
3085b17
Merge remote-tracking branch 'jturney/master'
keith-packard Apr 6, 2011
b28a1af
Fix unset valuator handling for XI 1.x valuator events again
Apr 6, 2011
7aad7db
Xext: use EXT_MASK macro instead of manual & 0x7f
whot Apr 6, 2011
74476b7
xfree86: loader: use one exit code only for readability
tiagovignatti Mar 31, 2011
81414c1
xfree86: xv: fix double free in xf86XVFreeAdaptor
tiagovignatti Mar 31, 2011
82498e3
xfree86: xv: set pointers to NULL in xf86XVFreeAdaptor
tiagovignatti Apr 4, 2011
f603061
os: fix use after free in EstablishNewConnections
tiagovignatti Apr 4, 2011
274dca8
dix: don't free stranger pointers inside AllocARGBCursor
tiagovignatti Apr 4, 2011
e409fb3
damage: use DamageReportDamage for the initial borderClip damage report
eras Apr 12, 2011
b299743
Send events that were missing from RRSelectInput
jeremyhu Apr 13, 2011
93c833e
dri2: Handle calloc() failure
Apr 12, 2011
b3d2164
dri2: Pass out_count by value to update_dri2_drawable_buffers()
Apr 12, 2011
6a433b6
glx: Fix lifetime tracking for pixmaps
nwnk Mar 28, 2011
dc0cf75
Revert "composite: Don't backfill non-bg-None windows"
nwnk Mar 29, 2011
f8540b9
glx: Use 0 rather than garbage for unknown INTEL_swap_event types
nwnk Apr 15, 2011
001b6b8
glx: Make --disable-dri not disable AIGLX
nwnk Apr 15, 2011
7762de6
Simplify auto-detect mouse for WSCONS_SUPPORT
shadchin Apr 9, 2011
419a27b
Xi: fix valuator alignment in DeepCopyDeviceClasses (#36119)
whot Apr 12, 2011
f0f0eec
Xi: silence valgrind warning. (#36120)
whot Apr 11, 2011
315aa84
configure: actually require macros 1.13
whot Mar 23, 2011
2a49ffa
Xi: return the bad device ID if a passive grab fails with BadDevice.
whot Mar 8, 2011
f4d9ff7
Xi: fix reply swapping function check for XIPassiveGrabDevice
whot Mar 8, 2011
a3f37f3
Xi: exit with error value if CheckGrabValues failed.
whot Mar 9, 2011
60b08e0
Xi: don't swap the status byte in the XIPassiveGrab replies
whot Mar 9, 2011
91a7353
test: add some XIPassiveGrab protocol testing.
whot Mar 9, 2011
071a6ac
input: remove GetKeyboardValuatorEvents, this is now unnecessary.
whot Apr 11, 2011
196d679
test: remove glib dependency
whot Apr 15, 2011
c6212a3
dix: silence compiler warning
whot Apr 15, 2011
47f8cba
xfree86: removed unused "event" variable in xf86PostMotionEventM
whot Apr 11, 2011
8c528c6
dix: fix typo in direction calculation
whot Apr 20, 2011
709b291
dix: only use a single return where only one is needed.
whot Apr 20, 2011
e804ae8
dix: improve readbility of DoGetDirection.
whot Apr 20, 2011
7513190
dix: improve comment, directions flagged are 45° each
whot Apr 20, 2011
df90db8
dix: document DoGetDirection's maths
whot Apr 20, 2011
afaa178
dix: document GetDirection
whot Apr 20, 2011
5f8edbe
dix: use single return value in GetDirection
whot Apr 20, 2011
62f4bef
dix: use single return statement in DoGetDirection
whot Apr 21, 2011
9e8645c
dix: CalcTracker only uses the tracker, thus only pass the tracker.
whot Apr 20, 2011
6b3a4cc
dix: don't pass the index for a tracker around, pass the tracker
whot Apr 20, 2011
70b7628
dix: add some more documentation to ptraccel code
whot Apr 20, 2011
1c162eb
dix: change ProcessVelocityData2D to BOOL.
whot Apr 20, 2011
97c1967
dix: rename "res" to "result" for improved readability
whot Apr 20, 2011
5ffe06b
dix: Don't use short as bool
whot Apr 20, 2011
c45f4cc
dix: rename od, d to prev_delta, delta
whot Apr 20, 2011
8ae9055
dix: use single return statement in ApplySimpleSoftening
whot Apr 20, 2011
5870d50
dix: split softening and constant deceleration into two functions
whot Apr 20, 2011
81c6e79
dix: reduce the work done by ApplySoftening
whot Apr 20, 2011
e490190
dix: reduce scope of tmp and mult.
whot Apr 20, 2011
a0eda8c
dix: rename a bunch of variables to be more self-explanatory
whot Apr 21, 2011
6f97fe5
dix: improve control flow in QueryTrackers
whot Apr 21, 2011
7524dbd
XQuartz: Make the DarwinProcessFDAdditionQueue_thread wait 3 seconds …
jeremyhu Apr 21, 2011
3960115
XQuartz: Fix prototypes for thread functions
jeremyhu Apr 21, 2011
ca7b9e6
configure.ac: Add check for libdispatch when building for darwin
jeremyhu Apr 21, 2011
034538e
XQuartz: Use dispatch_async to handoff the FD
jeremyhu Apr 21, 2011
72bd232
XQuartz: Send tablet proximity events with tilt and pressure
jeremyhu Apr 22, 2011
5f496bc
XQuartz: Do translation and handoff of NSEvent to X11 in a separate s…
jeremyhu Apr 22, 2011
302bdc3
Merge remote-tracking branch 'whot/for-keith'
keith-packard Apr 22, 2011
88c4622
linux: Retry VT ioctls while errno == EINTR
aaronp24 Apr 18, 2011
918a9c9
Merge remote-tracking branch 'jeremyhu/master'
keith-packard Apr 22, 2011
c7bce22
Track damage for fbTrapezoids() and fbTriangles().
sorensp Mar 28, 2011
61a92a7
Add RegionInitBoxes(), and fix some buggy callers of RegionInit().
sorensp Mar 29, 2011
b0d84f9
render: Delete PictureGradientColor()
sorensp Mar 29, 2011
2b0cabe
render: Remove unused fields in the source picture structs
sorensp Mar 29, 2011
0463506
render: Remove unused TriStrip and TriFan typedefs
sorensp Mar 29, 2011
1b96a99
fb: Call miCompositeSourceValidate() on the source in fbShapes()
sorensp Mar 10, 2011
c6cb70b
Fix trapezoid and triangle rendering to windows
sorensp Mar 28, 2011
9b5046d
Xi: remove duplicated includes
nikai3d Apr 24, 2011
86c0c8b
dix: remove duplicated includes
nikai3d Apr 24, 2011
b56271b
hw/xfree86/ddc: remove duplicated include
nikai3d Apr 24, 2011
0320db2
hw/xfree86/dri: remove duplicated includes
nikai3d Apr 24, 2011
78a9ec1
hw/xfree86/fbdevhw: remove duplicated include
nikai3d Apr 24, 2011
387f45a
hw/xfree86/modes: remove duplicated include
nikai3d Apr 24, 2011
50ced6c
hw/xnest: remove duplicated include
nikai3d Apr 24, 2011
c270cfc
hw/xquartz: remove duplicated includes
nikai3d Apr 24, 2011
a17c30d
hw/xwin: remove duplicated includes
nikai3d Apr 24, 2011
79b3a7f
test/xi2: remove duplicated include
nikai3d Apr 24, 2011
5423da9
xkb: remove duplicated include
nikai3d Apr 24, 2011
aad7b32
os: Add missing _X_ATTRIBUTE_PRINTF to va_list variants
jeremyhu Apr 25, 2011
fd086f8
fb: Silence warnings when building with clang
jeremyhu Apr 24, 2011
ab81aa9
Xext: Silence warnings when building with clang
jeremyhu Apr 24, 2011
c524f8b
os: Silence warnings when building with clang
jeremyhu Apr 24, 2011
5c9eafc
render: Silence warnings when building with clang
jeremyhu Apr 24, 2011
bb4d145
glx: Silence warnings when building with clang
jeremyhu Apr 24, 2011
2098cb0
rootless: Dead code removal
jeremyhu Apr 24, 2011
4944de2
rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value
jeremyhu Apr 24, 2011
6128544
XQuartz: Bump bundle version to 2.7.0
jeremyhu Apr 25, 2011
d79cc14
XQuartz: Fix compilation warnings with XPLUGIN_VERSION >= 4
jeremyhu Apr 22, 2011
a52c807
XQuartz: Use xorg_backtrace() instead of spewCallStack()
jeremyhu Apr 23, 2011
3e253c6
XQuartz: Remove the threadSafety dead-ish code
jeremyhu Apr 23, 2011
1596ea7
XQuartz: Use a lighter spinlock instead of a pthread_mutex_t in Quart…
jeremyhu Apr 23, 2011
bac34a5
XQuartz: xpr: Initialize window_hash in xprInit
jeremyhu Apr 23, 2011
9244a3a
XQuartz: xpr: Use a serial queue rather than pthread mutexes for wind…
jeremyhu Apr 23, 2011
d0caa0e
XQuartz: Silence warnings about deprecated functionality where it is …
jeremyhu Apr 24, 2011
913223e
XQuartz: xpr: Dead code removal
jeremyhu Apr 24, 2011
f1d867c
XQuartz: Silence clang static analyzer
jeremyhu Apr 24, 2011
e466745
XQuartz: Dead code removal
jeremyhu Apr 25, 2011
de4023f
XQuartz: Rename launchd-id-prefix to bundle-id-prefix
jeremyhu Apr 25, 2011
0a60192
XQuartz: Enable logging to a file for better debugging
jeremyhu Apr 25, 2011
72ed755
XQuartz: pbproxy: LP64: Fix itteration through XGetWindowProperty whe…
exg Apr 25, 2011
cb083b0
XQuartz: stub: Dead code removal
jeremyhu Apr 26, 2011
6f29dbf
XQuartz: Use ErrorF rather than fprintf to log errors
jeremyhu Apr 26, 2011
c5a612f
configure: Let configure --enable/disable-aiglx control building of A…
jon-turney Apr 16, 2010
19e764e
Cygwin/X: Internal WM workaround for Java AWT bug
jon-turney Jul 21, 2010
bd288c3
Cygwin/X: Fix a GDI bitmap resource leak of window icons
jon-turney Jul 22, 2010
38a1f5c
Cygwin/X: Don't make InputOnly windows visible
jon-turney Oct 12, 2010
71550a8
Cygwin/X: Decorate function pointers retrieved via GetProcAddress wit…
jon-turney Jan 28, 2011
0c60350
Cygwin/X: Cosmetic fixes to logging of result from X*TextPropertyToTe…
jon-turney Feb 11, 2011
ce6136f
Cygwin/X: Make winOverrrideStyle() thread-safe
jon-turney Mar 23, 2010
4318e6a
Cygwin/X: Handle failure during winScreenInit()
jon-turney Mar 5, 2011
ec9ea40
Merge remote-tracking branch 'jeremyhu/master'
keith-packard Apr 27, 2011
f6d4e75
Merge remote-tracking branch 'jturney/master'
keith-packard Apr 27, 2011
0f284f0
XQuartz: BuildFix to build correctly with XPLUGIN_VERSION < 4
jeremyhu Apr 28, 2011
a508786
configure: Look for Khronos OpenGL spec files using pkg-config
jon-turney Apr 6, 2011
4d8735d
hw/xwin: wglext.h should be provided by w32api, rather than downloaded
jon-turney Apr 6, 2011
5cb31cd
Merge remote-tracking branch 'jturney/remove-opengl-spec-download'
keith-packard Apr 29, 2011
29d4716
XQuartz: Use a rwlock instead of a mutex to protect window_hash in th…
jeremyhu Apr 24, 2011
0fc7ec6
XQuartz: Fix incorrect typedefs with XPLUGIN_VERSION < 4
jeremyhu Apr 29, 2011
c602924
Move Xinput server API documentation from libXi to doc/xml
alanc Feb 3, 2011
8d229c4
Make xorg.conf.example rule compatible with Solaris make
alanc Mar 11, 2011
a14a0c7
Move event filter initializer out of the structure itself
alanc Apr 23, 2011
65b5454
Input: Pass co-ordinates by reference to transformAbsolute
Jan 18, 2011
7063264
Input: Add DeepestSpriteWin function
fooishbar Jan 18, 2011
73de542
Input: Fix event size confusion in CheckPassiveGrabsOnWindow
fooishbar Jan 23, 2011
dadb079
Only free pContext once when AddResource fails in ProcRecordCreateCon…
alanc Apr 20, 2011
043c175
Clean up memory better when GetVisualInfo fails in ProcDbeGetVisualInfo
alanc Apr 20, 2011
bac8d12
XQuartz: Ensure that {CF,NS}_RETURNS{,_NOT}_RETAINED are defined
jeremyhu May 3, 2011
3ac220d
XQuartz: prefs_copy_url and prefs_get_copy return retained objects
jeremyhu May 3, 2011
ce9eff9
composite: Call ValidateGC after ChangeGC
Dec 20, 2010
a6ae917
composite: Initialize borderClip with current values
Dec 20, 2010
193ecc8
composite: Get rid of the internal UnmapWindow+MapWindow cycle
Dec 17, 2010
74663e6
composite: Copy the window contents back from the pixmap
Dec 20, 2010
f2001b0
composite: Fix pWin->redirectDraw when changing between manual and au…
Apr 13, 2011
eac37f3
composite: Recompute clipping when changing between manual and automa…
Apr 13, 2011
bf2059b
input: Only release SD buttons for explicit floating/reattachment (#3…
whot Apr 15, 2011
b47d2e4
XQuartz: Make a copy of args for our crash reporter vsnprintf
jeremyhu May 5, 2011
5690199
input: change CHECKEVENT macro to verify_internal_event function
whot May 4, 2011
00ba884
Input: Make CheckPassiveGrabsOnWindow take InternalEvent
fooishbar Jan 19, 2011
70cef8d
Input: Simplify CheckPassiveGrabsOnWindow loop
fooishbar Jan 19, 2011
72b6639
XKB: Don't send unnecessary NewKeyboardNotifies
fooishbar May 3, 2011
b8540d1
XKB: Simplify a loop in ProcXkbGetKbdByName
fooishbar May 3, 2011
c763449
XKB: Remove duplicate keymap-copying loop
fooishbar May 3, 2011
a79d454
XKB: Send NewKeyboardNotify for dev before its master/slaves
fooishbar May 3, 2011
460a377
XKB: Send XKB events for all devices to all clients
fooishbar May 3, 2011
3231962
XKB: Fix sense inversion for core MapNotify events
fooishbar May 3, 2011
1b8593a
xfree86: print the device ID to the log when adding a device.
whot May 9, 2011
e7150db
input: Provide Queue{Button|Keyboard|Proximity}Event helpers
whot Apr 11, 2011
8670c46
input: replace EventListPtr with InternalEvent array
whot Apr 14, 2011
20fb07f
input: remove DDX event list handling
whot Apr 15, 2011
c8674a3
dix: replace unneded goto with break.
whot Apr 14, 2011
c89a6f8
XQuartz: Don't call into CoreFoundation after fork() and before exec()
jeremyhu May 11, 2011
a558a66
configure.ac: XQuartz: Fix support for the deprecated --with-launchd-…
jeremyhu May 12, 2011
a311a03
dix: split implicit grab activation into a separate function.
jameysharp May 11, 2011
536ca28
dix: split out window owner event delivery from DeliverEventsToWindow
whot Apr 12, 2011
236ed6f
dix: split out client delivery from DeliverEventsToWindow
whot Apr 12, 2011
2054ca7
dix: move the grab activation condition into a if block.
whot Apr 14, 2011
5bcc227
dix: return deliveries from DeliverGrabbedEvent
whot Apr 14, 2011
dc45d58
Xi: split DeviceStateNotify delivery into a separate function
whot Apr 14, 2011
c4f9c3a
dix: use a tmp variable instead of multiple rClient(other).
whot May 11, 2011
ffd4874
include: add version_compare helper function
whot May 11, 2011
728d0bf
dix: replace CORE_EVENT and XI2_EVENT macros with inline functions.
whot May 11, 2011
d694601
Fix a typo: laucnd instead of launchd
jeremyhu May 12, 2011
c18b716
XQuartz: stub: Log directly to ASL rather than stdout/stderr
jeremyhu May 13, 2011
5bc05d9
XQuartz: Add a LOGGING section to our man page
jeremyhu May 12, 2011
f46835a
XQuartz: Redirect stdout/stderr to asl
jeremyhu May 11, 2011
f144fb7
XQuartz: Don't circumvent NDEBUG
jeremyhu May 13, 2011
4d02c53
Merge remote-tracking branch 'vsyrjala/composite_validatetree_2'
keith-packard May 13, 2011
6347a0b
Merge remote-tracking branch 'jeremyhu/master'
keith-packard May 13, 2011
ba55402
Merge remote-tracking branch 'whot/for-keith'
keith-packard May 13, 2011
5318694
dri2: Don't send so many needless invalidate events
May 6, 2011
04011b0
doc: use common makefile for developers documentation
memsize Apr 29, 2011
595460c
dmx/doc: use common makefile for developers documentation
memsize Apr 29, 2011
622ebb8
dmx: split DocBook/XML and Doxygen makefile targets
memsize Apr 29, 2011
0d8a576
dmx: modernize doxygen generation.
memsize Apr 29, 2011
9129beb
dmx: fix warning for doxygen explicit links
memsize Apr 29, 2011
221507e
man: relocate manual pages in the man subdir outside doc
memsize Apr 29, 2011
dbe2663
doc: add external doc references support to Xserver-DTrace
memsize May 14, 2011
96c65be
doc: relocate xserver.ent in the package root directory
memsize May 14, 2011
0e7f61d
doc: use devbook.am for developers documentation
memsize May 14, 2011
fd5f630
XQuartz: Fix an array-index-out-of-bounds crasher
jeremyhu May 14, 2011
2519164
XQuartz: Don't call mieqEnqueue during server shutdown
jeremyhu May 14, 2011
384eb45
XQuartz: RandR: Avoid over-releasing if we are unable to determine th…
jeremyhu May 15, 2011
96ac4e6
XQuartz: Update DEBUG_LOG to report to ASL
jeremyhu May 19, 2011
7413886
XQuartz: Silence clang warnings about shadow declarations
jeremyhu May 19, 2011
f25ca89
XQuartz: Mark functions _X_NORETURN
jeremyhu May 19, 2011
60af79e
XQuartz: RandR: Don't crash if X11 is launched while there are no att…
jeremyhu May 22, 2011
1fb501a
XQuartz: Don't crash if CG increases our display resolution
jeremyhu May 22, 2011
0de7cec
xfree86: bump to video ABI 11
whot May 19, 2011
ba7d102
input: Fix format string for verify_internal_event
jeremyhu May 14, 2011
4c4df3a
input: Don't implicitly define verify_internal_event
jeremyhu May 14, 2011
53ccc54
Fix XWin compilation after updates for input API changes
May 16, 2011
b387069
Xephyr: added dummy ephyrDeviceCursorCleanup() to avoid crashing
tthef May 18, 2011
83c059f
Xephyr: fix pointer coordinate translation when screen is rotated
tthef May 18, 2011
c05c864
xfree86: Allow "MatchLayout" statements in config files
ONykyf May 19, 2011
b5d8287
xserver: remove AbsoluteClass, breaking the A(P|B)I
simonthum Mar 10, 2011
1b2d177
fbbltone.c: Mark bitmasks as unsigned ints
alanc May 22, 2011
4725d6b
Merge remote-tracking branch 'whot/for-keith'
keith-packard May 25, 2011
b6c7b9b
randr: check rotated virtual size limits correctly
aaronp24 May 24, 2011
8d84fd2
Don't call pixman_disable_out_of_bounds_workaround() anymore
sorensp May 25, 2011
f26a5b9
Xi: add device node property to known properties.
whot Jan 31, 2011
4621bb2
Add a property for device/product ID.
whot May 18, 2011
9275b1f
Use XORG_COMPILER_BRAND from util-macros 1.14 to check for SUNCC
alanc May 3, 2011
eadf502
Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flags
alanc May 3, 2011
bc04065
"privates.h", line 198: warning: void function cannot return value
alanc May 21, 2011
d45f5b2
fixes: Add support for pointer barriers
nwnk May 25, 2011
a2e6cfc
Merge remote-tracking branch 'sandmann/for-keithp'
keith-packard Jun 1, 2011
0643c05
Merge remote-tracking branch 'ajax/xserver-next'
keith-packard Jun 1, 2011
db228d3
Version bumped to 1.10.99.901 (1.11 RC1)
keith-packard Jun 1, 2011
c5b72fd
DIX: Set backgroundState correctly for root window
mark1m4 May 21, 2011
416549f
Changed author and email.
webbbn Jun 2, 2011
cbd8c40
Checked in upstream changes and updates.
webbbn Jun 7, 2011
537ba84
Fixed location of button/motion events.
webbbn Jun 8, 2011
6ba2eb1
Updated Java code in hw/android.
webbbn Jul 6, 2011
f72ab1c
Updated Android Java bits.
webbbn Jul 7, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ core
#
doltcompile
doltlibtool
xserver.ent
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Copyright © 2006-2007 Intel Corporation
Copyright © 2006 Nokia Corporation
Copyright © 2006-2008 Peter Hutterer
Copyright © 2006 Adam Jackson
Copyright © 2009 NVIDIA Corporation
Copyright © 2009-2010 NVIDIA Corporation
Copyright © 1987, 2003-2006, 2008-2010 Oracle and/or its affiliates.
Copyright © 1999 Keith Packard
Copyright © 2007-2009 Red Hat, Inc.
Copyright © 2005-2008 Daniel Stone
Copyright © 2006-2009 Simon Thum
Copyright © 1987, 2003-2006, 2008-2009 Sun Microsystems, Inc.
Copyright © 2006 Luc Verhaegen

Permission is hereby granted, free of charge, to any person obtaining a
Expand Down
5 changes: 3 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ endif

SUBDIRS = \
doc \
man \
include \
dix \
fb \
Expand All @@ -38,8 +39,7 @@ SUBDIRS = \
$(GLX_DIR) \
exa \
config \
hw \
test
hw

if XORG
aclocaldir = $(datadir)/aclocal
Expand Down Expand Up @@ -68,6 +68,7 @@ dist-hook: ChangeLog INSTALL

DIST_SUBDIRS = \
doc \
man \
include \
dix \
fb \
Expand Down
10 changes: 2 additions & 8 deletions Xext/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ INCLUDES = -I$(top_srcdir)/hw/xfree86/dixmods/extmod
AM_CFLAGS = $(DIX_CFLAGS)

if XORG
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h shmint.h
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h shmint.h syncsdk.h
endif

# Sources always included in libXextbuiltin.la & libXext.la
Expand All @@ -26,6 +26,7 @@ BUILTIN_SRCS = \
sleepuntil.c \
sleepuntil.h \
sync.c \
syncsdk.h \
syncsrv.h \
xcmisc.c \
xtest.c
Expand Down Expand Up @@ -93,12 +94,6 @@ if XCSECURITY
BUILTIN_SRCS += $(XCSECURITY_SRCS)
endif

XCALIBRATE_SRCS = xcalibrate.c
if XCALIBRATE
BUILTIN_SRCS += $(XCALIBRATE_SRCS)
# XCalibrate needs tslib
endif

# XF86 Big Font extension
BIGFONT_SRCS = xf86bigfont.c xf86bigfontsrv.h
if XF86BIGFONT
Expand Down Expand Up @@ -131,7 +126,6 @@ EXTRA_DIST = \
$(XACE_SRCS) \
$(XCSECURITY_SRCS) \
$(XSELINUX_SRCS) \
$(XCALIBRATE_SRCS) \
$(XINERAMA_SRCS) \
$(BIGFONT_SRCS) \
$(DPMS_SRCS) \
Expand Down
13 changes: 6 additions & 7 deletions Xext/geext.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include "geext.h"
#include "protocol-versions.h"

#define rClient(obj) (clients[CLIENT_ID((obj)->resource)])

DevPrivateKeyRec GEClientPrivateKeyRec;

int RT_GECLIENT = 0;
Expand All @@ -51,6 +49,7 @@ static const int version_requests[] = {
static void SGEGenericEvent(xEvent* from, xEvent* to);

#define NUM_VERSION_REQUESTS (sizeof (version_requests) / sizeof (version_requests[0]))
#define EXT_MASK(ext) ((ext) & 0x7F)

/************************************************************/
/* request handlers */
Expand Down Expand Up @@ -187,14 +186,14 @@ SGEGenericEvent(xEvent* from, xEvent* to)
xGenericEvent* gefrom = (xGenericEvent*)from;
xGenericEvent* geto = (xGenericEvent*)to;

if (gefrom->extension > MAXEXTENSIONS)
if ((gefrom->extension & 0x7f) > MAXEXTENSIONS)
{
ErrorF("GE: Invalid extension offset for event.\n");
return;
}

if (GEExtensions[gefrom->extension & 0x7F].evswap)
GEExtensions[gefrom->extension & 0x7F].evswap(gefrom, geto);
if (GEExtensions[EXT_MASK(gefrom->extension)].evswap)
GEExtensions[EXT_MASK(gefrom->extension)].evswap(gefrom, geto);
}

/* Init extension, register at server.
Expand Down Expand Up @@ -243,11 +242,11 @@ void
GERegisterExtension(int extension,
void (*ev_swap)(xGenericEvent* from, xGenericEvent* to))
{
if ((extension & 0x7F) >= MAXEXTENSIONS)
if (EXT_MASK(extension) >= MAXEXTENSIONS)
FatalError("GE: extension > MAXEXTENSIONS. This should not happen.\n");

/* extension opcodes are > 128, might as well save some space here */
GEExtensions[extension & 0x7f].evswap = ev_swap;
GEExtensions[EXT_MASK(extension)].evswap = ev_swap;
}


Expand Down
42 changes: 29 additions & 13 deletions Xext/panoramiX.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Equipment Corporation.
#include "servermd.h"
#include "resource.h"
#include "picturestr.h"
#ifdef XFIXES
#include "xfixesint.h"
#endif
#ifdef COMPOSITE
#include "compint.h"
#endif
#include "modinit.h"
#include "protocol-versions.h"

Expand All @@ -77,11 +83,11 @@ static DepthPtr PanoramiXDepths;
static int PanoramiXNumVisuals;
static VisualPtr PanoramiXVisuals;

unsigned long XRC_DRAWABLE;
unsigned long XRT_WINDOW;
unsigned long XRT_PIXMAP;
unsigned long XRT_GC;
unsigned long XRT_COLORMAP;
RESTYPE XRC_DRAWABLE;
RESTYPE XRT_WINDOW;
RESTYPE XRT_PIXMAP;
RESTYPE XRT_GC;
RESTYPE XRT_COLORMAP;

static Bool VisualsEqual(VisualPtr, ScreenPtr, VisualPtr);
XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr = &VisualsEqual;
Expand Down Expand Up @@ -387,7 +393,7 @@ static void XineramaInitData(ScreenPtr pScreen)
int i, w, h;

RegionNull(&PanoramiXScreenRegion);
for (i = 0; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS(i) {
BoxRec TheBox;
RegionRec ScreenRegion;

Expand All @@ -407,7 +413,7 @@ static void XineramaInitData(ScreenPtr pScreen)
PanoramiXPixWidth = screenInfo.screens[0]->x + screenInfo.screens[0]->width;
PanoramiXPixHeight = screenInfo.screens[0]->y + screenInfo.screens[0]->height;

for (i = 1; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS_FORWARD_SKIP(i) {
pScreen = screenInfo.screens[i];
w = pScreen->x + pScreen->width;
h = pScreen->y + pScreen->height;
Expand Down Expand Up @@ -472,7 +478,7 @@ void PanoramiXExtensionInit(int argc, char *argv[])
* run in non-PanoramiXeen mode.
*/

for (i = 0; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS(i) {
pScreen = screenInfo.screens[i];
pScreenPriv = malloc(sizeof(PanoramiXScreenRec));
dixSetPrivate(&pScreen->devPrivates, PanoramiXScreenKey,
Expand Down Expand Up @@ -581,6 +587,13 @@ void PanoramiXExtensionInit(int argc, char *argv[])
ProcVector[X_StoreNamedColor] = PanoramiXStoreNamedColor;

PanoramiXRenderInit ();
#ifdef XFIXES
PanoramiXFixesInit ();
#endif
#ifdef COMPOSITE
PanoramiXCompositeInit ();
#endif

}

extern Bool CreateConnectionBlock(void);
Expand Down Expand Up @@ -727,7 +740,7 @@ PanoramiXMaybeAddDepth(DepthPtr pDepth)
int j, k;
Bool found = FALSE;

for (j = 1; j < PanoramiXNumScreens; j++) {
FOR_NSCREENS_FORWARD_SKIP(j) {
pScreen = screenInfo.screens[j];
for (k = 0; k < pScreen->numDepths; k++) {
if (pScreen->allowedDepths[k].depth == pDepth->depth) {
Expand Down Expand Up @@ -760,7 +773,7 @@ PanoramiXMaybeAddVisual(VisualPtr pVisual)
int j, k;
Bool found = FALSE;

for (j = 1; j < PanoramiXNumScreens; j++) {
FOR_NSCREENS_FORWARD_SKIP(j) {
pScreen = screenInfo.screens[j];
found = FALSE;

Expand Down Expand Up @@ -823,7 +836,7 @@ PanoramiXConsolidate(void)
saver = malloc(sizeof(PanoramiXRes));
saver->type = XRT_WINDOW;

for (i = 0; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS(i) {
ScreenPtr pScreen = screenInfo.screens[i];
root->info[i].id = pScreen->root->drawable.id;
root->u.win.class = InputOutput;
Expand Down Expand Up @@ -882,6 +895,9 @@ static void PanoramiXResetProc(ExtensionEntry* extEntry)
int i;

PanoramiXRenderReset ();
#ifdef XFIXES
PanoramiXFixesReset ();
#endif
screenInfo.numScreens = PanoramiXNumScreens;
for (i = 256; i--; )
ProcVector[i] = SavedProcVector[i];
Expand Down Expand Up @@ -1058,7 +1074,7 @@ ProcXineramaQueryScreens(ClientPtr client)
xXineramaScreenInfo scratch;
int i;

for(i = 0; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS(i) {
scratch.x_org = screenInfo.screens[i]->x;
scratch.y_org = screenInfo.screens[i]->y;
scratch.width = screenInfo.screens[i]->width;
Expand Down Expand Up @@ -1163,7 +1179,7 @@ XineramaGetImageData(

depth = (format == XYPixmap) ? 1 : pDraw->depth;

for(i = 0; i < PanoramiXNumScreens; i++) {
FOR_NSCREENS(i) {
BoxRec TheBox;
ScreenPtr pScreen;
pDraw = pDrawables[i];
Expand Down
4 changes: 3 additions & 1 deletion Xext/panoramiX.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Equipment Corporation.
#include <X11/extensions/panoramiXproto.h>
#undef _PANORAMIX_SERVER
#include "gcstruct.h"

#include "dixstruct.h"

typedef struct _PanoramiXInfo {
XID id ;
Expand All @@ -70,9 +70,11 @@ typedef struct {
} PanoramiXRes;

#define FOR_NSCREENS_FORWARD(j) for(j = 0; j < PanoramiXNumScreens; j++)
#define FOR_NSCREENS_FORWARD_SKIP(j) for(j = 1; j < PanoramiXNumScreens; j++)
#define FOR_NSCREENS_BACKWARD(j) for(j = PanoramiXNumScreens - 1; j >= 0; j--)
#define FOR_NSCREENS(j) FOR_NSCREENS_FORWARD(j)

#define IS_SHARED_PIXMAP(r) (((r)->type == XRT_PIXMAP) && (r)->u.pix.shared)

#define IS_ROOT_DRAWABLE(d) (((d)->type == XRT_WINDOW) && (d)->u.win.root)
#endif /* _PANORAMIX_H_ */
Loading