Commit Graph

3914 Commits

Author SHA1 Message Date
Jeremy Huddleston
4c5c30a4be XQuartz: Cleanup for strict-prototyping
Also fixed DarwinEQEnqueue to match changes to the callback
And also use dpmsstubs.c rather than copying the code into darwin.c
2008-01-05 03:14:07 -08:00
Jeremy Huddleston
fab82c097c XQuartz: Fixed copyright in About box for 2008. Happy New Year! 2008-01-04 22:51:12 -08:00
Jeremy Huddleston
4790016cc2 XQuartz: Flush the debug log for easier debugging
Also cleaned up formatting in xpr's eventHandler
(cherry picked from commit 16861d6d42)
2008-01-04 21:27:31 -08:00
Jeremy Huddleston
c9dff90ce8 Merge branch 'server-1.4-branch' into xorg-server-1.4-apple 2008-01-03 13:26:22 -08:00
Jeremy Huddleston
8e4c28ec2a XQuartz: Cleaned up color map configuration.
8 bit color still doesn't work, but the -depth command line argument now works properly.
(cherry picked from commit 6765949c27)
2008-01-03 13:25:48 -08:00
Peter Hutterer
60144ac814 include: never overwrite realInputProc with enqueueInputProc. Bug #13511
In some cases (triggered by a key repeat during a sync grab) XKB unwrapping
can overwrite the device's realInputProc with the enqueueInputProc. When the
grab is released and the events are replayed, we end up in an infinite loop.
Each event is replayed and in replaying pushed to the end of the queue again.

This fix is a hack only. It ensures that the realInputProc is never
overwritten with the enqueueInputProc.

