Commit graph

5787 commits

Author SHA1 Message Date
Jeremy Huddleston
6d72ed18ac 1.5.3-apple18 2009-10-18 16:59:03 -07:00
Jeremy Huddleston
4b18b1ce4a Rootless: src drawable window can now be NULL
Fix a possible crash when pSrc->pDrawable is NULL.

Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
(cherry picked from commit 7e178ffbed)
2009-10-18 15:29:29 -07:00
Jeremy Huddleston
f7f4b9a3ad Rootless: Abstract some of the Xplugin specific stuff which has crept into rootlessWindow.c
The rootless extension now directly calls some Xplugin functions, and relies
on types defined in Xplugin.h, which isn't very abstracted :-)

This patch is a start at abstracting some of the Xplugin specific stuff which
has crept into rootlessWindow.c.  This has been done in a pretty mindless fashion,
without much thought as to if the additions to the generic rootless interface are
the correct ones

There is some confusion as to if RootlesscolormapCallback() returns a Bool or
xp_error_enum value (not so abstact), but I have no way of checking, of finding
out if Xplugin actually checks the result :-)

Based on patches from Colin Harrison, Jon Turney and Yaakov Selkowitz

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
(cherry picked from commit 6980f77892)
2009-10-18 15:27:21 -07:00
Jeremy Huddleston
e2acf60a98 XQuartz: Fix a possible minor memory leak
(cherry picked from commit 24e640e1fa)
2009-10-02 19:21:38 -07:00
Jeremy Huddleston
8bf903bb01 XQuartz: Send mouse location with scroll events.
This fixes the problem where (0, 0) was sent as the mouse location with scroll
button events causing the event to not reach the client.
(cherry picked from commit c4886fbabc)
2009-10-02 19:00:56 -07:00
Peter Hutterer
9c82cfb1ba render: rename SetBit to RenderSetBit.
Avoiding namespace collision with the SetBit macro soon to be used in the
input code.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 8460425740)
2009-10-02 18:14:46 -07:00
Jeremy Huddleston
972c53d00e 1.5.3-apple17 2009-10-01 13:23:04 -07:00
Jeremy Huddleston
9936b5b188 XQuartz: Dead code removal: quartzPasteboard.[hc] 2009-10-01 13:23:01 -07:00
Jeremy Huddleston
8bca86c202 XQuartz: Set the proper bitmap for key repeats...
XkbSetRepeatKeys lies and doesn't do what it says it will...
(cherry picked from commit 873467adad)
2009-10-01 13:17:32 -07:00
Peter Hutterer
022846f7fb dix: add SetBit(arr, bit) and ClearBit(arr, bit) to include/inputstr.h
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 5e0967f5fc)
2009-10-01 13:17:32 -07:00
Jeremy Huddleston
30e039468d XQuartz: Cleaned up keymap setting for easier maintenance
(cherry picked from commit b9dfed9e88)
2009-09-29 00:00:49 -07:00
Jeremy Huddleston
ba4ce7df9d XQuartz: Push kXquartzReloadKeymap into DarwinEventHandler
(cherry picked from commit 9604e0925a)
2009-09-28 23:53:20 -07:00
Jeremy Huddleston
3f508242d8 XQuartz: Remove the redundant xquartz_resetenv_display
unsetenv(DISPLAY) takes care of this for us anyway
(cherry picked from commit d2263645d8)
2009-09-28 23:13:18 -07:00
Jeremy Huddleston
7b342e9a8a XQuartz: Query the BundleIdentifier from the bundle in X11.bin rather than using the configure option.
This lets X11.bin drop into any .app ... the Info.plist and Xquartz binary need to have it hardcoded still.
(cherry picked from commit 9ad16b8e50)
2009-09-28 23:13:12 -07:00
Jeremy Huddleston
b0367d792b Rootless: Correct border rendering on parent-relative windows
Resurected code from the punted RootlessPaintBackground/Border and added it conditionally to miPaintWindow
(cherry picked from commit cf2e3312cf)
2009-09-27 23:41:24 -07:00
Ben Byer
2ade01f24f Add (ok, fix) support for DTrace under OS X
(cherry picked from commit 8428a57184)
2009-09-27 23:32:27 -07:00
Jeremy Huddleston
459ae6273a XQuartz: Fix a bunch of compilation warnings about style
(cherry picked from commit 54000bdcbc)
2009-09-27 23:29:37 -07:00
Jeremy Huddleston
f7d5ab6cd2 XQuartz: Nuke TSM
It's deprecated in SnowLeopard.  Ben and I both have no idea what it is for.  It says something about unicode input, but urxvt seems fine taking in unicode, so /shrug... bye.
(cherry picked from commit 29cb904e4d)
2009-09-27 23:26:01 -07:00
Jeremy Huddleston
547a056ac3 XQuartz: Fix inverse map from mode_switch to alt
(cherry picked from commit de6cee11e1)
2009-09-27 23:25:42 -07:00
Jeremy Huddleston
3fdb60fa24 XQuartz: Force a keymap resync on the first keypress to workaround XKB mucking with our keymap.
We need to find a better way to work with XKB on this.
(cherry picked from commit ceaa5c779c)
2009-09-27 23:25:26 -07:00
Jeremy Huddleston
1cc332052b XQuartz: Stop checking version numbers of the bundle because CFBundleGetVersionNumber is gimpish
(cherry picked from commit 9f5bdd8960)
2009-09-26 23:44:23 -07:00
Jeremy Huddleston
e0086630d1 XQuartz: GLX capabilities: Allow 16bit accumulation buffers
http://xquartz.macosforge.org/trac/ticket/308
(cherry picked from commit e9e63a2118)
2009-09-23 18:20:39 -07:00
Jeremy Huddleston
1fd7c1fd47 XQuartz: pbproxy: Remove debugging XBell() 2009-09-14 13:52:53 -07:00
Jeremy Huddleston
647c871dc9 XQuartz: launchd: Fallback on :0 if prefix:0 gives an error for the socket name 2009-09-06 14:02:53 -07:00
Jeremy Huddleston
9a77905a97 XQuartz: Fix "warning: function declaration isn’t a prototype" noise 2009-09-05 14:04:53 -07:00
Jeremy Huddleston
1b659cda1a XQuartz: pbproxy: 64bit fixes: Properly process an array of Atoms 2009-09-05 14:04:10 -07:00
Jeremy Huddleston
701c24da3e XQuartz: Fix a strcpy/strcmp typo 2009-09-05 02:51:09 -07:00
Jeremy Huddleston
649b8dc1a9 1.5.3-apple16 2009-09-04 00:40:36 -07:00
Jeremy Huddleston
3d5e10cce3 XQuartz: Check the DISPLAY environment variable to see if the socket at startup is ours. If not, ignore it and fork/exec startx. 2009-09-04 00:38:58 -07:00
Jeremy Huddleston
990038ab00 XQuartz: Use --with-launchd-id-prefix for consistency with xinit
Also actually honor LAUNCHD_ID_PREFIX and APPLE_APPLICATION_NAME
2009-09-03 19:40:11 -07:00
Jerome Glisse
b03f9fa630 Xext: fix a typo for bigreqsproto.h header file
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
(cherry picked from commit 0e46066efe)
2009-09-01 09:29:24 -07:00
Jeremy Huddleston
545161ea9e Xext: Require newer versions of xcmiscproto, bigreqsproto, and xf86bigfontproto for new *proto.h header file names
bigreqsproto >= 1.1.0
xcmiscproto >= 1.2.0
xf86bigfontproto >= 1.2.0
2009-08-31 18:09:52 -07:00
Jeremy Huddleston
e1f97a7e31 1.5.3-apple15 2009-08-31 15:58:58 -07:00
Jeremy Huddleston
608581c3e9 mi: fix build error caused by missing xtest.h
xtest.h was renamed to xtestconst.h in xextproto.
Requires xextproto 7.0.99.3

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 20daa145c4)
2009-08-31 15:58:18 -07:00
Jeremy Huddleston
5ae71e9c94 Use evieproto.h instead... 2009-08-31 11:23:20 -07:00
Peter Hutterer
c40d988b23 Xext: include securproto.h instead of securstr.h
Reported-by: Byeong-ryeol Kim
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 4db8950b1d)
2009-08-31 11:21:54 -07:00
Jeremy Huddleston
fc792024f7 xext: Use proto header rather than the Xext include file, this prevents userspace being pulled in causing issues
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit a38ca0063c)
2009-08-31 11:20:00 -07:00
Jeremy Huddleston
0f3a89d306 XQuartz: GL: Unset GL_EXT_gpu_program_parameters for Tiger/ppc
See http://trac.macports.org/ticket/20638
2009-08-27 16:21:11 -07:00
Jeremy Huddleston
7fe37137d8 XQuartz: GL: Explicitly set GL_EXT symbols to 0 if they are not in OpenGL.framework to prevent X11's glext.h from setting them to 1. 2009-08-27 11:04:00 -07:00
Peter Hutterer
f134395a82 Xext: fix up wrong conditions for negative sync transitions.
If the counter had a value higher than the trigger value for a negative
transition, the trigger value did not get set.

