Xext/xselinux_ext.c | 6 configure.ac | 4 exa/exa_mixed.c | 9 glx/glxcmds.c | 2 hw/xfree86/modes/xf86Crtc.c | 12 hw/xquartz/X11Application.h | 3 hw/xquartz/X11Application.m | 29 hw/xquartz/bundle/Info.plist.cpp | 2 hw/xquartz/bundle/Resources/English.lproj/Localizable.strings |binary hw/xquartz/bundle/Resources/French.lproj/locversion.plist | 4 hw/xquartz/bundle/Resources/French.lproj/main.nib/designable.nib | 441 ++++++---- hw/xquartz/bundle/Resources/French.lproj/main.nib/keyedobjects.nib |binary hw/xquartz/bundle/Resources/German.lproj/locversion.plist | 4 hw/xquartz/bundle/Resources/German.lproj/main.nib/designable.nib | 360 ++++++-- hw/xquartz/bundle/Resources/German.lproj/main.nib/keyedobjects.nib |binary hw/xquartz/bundle/Resources/Japanese.lproj/locversion.plist | 4 hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/designable.nib | 323 ++++++- hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/keyedobjects.nib |binary hw/xquartz/pbproxy/x-selection.h | 2 hw/xquartz/quartz.c | 2 hw/xquartz/quartz.h | 2 hw/xquartz/quartzRandR.c | 27 hw/xquartz/xpr/xprAppleWM.c | 2 hw/xquartz/xpr/xprFrame.c | 4 hw/xquartz/xpr/xprScreen.c | 34 record/record.c | 6 26 files changed, 1013 insertions(+), 269 deletions(-)
New commits: commit 6666424a31f93e0aa1bb394c6ade7ae029f90f70 Author: Jeremy Huddleston <jerem...@apple.com> Date: Fri Mar 4 13:42:45 2011 -0800 1.9.4.901 (1.9.5 RC1) Signed-off-by: Jeremy Huddleston <jerem...@apple.com> diff --git a/configure.ac b/configure.ac index b2fbb5f..76bf2c3 100644 --- a/configure.ac +++ b/configure.ac @@ -26,8 +26,8 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([xorg-server], 1.9.4, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server) -RELEASE_DATE="2011-02-04" +AC_INIT([xorg-server], 1.9.4.901, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server) +RELEASE_DATE="2011-03-04" AC_CONFIG_SRCDIR([Makefile.am]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE commit 457728d723a7d93cd88691dd920bf42a7540616a Author: Julien Cristau <jcris...@debian.org> Date: Sat Jul 3 19:42:26 2010 +0100 glx: make sure screen is non-negative in validGlxScreen Reviewed-by: Adam Jackson <a...@redhat.com> Reviewed-by: Kristian Høgsberg <k...@bitplanet.net> Reviewed-by: Daniel Stone <dan...@fooishbar.org> Signed-off-by: Julien Cristau <jcris...@debian.org> (cherry picked from commit 3f0d3f4d97bce75c1828635c322b6560a45a037f) diff --git a/glx/glxcmds.c b/glx/glxcmds.c index 8d13c15..9e32d6c 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -57,7 +57,7 @@ validGlxScreen(ClientPtr client, int screen, __GLXscreen **pGlxScreen, int *err) /* ** Check if screen exists. */ - if (screen >= screenInfo.numScreens) { + if (screen < 0 || screen >= screenInfo.numScreens) { client->errorValue = screen; *err = BadValue; return FALSE; commit 8a18d18bb31933d8dd0fe63cd293d7ae6711abcc Author: Evan Broder <ebro...@mokafive.com> Date: Tue Feb 1 16:09:50 2011 -0800 xfree86/modes: Be sure to only use new EDID for physical output dimensions The EDID processing regards physical dimensions of 0mm x 0mm as invalid. Previously the old values for height and width would be preserved if none of the physical dimension specifications in the new EDID were considered valid. This will come up in particular if first a monitor is connected to an output, and then a projector is connected. Since projectors generally report physical dimensions of 0mm x 0mm, this would result in the projector claiming to have the physical dimensions of the monitor. Signed-off-by: Evan Broder <ebro...@mokafive.com> Reviewed-by: Adam Jackson <a...@redhat.com> Signed-off-by: Keith Packard <kei...@keithp.com> (cherry picked from commit 12b0f7df2caa78d68b453aaa91248bb3577fd724) diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index dd8ccad..30742ff 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -2976,6 +2976,8 @@ xf86OutputSetEDID (xf86OutputPtr output, xf86MonPtr edid_mon) free(output->MonInfo); output->MonInfo = edid_mon; + output->mm_width = 0; + output->mm_height = 0; if (debug_modes) { xf86DrvMsg(scrn->scrnIndex, X_INFO, "EDID for output %s\n", commit 11bf10e22cefe661f5650d49316bbd938a40094c Author: Adam Jackson <a...@redhat.com> Date: Mon Feb 8 15:23:04 2010 -0500 xfree86: If the driver found modes on an output, don't add more Inferring modes from sync ranges is only valid if the monitor says it's valid. If the monitor says it's valid, then we'll have already added those modes during EDID block parse. If it doesn't, then we should believe it. If there's no EDID for an output, but sync ranges from the config, we'll still add default modes as normal. Reviewed-by: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Adam Jackson <a...@redhat.com> (cherry picked from commit dc498b433f36af5d2de3065e7c64cdb575385d81) diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index b2daec7..dd8ccad 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -1566,7 +1566,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY) int min_clock = 0; int max_clock = 0; double clock; - Bool add_default_modes = xf86ReturnOptValBool(output->options, OPTION_DEFAULT_MODES, TRUE); + Bool add_default_modes; Bool debug_modes = config->debug_modes || xf86Initialising; enum det_monrec_source sync_source = sync_default; @@ -1612,6 +1612,14 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY) } output_modes = (*output->funcs->get_modes) (output); + + /* + * If the user has a preference, respect it. + * Otherwise, don't second-guess the driver. + */ + if (!xf86GetOptValBool(output->options, OPTION_DEFAULT_MODES, + &add_default_modes)) + add_default_modes = (output_modes == NULL); edid_monitor = output->MonInfo; commit 8dd85e585ae8d0f40f7fc3f2c6fe93555b8e0905 Author: Jeremy Huddleston <jerem...@apple.com> Date: Tue Mar 1 20:02:46 2011 -0800 XQuartz: pbproxy: Protect against possible collision between Cocoa and X11 Cursor types Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit 69a9171dbbafd6a7db702d48770d28fb54717545) diff --git a/hw/xquartz/pbproxy/x-selection.h b/hw/xquartz/pbproxy/x-selection.h index 614c8b0..d4a39e5 100644 --- a/hw/xquartz/pbproxy/x-selection.h +++ b/hw/xquartz/pbproxy/x-selection.h @@ -33,7 +33,9 @@ #include "pbproxy.h" +#define Cursor X_Cursor #include <X11/extensions/Xfixes.h> +#undef Cursor #include <AppKit/NSPasteboard.h> commit f71436014c17f168e2c1c0fa2e8ade374a7f42ab Author: Jeremy Huddleston <jerem...@apple.com> Date: Sun Feb 27 16:18:27 2011 -0800 XQuartz: Don't use deprecated CoreGraphics API on SL and Lion Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit 0343aed1f082baf4bfbd730c1c3582f1410b8741) diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c index cfc79dd..b20361d 100644 --- a/hw/xquartz/xpr/xprScreen.c +++ b/hw/xquartz/xpr/xprScreen.c @@ -299,9 +299,34 @@ xprAddScreen(int index, ScreenPtr pScreen) DEBUG_LOG("index=%d depth=%d\n", index, depth); if(depth == -1) { +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 depth = CGDisplaySamplesPerPixel(kCGDirectMainDisplay) * CGDisplayBitsPerSample(kCGDirectMainDisplay); +#else + CGDisplayModeRef modeRef; + CFStringRef encStrRef; + + modeRef = CGDisplayCopyDisplayMode(kCGDirectMainDisplay); + if(!modeRef) + goto have_depth; + + encStrRef = CGDisplayModeCopyPixelEncoding(modeRef); + CFRelease(modeRef); + if(!encStrRef) + goto have_depth; + + if(CFStringCompare(encStrRef, CFSTR(IO32BitDirectPixels), kCFCompareCaseInsensitive) == kCFCompareEqualTo) { + depth = 24; + } else if(CFStringCompare(encStrRef, CFSTR(IO16BitDirectPixels), kCFCompareCaseInsensitive) == kCFCompareEqualTo) { + depth = 15; + } else if(CFStringCompare(encStrRef, CFSTR(IO8BitIndexedPixels), kCFCompareCaseInsensitive) == kCFCompareEqualTo) { + depth = 8; + } + + CFRelease(encStrRef); +#endif } +have_depth: switch(depth) { case 8: // pseudo-working dfb->visuals = PseudoColorMask; @@ -326,7 +351,7 @@ xprAddScreen(int index, ScreenPtr pScreen) // case 24: default: if(depth != 24) - ErrorF("Unsupported color depth requested. Defaulting to 24bit. (depth=%d darwinDesiredDepth=%d CGDisplaySamplesPerPixel=%d CGDisplayBitsPerSample=%d)\n", darwinDesiredDepth, depth, (int)CGDisplaySamplesPerPixel(kCGDirectMainDisplay), (int)CGDisplayBitsPerSample(kCGDirectMainDisplay)); + ErrorF("Unsupported color depth requested. Defaulting to 24bit. (depth=%d darwinDesiredDepth=%d)\n", depth, darwinDesiredDepth); dfb->visuals = TrueColorMask; //LARGE_VISUALS; dfb->preferredCVC = TrueColor; dfb->depth = 24; commit a10323c74a98dd31bf7e14b668e96e3938b580bd Author: Jeremy Huddleston <jerem...@apple.com> Date: Tue Feb 8 11:38:35 2011 -0800 XQuartz: RandR: Add RandR modes for the primary display in multi-monitor configs We now support using RandR to set the resolution of the primary display (and place a shielding window on other displays) in multi-monitor configurations. Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit 8cf3348e90846f5b04236479042228fb98ac8f70) diff --git a/hw/xquartz/quartzRandR.c b/hw/xquartz/quartzRandR.c index ede7969..05641a6 100644 --- a/hw/xquartz/quartzRandR.c +++ b/hw/xquartz/quartzRandR.c @@ -413,16 +413,6 @@ static Bool QuartzRandRGetInfo (ScreenPtr pScreen, Rotation *rotations) { if (pQuartzScreen->displayCount == 0) return FALSE; - if (pQuartzScreen->displayCount > 1) { - /* RandR operations are not well-defined for an X11 screen spanning - multiple CG displays. Create two entries for the current virtual - resolution including/excluding the menu bar. */ - - QuartzRandRRegisterMode(pScreen, &pQuartzScreen->rootlessMode); - QuartzRandRRegisterMode(pScreen, &pQuartzScreen->fullscreenMode); - return TRUE; - } - return QuartzRandREnumerateModes(pScreen, QuartzRandRRegisterModeCallback, NULL); } diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c index 599ef6f..cfc79dd 100644 --- a/hw/xquartz/xpr/xprScreen.c +++ b/hw/xquartz/xpr/xprScreen.c @@ -196,6 +196,13 @@ xprAddPseudoramiXScreens(int *x, int *y, int *width, int *height, ScreenPtr pScr return; } + /* If the displays are captured, we are in a RandR game mode + * on the primary display, so we only want to include the first + * display. The others are covered by the shield window. + */ + if (CGDisplayIsCaptured(kCGDirectMainDisplay)) + displayCount = 1; + displayList = malloc(displayCount * sizeof(CGDirectDisplayID)); if(!displayList) FatalError("Unable to allocate memory for list of displays.\n"); commit 3be0b136fad8aafe557cc0ce354e705f0c04245a Author: Jeremy Huddleston <jerem...@apple.com> Date: Tue Feb 8 12:26:35 2011 -0800 XQuartz: RandR: Provide an alert box when entering a RandR mode for the first time. Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit 968652983f8e6ae6889b48e15f4098ff6ad4a15a) diff --git a/hw/xquartz/X11Application.h b/hw/xquartz/X11Application.h index b3ad19b..256ff18 100644 --- a/hw/xquartz/X11Application.h +++ b/hw/xquartz/X11Application.h @@ -73,6 +73,8 @@ void X11ApplicationServerReady (void); void X11ApplicationShowHideMenubar (int state); void X11ApplicationLaunchClient (const char *cmd); +Bool X11ApplicationCanEnterRandR (void); + void X11ApplicationMain(int argc, char **argv, char **envp); #define PREFS_APPSMENU "apps_menu" @@ -86,6 +88,7 @@ void X11ApplicationMain(int argc, char **argv, char **envp); #define PREFS_NO_TCP "nolisten_tcp" #define PREFS_DONE_XINIT_CHECK "done_xinit_check" #define PREFS_NO_QUIT_ALERT "no_quit_alert" +#define PREFS_NO_RANDR_ALERT "no_randr_alert" #define PREFS_OPTION_SENDS_ALT "option_sends_alt" #define PREFS_FAKE_BUTTON2 "fake_button2" #define PREFS_FAKE_BUTTON3 "fake_button3" diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 4a52a12..13a6c7a 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -883,6 +883,35 @@ void X11ApplicationLaunchClient (const char *cmd) { [string release]; } +/* This is a special function in that it is run from the *SERVER* thread and + * not the AppKit thread. We want to block entering a screen-capturing RandR + * mode until we notify the user about how to get out if the X11 client crashes. + */ +Bool X11ApplicationCanEnterRandR(void) { + NSString *title, *msg; + + if([X11App prefs_get_boolean:@PREFS_NO_RANDR_ALERT default:NO] || XQuartzShieldingWindowLevel != 0) + return TRUE; + + title = NSLocalizedString(@"Enter RandR mode?", @"Dialog title when switching to RandR"); + msg = NSLocalizedString(@"An application has requested X11 to change the resolution of your display. X11 will restore the display to its previous state when the requesting application requests to return to the previous state. Alternatively, you can use the ⌥⌘A key sequence to force X11 to return to the previous state.", + @"Dialog when switching to RandR"); + + if(!XQuartzIsRootless) + QuartzShowFullscreen(FALSE); + + switch(NSRunAlertPanel(title, msg, NSLocalizedString(@"Allow", @""), NSLocalizedString (@"Cancel", @""), NSLocalizedString (@"Always Allow", @""))) { + case NSAlertOtherReturn: + [X11App prefs_set_boolean:@PREFS_NO_RANDR_ALERT value:YES]; + [X11App prefs_synchronize]; + case NSAlertDefaultReturn: + return YES; + + default: + return NO; + } +} + static void check_xinitrc (void) { char *tem, buf[1024]; NSString *msg; diff --git a/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings b/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings index 0341502..bf2089c 100644 Binary files a/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings and b/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings differ diff --git a/hw/xquartz/quartzRandR.c b/hw/xquartz/quartzRandR.c index 57e9755..ede7969 100644 --- a/hw/xquartz/quartzRandR.c +++ b/hw/xquartz/quartzRandR.c @@ -40,6 +40,8 @@ #include "quartz.h" #include "darwin.h" +#include "X11Application.h" + #include <AvailabilityMacros.h> #include <X11/extensions/randr.h> @@ -349,6 +351,8 @@ static Bool QuartzRandRSetMode(ScreenPtr pScreen, QuartzModeInfoPtr pMode, BOOL Bool captureDisplay = (pMode->refresh != FAKE_REFRESH_FULLSCREEN && pMode->refresh != FAKE_REFRESH_ROOTLESS); if(XQuartzShieldingWindowLevel == 0 && captureDisplay) { + if(!X11ApplicationCanEnterRandR()) + return FALSE; CGCaptureAllDisplays(); XQuartzShieldingWindowLevel = CGShieldingWindowLevel(); // 2147483630 DEBUG_LOG("Display captured. ShieldWindowID: %u, Shield level: %d\n", commit ceaa2f438d44b23a8958c42de4f666048aedabb1 Author: Jeremy Huddleston <jerem...@apple.com> Date: Tue Feb 8 11:37:52 2011 -0800 XQuartz: RandR: Capture the display when switching modes with RandR This will prevent native windows from resizing as we change resolutions. Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit 13578b852b7631f99cf1fd5e2e5469edc5aae369) diff --git a/hw/xquartz/quartz.c b/hw/xquartz/quartz.c index 222a5ea..11e5a74 100644 --- a/hw/xquartz/quartz.c +++ b/hw/xquartz/quartz.c @@ -82,6 +82,8 @@ Bool XQuartzIsRootless = TRUE; Bool XQuartzServerVisible = FALSE; Bool XQuartzFullscreenMenu = FALSE; +int32_t XQuartzShieldingWindowLevel = 0; + /* =========================================================================== diff --git a/hw/xquartz/quartz.h b/hw/xquartz/quartz.h index b83391d..67a7919 100644 --- a/hw/xquartz/quartz.h +++ b/hw/xquartz/quartz.h @@ -124,6 +124,8 @@ extern Bool XQuartzFullscreenMenu; /* Show the menu bar (autohide) while in FS extern Bool XQuartzFullscreenDisableHotkeys; extern Bool XQuartzOptionSendsAlt; /* Alt or Mode_switch? */ +extern int32_t XQuartzShieldingWindowLevel; /* CGShieldingWindowLevel() or 0 */ + Bool QuartzAddScreen(int index, ScreenPtr pScreen); Bool QuartzSetupScreen(int index, ScreenPtr pScreen); void QuartzInitOutput(int argc,char **argv); diff --git a/hw/xquartz/quartzRandR.c b/hw/xquartz/quartzRandR.c index 296f9b6..57e9755 100644 --- a/hw/xquartz/quartzRandR.c +++ b/hw/xquartz/quartzRandR.c @@ -346,6 +346,14 @@ static int QuartzRandRRegisterModeCallback (ScreenPtr pScreen, static Bool QuartzRandRSetMode(ScreenPtr pScreen, QuartzModeInfoPtr pMode, BOOL doRegister) { QuartzScreenPtr pQuartzScreen = QUARTZ_PRIV(pScreen); CGDirectDisplayID screenId = pQuartzScreen->displayIDs[0]; + Bool captureDisplay = (pMode->refresh != FAKE_REFRESH_FULLSCREEN && pMode->refresh != FAKE_REFRESH_ROOTLESS); + + if(XQuartzShieldingWindowLevel == 0 && captureDisplay) { + CGCaptureAllDisplays(); + XQuartzShieldingWindowLevel = CGShieldingWindowLevel(); // 2147483630 + DEBUG_LOG("Display captured. ShieldWindowID: %u, Shield level: %d\n", + CGShieldingWindowID(screenId), XQuartzShieldingWindowLevel); + } if (pQuartzScreen->currentMode.ref && CFEqual(pMode->ref, pQuartzScreen->currentMode.ref)) { DEBUG_LOG("Requested RandR resolution matches current CG mode\n"); @@ -369,6 +377,11 @@ static Bool QuartzRandRSetMode(ScreenPtr pScreen, QuartzModeInfoPtr pMode, BOOL pQuartzScreen->currentMode = *pMode; CFRetain(pQuartzScreen->currentMode.ref); + if(XQuartzShieldingWindowLevel != 0 && !captureDisplay) { + CGReleaseAllDisplays(); + XQuartzShieldingWindowLevel = 0; + } + return TRUE; } diff --git a/hw/xquartz/xpr/xprAppleWM.c b/hw/xquartz/xpr/xprAppleWM.c index 1a3d427..21e6f98 100644 --- a/hw/xquartz/xpr/xprAppleWM.c +++ b/hw/xquartz/xpr/xprAppleWM.c @@ -69,6 +69,8 @@ static int xprSetWindowLevel( if(XQuartzIsRootless) wc.window_level = normal_window_levels[level]; + else if(XQuartzShieldingWindowLevel) + wc.window_level = XQuartzShieldingWindowLevel + 1; else wc.window_level = rooted_window_levels[level]; diff --git a/hw/xquartz/xpr/xprFrame.c b/hw/xquartz/xpr/xprFrame.c index ede5af5..f5c5b54 100644 --- a/hw/xquartz/xpr/xprFrame.c +++ b/hw/xquartz/xpr/xprFrame.c @@ -173,6 +173,8 @@ xprCreateFrame(RootlessWindowPtr pFrame, ScreenPtr pScreen, if(XQuartzIsRootless) wc.window_level = normal_window_levels[pFrame->level]; + else if(XQuartzShieldingWindowLevel) + wc.window_level = XQuartzShieldingWindowLevel + 1; else wc.window_level = rooted_window_levels[pFrame->level]; mask |= XP_WINDOW_LEVEL; @@ -287,6 +289,8 @@ static void xprRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid) { if(winRec) { if(XQuartzIsRootless) wc.window_level = normal_window_levels[winRec->level]; + else if(XQuartzShieldingWindowLevel) + wc.window_level = XQuartzShieldingWindowLevel + 1; else wc.window_level = rooted_window_levels[winRec->level]; mask |= XP_WINDOW_LEVEL; commit 7b3b7efe78dec87c8059ea0d0985f08a97f0633d Author: Michel Dänzer <daen...@vmware.com> Date: Thu Feb 24 12:17:57 2011 +0100 EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929) If there's a GPU copy and a non-zero devKind was passed in, set the GPU copy pitch to that instead of to a possibly bogus value derived from the new width. This is e.g. used by the radeon driver's drmmode_xf86crtc_resize hook, fixes https://bugs.freedesktop.org/show_bug.cgi?id=33929 . On the other hand, the system memory copy doesn't need the pitch to be aligned beyond the PixmapBytePad of the width. Signed-off-by: Michel Dänzer <daen...@vmware.com> Acked-by: Cyril Brulebois <k...@debian.org> Tested-by: Cyril Brulebois <k...@debian.org> Reported-by: Thierry Vignaud <thierry.vign...@gmail.com> Tested-by: Thierry Vignaud <thierry.vign...@gmail.com> Signed-off-by: Keith Packard <kei...@keithp.com> (cherry picked from commit 31704510f448706524b7b7085cc4ff0ada7bfe7e) diff --git a/exa/exa_mixed.c b/exa/exa_mixed.c index 606f1e1..fd1afb2 100644 --- a/exa/exa_mixed.c +++ b/exa/exa_mixed.c @@ -175,8 +175,10 @@ exaModifyPixmapHeader_mixed(PixmapPtr pPixmap, int width, int height, int depth, depth != pPixmap->drawable.depth || bitsPerPixel != pPixmap->drawable.bitsPerPixel) { if (pExaPixmap->driverPriv) { - exaSetFbPitch(pExaScr, pExaPixmap, - width, height, bitsPerPixel); + if (devKind > 0) + pExaPixmap->fb_pitch = devKind; + else + exaSetFbPitch(pExaScr, pExaPixmap, width, height, bitsPerPixel); exaSetAccelBlock(pExaScr, pExaPixmap, width, height, bitsPerPixel); @@ -187,8 +189,7 @@ exaModifyPixmapHeader_mixed(PixmapPtr pPixmap, int width, int height, int depth, if (has_gpu_copy && pExaPixmap->sys_ptr) { free(pExaPixmap->sys_ptr); pExaPixmap->sys_ptr = NULL; - pExaPixmap->sys_pitch = devKind > 0 ? devKind : - PixmapBytePad(width, depth); + pExaPixmap->sys_pitch = PixmapBytePad(width, depth); DamageUnregister(&pPixmap->drawable, pExaPixmap->pDamage); DamageDestroy(pExaPixmap->pDamage); pExaPixmap->pDamage = NULL; commit 0e253a9c8676583a87db755d65ee9165a71fbef4 Author: Jeremy Huddleston <jerem...@apple.com> Date: Thu Feb 24 19:24:35 2011 -0800 XQuartz: Localization Updates Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit b17fc99cb9ca9ff0a3592f783a906cdcc35da748) diff --git a/hw/xquartz/bundle/Resources/French.lproj/locversion.plist b/hw/xquartz/bundle/Resources/French.lproj/locversion.plist index 877a10c..1af1256 100644 --- a/hw/xquartz/bundle/Resources/French.lproj/locversion.plist +++ b/hw/xquartz/bundle/Resources/French.lproj/locversion.plist @@ -3,12 +3,12 @@ <plist version="1.0"> <dict> <key>LprojCompatibleVersion</key> - <string>98</string> + <string>101</string> <key>LprojLocale</key> <string>fr</string> <key>LprojRevisionLevel</key> <string>1</string> <key>LprojVersion</key> - <string>98</string> + <string>101</string> </dict> </plist> diff --git a/hw/xquartz/bundle/Resources/French.lproj/main.nib/designable.nib b/hw/xquartz/bundle/Resources/French.lproj/main.nib/designable.nib index d35e44f..cec3632 100644 --- a/hw/xquartz/bundle/Resources/French.lproj/main.nib/designable.nib +++ b/hw/xquartz/bundle/Resources/French.lproj/main.nib/designable.nib @@ -2,19 +2,22 @@ <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00"> <data> <int key="IBDocument.SystemTarget">1040</int> - <string key="IBDocument.SystemVersion">11A194b</string> - <string key="IBDocument.InterfaceBuilderVersion">787</string> - <string key="IBDocument.AppKitVersion">1079</string> - <string key="IBDocument.HIToolboxVersion">502.00</string> + <string key="IBDocument.SystemVersion">11A289</string> + <string key="IBDocument.InterfaceBuilderVersion">851</string> + <string key="IBDocument.AppKitVersion">1094.2</string> + <string key="IBDocument.HIToolboxVersion">521.00</string> <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">787</string> + <string key="NS.object.0">851</string> </object> <array class="NSMutableArray" key="IBDocument.EditedObjectIDs"/> <array key="IBDocument.PluginDependencies"> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> </array> - <dictionary class="NSMutableDictionary" key="IBDocument.Metadata"/> + <object class="NSMutableDictionary" key="IBDocument.Metadata"> + <string key="NS.key.0">PluginDependencyRecalculationVersion</string> + <integer value="1" key="NS.object.0"/> + </object> <array class="NSMutableArray" key="IBDocument.RootObjects" id="904585544"> <object class="NSCustomObject" id="815810918"> <object class="NSMutableString" key="NSClassName"> @@ -407,7 +410,7 @@ <reference key="NSControlView" ref="119157981"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <object class="NSCustomResource" key="NSNormalImage" id="831743691"> + <object class="NSCustomResource" key="NSNormalImage" id="243093215"> <string key="NSClassName">NSImage</string> <string key="NSResourceName">NSSwitch</string> </object> @@ -490,7 +493,7 @@ A</string> <reference key="NSControlView" ref="842100515"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -529,7 +532,7 @@ A</string> <reference key="NSControlView" ref="179949713"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -567,7 +570,7 @@ A</string> <reference key="NSControlView" ref="406291430"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -587,48 +590,9 @@ A</string> <characters key="NS.bytes">2</characters> </object> <object class="NSView" key="NSView" id="515308735"> - <nil key="NSNextResponder"/> + <reference key="NSNextResponder" ref="448510093"/> <int key="NSvFlags">256</int> <array class="NSMutableArray" key="NSSubviews"> - <object class="NSButton" id="418227126"> - <reference key="NSNextResponder" ref="515308735"/> - <int key="NSvFlags">256</int> - <string key="NSFrame">{{34, 84}, {402, 18}}</string> - <reference key="NSSuperview" ref="515308735"/> - <bool key="NSEnabled">YES</bool> - <object class="NSButtonCell" key="NSCell" id="1016069354"> - <int key="NSCellFlags">67239424</int> - <int key="NSCellFlags2">0</int> - <string key="NSContents">Utiliser l’effet d’avertissement du système</string> - <reference key="NSSupport" ref="463863101"/> - <reference key="NSControlView" ref="418227126"/> - <int key="NSButtonFlags">1211912703</int> - <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> - <reference key="NSAlternateImage" ref="391434389"/> - <string key="NSAlternateContents"/> - <string key="NSKeyEquivalent"/> - <int key="NSPeriodicDelay">200</int> - <int key="NSPeriodicInterval">25</int> - </object> - </object> - <object class="NSTextField" id="1039016593"> - <reference key="NSNextResponder" ref="515308735"/> - <int key="NSvFlags">256</int> - <string key="NSFrame">{{52, 50}, {385, 28}}</string> - <reference key="NSSuperview" ref="515308735"/> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="624655599"> - <int key="NSCellFlags">67239424</int> - <int key="NSCellFlags2">4194304</int> - <string key="NSContents">Les sons émis par X11 utiliseront l’avertissement standard du système, comme défini dans le panneau Effets sonores des Préférences Système.</string> - <reference key="NSSupport" ref="26"/> - <string key="NSPlaceholderString"/> - <reference key="NSControlView" ref="1039016593"/> - <reference key="NSBackgroundColor" ref="57160303"/> - <reference key="NSTextColor" ref="930815747"/> - </object> - </object> <object class="NSPopUpButton" id="709074847"> <reference key="NSNextResponder" ref="515308735"/> <int key="NSvFlags">256</int> @@ -765,7 +729,7 @@ A</string> <reference key="NSControlView" ref="477203622"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -787,7 +751,7 @@ A</string> <reference key="NSControlView" ref="57246850"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -814,6 +778,7 @@ A</string> </object> </array> <string key="NSFrame">{{10, 33}, {536, 267}}</string> + <reference key="NSSuperview" ref="448510093"/> </object> <string key="NSLabel">Sortie</string> <reference key="NSColor" ref="57160303"/> @@ -841,7 +806,7 @@ A</string> <reference key="NSControlView" ref="878106058"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -879,7 +844,7 @@ A</string> <reference key="NSControlView" ref="477050998"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -901,7 +866,7 @@ A</string> <reference key="NSControlView" ref="765780304"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -923,7 +888,7 @@ A</string> <reference key="NSControlView" ref="1002778833"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -945,7 +910,7 @@ A</string> <reference key="NSControlView" ref="487809555"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -997,7 +962,7 @@ A</string> <characters key="NS.bytes">2</characters> </object> <object class="NSView" key="NSView" id="184765684"> - <reference key="NSNextResponder" ref="448510093"/> + <nil key="NSNextResponder"/> <int key="NSvFlags">256</int> <array class="NSMutableArray" key="NSSubviews"> <object class="NSButton" id="657659108"> @@ -1014,7 +979,7 @@ A</string> <reference key="NSControlView" ref="657659108"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -1053,7 +1018,7 @@ A</string> <reference key="NSControlView" ref="992839333"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -1092,7 +1057,7 @@ A</string> <reference key="NSControlView" ref="128352289"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -1119,7 +1084,6 @@ A</string> </object> </array> <string key="NSFrame">{{10, 33}, {536, 267}}</string> - <reference key="NSSuperview" ref="448510093"/> </object> <string key="NSLabel">Fenêtres</string> <reference key="NSColor" ref="57160303"/> @@ -1144,7 +1108,7 @@ A</string> <reference key="NSControlView" ref="989050925"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -1166,7 +1130,7 @@ A</string> <reference key="NSControlView" ref="700826966"/> <int key="NSButtonFlags">1211912703</int> <int key="NSButtonFlags2">2</int> - <reference key="NSNormalImage" ref="831743691"/> + <reference key="NSNormalImage" ref="243093215"/> <reference key="NSAlternateImage" ref="391434389"/> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> @@ -1233,13 +1197,13 @@ A</string> <reference key="NSTabView" ref="448510093"/> </object> </array> - <reference key="NSSelectedTabViewItem" ref="10973343"/> + <reference key="NSSelectedTabViewItem" ref="960678392"/> <reference key="NSFont" ref="463863101"/> <int key="NSTvFlags">0</int> <bool key="NSAllowTruncatedLabels">YES</bool> <bool key="NSDrawsBackground">YES</bool> <array class="NSMutableArray" key="NSSubviews"> - <reference ref="184765684"/> + <reference ref="515308735"/> </array> </object> </array> @@ -1477,6 +1441,7 @@ A</string> <int key="NSDraggingSourceMaskForNonLocal">0</int> <bool key="NSAllowsTypeSelect">YES</bool> <int key="NSTableViewDraggingDestinationStyle">0</int> + <int key="NSTableViewGroupRowStyle">1</int> </object> </array> <string key="NSFrame">{{1, 17}, {333, 198}}</string> @@ -1503,7 +1468,7 @@ A</string> <int key="NSsFlags">1</int> <reference key="NSTarget" ref="1063387772"/> <string key="NSAction">_doScroller:</string> - <double key="NSPercent">0.97368421052631582</double> + <double key="NSPercent">0.68852460000000004</double> </object> <object class="NSClipView" id="672307654"> <reference key="NSNextResponder" ref="1063387772"/> @@ -1523,11 +1488,12 @@ A</string> <string key="NSFrame">{{20, 20}, {350, 231}}</string> <reference key="NSSuperview" ref="85544634"/> <reference key="NSNextKeyView" ref="580565898"/> - <int key="NSsFlags">50</int> + <int key="NSsFlags">133170</int> <reference key="NSVScroller" ref="842897584"/> <reference key="NSHScroller" ref="17278747"/> <reference key="NSContentView" ref="580565898"/> <reference key="NSHeaderClipView" ref="672307654"/> + <reference key="NSCornerView" ref="898633680"/> <bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes> </object> <object class="NSButton" id="758204686"> @@ -1754,14 +1720,6 @@ A</string> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">use_sysbeep</string> - <reference key="source" ref="485884620"/> - <reference key="destination" ref="418227126"/> - </object> - <int key="connectionID">390</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">fake_buttons</string> <reference key="source" ref="485884620"/> <reference key="destination" ref="119157981"/> @@ -1812,14 +1770,6 @@ A</string> <object class="IBActionConnection" key="connection"> <string key="label">prefs_changed:</string> <reference key="source" ref="485884620"/> - <reference key="destination" ref="418227126"/> - </object> - <int key="connectionID">397</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">prefs_changed:</string> - <reference key="source" ref="485884620"/> <reference key="destination" ref="709074847"/> </object> <int key="connectionID">398</int> @@ -2567,28 +2517,10 @@ A</string> <reference ref="477203622"/> <reference ref="57246850"/> <reference ref="298603383"/> - <reference ref="418227126"/> - <reference ref="1039016593"/> </array> <reference key="parent" ref="960678392"/> </object> <object class="IBObjectRecord"> - <int key="objectID">371</int> - <reference key="object" ref="418227126"/> - <array class="NSMutableArray" key="children"> - <reference ref="1016069354"/> - </array> - <reference key="parent" ref="515308735"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">372</int> - <reference key="object" ref="1039016593"/> - <array class="NSMutableArray" key="children"> - <reference ref="624655599"/> - </array> - <reference key="parent" ref="515308735"/> - </object> - <object class="IBObjectRecord"> <int key="objectID">382</int> <reference key="object" ref="709074847"/> <array class="NSMutableArray" key="children"> @@ -2781,16 +2713,6 @@ A</string> <reference key="parent" ref="179949713"/> </object> <object class="IBObjectRecord"> - <int key="objectID">100371</int> - <reference key="object" ref="1016069354"/> - <reference key="parent" ref="418227126"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">100372</int> - <reference key="object" ref="624655599"/> - <reference key="parent" ref="1039016593"/> - </object> - <object class="IBObjectRecord"> <int key="objectID">100382</int> <reference key="object" ref="633115429"/> <array class="NSMutableArray" key="children"> @@ -3269,8 +3191,6 @@ A</string> <string key="100368.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100369.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100370.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="100371.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="100372.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100374.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100375.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100376.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -3278,13 +3198,11 @@ A</string> <string key="100379.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100382.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100385.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="100385.object.labelIdentifier">IBBuiltInLabel-Red</string> <string key="100386.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100541.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="100543.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="129.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="129.ImportedFromIB2"/> - <string key="130.IBEditorWindowLastContentRect">{{318, 756}, {64, 6}}</string> <string key="130.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="130.ImportedFromIB2"/> <string key="131.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -3307,7 +3225,7 @@ A</string> <integer value="1" key="157.ImportedFromIB2"/> <string key="163.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="163.ImportedFromIB2"/> - <string key="169.IBEditorWindowLastContentRect">{{176, 789}, {120, 23}}</string> + <string key="169.IBEditorWindowLastContentRect">{{168, 821}, {113, 23}}</string> <string key="169.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="169.ImportedFromIB2"/> <string key="169.editorWindowContentRectSynchronizationRect">{{202, 626}, {154, 153}}</string> @@ -3322,13 +3240,13 @@ A</string> <integer value="1" key="204.ImportedFromIB2"/> <string key="23.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="23.ImportedFromIB2"/> - <string key="24.IBEditorWindowLastContentRect">{{242, 669}, {365, 143}}</string> + <string key="24.IBEditorWindowLastContentRect">{{349, 868}, {315, 143}}</string> <string key="24.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1" key="24.ImportedFromIB2"/> <string key="24.editorWindowContentRectSynchronizationRect">{{271, 666}, {301, 153}}</string> - <string key="244.IBEditorWindowLastContentRect">{{575, 463}, {582, 329}}</string> + <string key="244.IBEditorWindowLastContentRect">{{507, 565}, {484, 308}}</string> <string key="244.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="244.IBWindowTemplateEditedContentRect">{{575, 463}, {582, 329}}</string> + <string key="244.IBWindowTemplateEditedContentRect">{{507, 565}, {484, 308}}</string> <integer value="1" key="244.ImportedFromIB2"/> <string key="244.editorWindowContentRectSynchronizationRect">{{184, 290}, {481, 345}}</string> <integer value="0" key="244.windowTemplate.hasMaxSize"/> @@ -3339,17 +3257,17 @@ A</string> <integer value="1" key="245.ImportedFromIB2"/> <string key="269.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1pvvys-0004gd...@alioth.debian.org