This fixes Bug #13511 (https://bugs.freedesktop.org/show_bug.cgi?id=13511)
(cherry picked from commit eace88989c)
(cherry picked from commit 50e80c3987)
2007-12-29 00:14:12 +02:00
Daniel Stone
102c012c20 Input: Don't reinit devices
If a device is already initialised (i.e. the virtual core devices) during
IASD, don't init them again.  This fixes a leak.
(cherry picked from commit 1f6015c8fe62c28cfaa82cc855b5b9c28fd34607)
2007-12-28 15:51:05 +02:00
Daniel Stone
a304fc1d4a KDrive: Xephyr: Don't leak screen damage structure
(cherry picked from commit 0b03d97a244540824c922c300adbc3d3ae4855d5)
2007-12-28 15:51:00 +02:00
Daniel Stone
38d8cfaaff OS: Don't leak connection translation table on regeneration
(cherry picked from commit e868e0bc0d2318e62707d3ae68532b0029959154)
2007-12-28 15:50:56 +02:00
Daniel Stone
30fc8053a5 Config: HAL: Don't leak options on failure to add device
This showed up in Xephyr in particular, which denies new device requests.
(cherry picked from commit 2bb199056edf6c63cf978d1a8ad49a57ce1938f3)
2007-12-28 15:50:52 +02:00
Daniel Stone
81c5950d0a Config: D-Bus: Don't leak timers
TimerCancel doesn't free the timer: you need TimerFree for that.
(cherry picked from commit 25deaa7e6b29b3913b35efa39b9c8b25de5e6d95)
2007-12-28 15:50:49 +02:00
Jeremy Huddleston
61cc57c510 XQuartz: *REALLY* use CFStringCreateWithCString
I need sleep!  Why am I making these stupid mistakes... sorry for pointless commit spam.  ugg.
(cherry picked from commit b16351fc64)
2007-12-21 02:09:43 -08:00
Jeremy Huddleston
6562b8d4f7 XQuartz: Use CFStringCreateWithCString
(cherry picked from commit 79782b0e14)
2007-12-21 02:07:03 -08:00
Jeremy Huddleston
628c9c708a XQuartz: Reduce code duplication in X11.app
(cherry picked from commit b81809cd91)
2007-12-21 01:57:59 -08:00
Jeremy Huddleston
b585e48cff XQuartz: Handle Pseudorami init in miinitext
(cherry picked from commit a585c94fed)
2007-12-21 01:24:31 -08:00
Jeremy Huddleston
60d28ff8df XQuartz: Added localization.
(cherry picked from commit 7a5cc7bfbb)
2007-12-20 19:38:42 -08:00
Jeremy Huddleston
9f5507a3c5 Merge branch 'server-1.4-branch' into xorg-server-1.4-apple 2007-12-20 19:04:33 -08:00
Jeremy Huddleston
82c97a5475 XQuartz: Cleaned up command line arguments.
(cherry picked from commit 603a8b73d4)
2007-12-20 18:30:09 -08:00
Jeremy Huddleston
2a3f6ce7e8 XQuartz: Kill off server-main.c and launcher-main.c
Now using xinit
(cherry picked from commit 5d6ae3d299)
2007-12-20 18:09:19 -08:00
Jeremy Huddleston
ea716249c3 XQuartz: Don't fork to exec app_to_run.
Plus other housecleaning...
(cherry picked from commit ae302db472)
2007-12-20 17:35:51 -08:00
Jeremy Huddleston
47a5869ba3 Xquartz: Use X11ControllerMain()
(cherry picked from commit a9ac932543)
2007-12-20 15:46:54 -08:00
Jeremy Huddleston
be027ea7ea Xquartz: General Cleanup
General code cleanup, whitespace, dead code removal, added missing prototypes.
Made Xquartz come to foreground later in startup, so it doesn't appear for Xquartz -version
(cherry picked from commit 36922e8ff4)
2007-12-20 13:17:56 -08:00
Ben Byer
17c0ad3d95 adding default prefix to autogen script 2007-12-16 04:20:24 -08:00
Ben Byer
88f289dd1c adding AM_OBJCFLAGS 2007-12-16 04:20:24 -08:00
Jeremy Huddleston
39b20011b7 Xquartz: Removed launchd plist and x11-exec. The relevant code is now in xinit.
(cherry picked from commit 767b4c9d9d)
2007-12-16 01:14:47 -08:00
Jeremy Huddleston
641227883c Xquartz: Fixed launchd detection 2007-12-15 14:00:56 -08:00
Ben Byer
b709718a69 Silence FPE error message; according to ajax, this bug is known
but not worth fixing.
(cherry picked from commit 1033eb0336)
2007-12-14 15:22:31 -08:00
Ben Byer
16c032a602 clarified debug message to indicate that we're sleeping
(in case we get reports about slow launch times, this will
help clarify what's happening)
(cherry picked from commit 2eea3483cf)
2007-12-14 15:22:26 -08:00
Ben Byer
4346e6b5dd we need to link against CoreServices, not ApplicationServices
(cherry picked from commit ba4d2096e7)
2007-12-14 15:22:21 -08:00
Ben Byer
077d54c689 fixed bug in x11-exec that prevent icon from showing up
(cherry picked from commit e1f4a0c20d)
2007-12-14 15:22:16 -08:00
Jeremy Huddleston
fcb97a55a0 Xquartz: Fixed cpprules include
(cherry picked from commit 95c02adea8)
2007-12-14 15:21:49 -08:00
Jeremy Huddleston
32e74d744c Xquartz: Don't hardcode libexec dir
(cherry picked from commit 67b479ef80)
2007-12-13 16:28:20 -08:00
Jeremy Huddleston
8eb15256ec Xquartz: Don't hardcode LaunchAgents dir
(cherry picked from commit 07a12d71fe)
2007-12-13 16:27:46 -08:00
Ben Byer
fa3ccf4c2a Modified X11 plist to use x11-exec
(cherry picked from commit 7d9a11329e)
2007-12-13 16:26:09 -08:00
Ben Byer
eb141e05f3 created x11-exec wrapper, which uses LaunchServices to find
(and then exec) X11.app
(cherry picked from commit fc04c9759b)
2007-12-13 16:26:04 -08:00
Arkadiusz Miskiewicz
d988da6eee Xprint: Clean up generated files
Remember to clean generated wrapper files.
(cherry picked from commit 977fcdea8198906936a64b8117e6a6d027c617e3)
2007-12-13 00:09:15 +02:00
Hong Liu
41f735fbe0 bgPixel (unsigned long) is 64-bit on x86_64, so -1 != 0xffffffff
This patch should fix bug 8080.
(cherry picked from commit 9adea80703)
2007-12-13 00:00:27 +02:00
Hong Liu
f4bcb53e86 Bug 13308: Verify and reject obviously broken modes.
(cherry picked from commit c6cfcd408d)
2007-12-12 23:59:54 +02:00
Daniel Stone
d63efecc94 Bump to 1.4.0.90 2007-12-12 21:57:59 +02:00
Jeremy Huddleston
ffa66f8e74 Xquartz: Pre-process Xquartz man page
(cherry picked from commit dec2633c41)
2007-12-10 21:02:44 -08:00
Jeremy Huddleston
ea713786b3 Xquartz: Make Alt work with Xmodmap again
(cherry picked from commit 0e017177dc)
2007-12-10 21:02:38 -08:00
Jeremy Huddleston
80089a20ed Xquartz: Removed Xplugin.h from EXTRA_DIST
(cherry picked from commit a746383eca)
2007-12-10 20:34:25 -08:00
Ben Byer
247f7dcb87 Fixed bad calculation of dstEnd, which caused truncation of some bitblts
(cherry picked from commit 8a057bc9e2)
2007-12-09 12:04:20 -08:00
Ben Byer
83c0f69aa1 remove Xplugin.h, because we should use the one in /usr/include
(cherry picked from commit 3e881032f3)
2007-12-09 12:03:35 -08:00
Jeremy Huddleston
14ec1cf1cb Xquartz: Added missing link to libconfig.a 2007-12-09 12:02:04 -08:00
Jeremy Huddleston
3d9e4ebfe3 .gitignore: added hw/xquartz/bundle/org.x.X11.plist
(cherry picked from commit cd13c4ba5b)
2007-12-08 13:18:32 -08:00
Jeremy Huddleston
8a056b8e09 Xquartz Added quartzKeyboard.h to EXTRA_DIST
(cherry picked from commit 37c9781fdb)
2007-12-08 11:49:51 -08:00
Ben Byer
3ea32bac43 Added darwinEvents.h to EXTRA_DIST
(cherry picked from commit 45e5247564)
2007-12-08 11:33:50 -08:00
Jeremy Huddleston
b72e8fa499 Xquartz: Actually add quartzForeground.[hc]
Sorry for the commit spam... I'm tired and was overly quick to commit... forgot to include a neccessary file.
(cherry picked from commit e564b7aeaa)
2007-12-08 01:41:58 -08:00
Jeremy Huddleston
2c7c378619 Xquartz: Actually, it should be org.x.X11 for case-sensitive FS
(cherry picked from commit c5ccb98d5d)
2007-12-08 01:28:45 -08:00