The correct sequence of checks is:
if (positive transition)
   if (counter value < trigger value)
      set up trigger
if (negative transition)
   if (counter value > trigger value)
      set up trigger

Red Hat Bug 501601 <https://bugzilla.redhat.com/show_bug.cgi?id=501601>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit db568f9eab)
2009-08-25 20:51:36 -07:00
Jeremy Huddleston
203df06c0e XQuartz: Use applewmproto 1.4 updated headers. 2009-08-25 20:11:38 -07:00
Jeremy Huddleston
1755239330 XQuartz: Use internal xshm header for new xextproto 2009-08-24 12:36:24 -07:00
Adam Jackson
d8ae7e546f dbe: Adapt to new headers
(cherry picked from commit bb6fa39eb3)
2009-08-24 12:36:24 -07:00
Jeremy Huddleston
0a9f57c499 Update to xextproto 7.0.99.1.
xextproto had Xlib client headers moved into libXext.
Protocol header files are named fooproto.h, header files with constants
foo.h or fooconst.h where foo.h was already in use for client-side headers.
(cherry picked from commit d3f6b43a24)
2009-08-24 12:36:23 -07:00
Adam Jackson
2f08077533 xsync: Use a local header for server API definitions
(cherry picked from commit e0d8f6a808)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
0570adfe05 Sync is built-in and mandatory.
(cherry picked from commit f3ff238601)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
79ae3d47ed XC-MISC is built-in and mandatory.
(cherry picked from commit 3fcf4d3eb8)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
2b145ba81d Bigreqs are built-in and mandatory.
(cherry picked from commit f65c50c4e9)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
2fe86459cf Drop the FONTCACHE extension.
This appears to have been dead code since X-TT was merged.
(cherry picked from commit 0b45ba488d)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
725c24f046 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.
(cherry picked from commit 22e64108ec)
2009-08-24 12:36:23 -07:00