27 Oct
2009
27 Oct
'09
2:09 a.m.
This has been a long time coming.
I think we first discussed this in April 2007.
Can you characterize what changes to the core (if any) were required to
support this?
daniel.schoepe:
> These patches add support for extensible state in contrib modules to
> remove the need for having the user create IORefs for that.
> This somewhat simplifies the interface of A.SpawnOn and H.DynamicHooks
> and removes the use of unsafePerformIO in H.UrgencyHooks.
>
> This will break configs, since one no longer has to pass around
> IORefs, but since this makes those modules somewhat easier to use, I
> think that's tolerable.
>
> Those patches also fix issue 78.
> Mon Oct 26 16:15:06 CET 2009 Daniel Schoepe <daniel.schoepe@gmail.com>
> * Add X.U.ExtensibleState
>
> Mon Oct 26 17:15:00 CET 2009 Daniel Schoepe <daniel.schoepe@gmail.com>
> * Use X.U.ExtensibleState instead of IORefs
>
> This patch changes SpawnOn, DynamicHooks and UrgencyHooks to
> use X.U.ExtensibleState instead of IORefs. This simplifies the
> usage of those modules thus also breaking current configs.
>
> New patches:
>
> [Add X.U.ExtensibleState
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091026151506
> Ignore-this: a7cf226fc7f4c4c76512bd441cf9a448
> ] {
> addfile ./XMonad/Util/ExtensibleState.hs
> hunk ./XMonad/Util/ExtensibleState.hs 1
> +-----------------------------------------------------------------------------
> +-- |
> +-- Module : XMonad.Util.ExtensibleState
> +-- Copyright : (c) Daniel Schoepe 2009
> +-- License : BSD3-style (see LICENSE)
> +--
> +-- Maintainer : daniel.schoepe@gmail.com
> +-- Stability : unstable
> +-- Portability : not portable
> +--
> +-- Module for storing custom mutable state in xmonad.
> +--
> +-----------------------------------------------------------------------------
> +
> +module XMonad.Util.ExtensibleState (
> + -- * Usage
> + -- $usage
> + putState
> + , modifyState
> + , removeState
> + , getState
> + ) where
> +
> +import Control.Applicative
> +import Data.Typeable (typeOf,Typeable,cast)
> +import qualified Data.Map as M
> +import XMonad.Core
> +import Control.Monad.State
> +
> +-- ---------------------------------------------------------------------
> +-- $usage
> +--
> +-- To utilize this feature in a contrib module create a data type,
> +-- and make it an instance of ExtensionClass. You can then use
> +-- the functions from this module for storing your data:
> +--
> +-- > {-# LANGUAGE DeriveDataTypeable #-}
> +-- >
> +-- > data ListStorage = ListStorage [Integer] deriving Typeable
> +-- > instance ExtensionClass ListStorage where
> +-- > initialValue = ListStorage []
> +-- >
> +-- > .. putState (ListStorage [23,42])
> +--
> +-- To retrieve the stored data call:
> +--
> +-- > .. getState
> +--
> +-- If the type can't be infered from the usage of the retrieved data, you
> +-- might need to add an explicit type signature:
> +--
> +-- > .. getState :: X ListStorage
> +--
> +-- To make your data persistent between restarts, the data type needs to be
> +-- an instance of Read and Show and the instance declaration has to be changed:
> +--
> +-- > data ListStorage = ListStorage [Integer] deriving (Typeable,Read,Show)
> +-- >
> +-- > instance ExtensionClass ListStorage where
> +-- > initialValue = ListStorage []
> +-- > extensionType = PersistentExtension
> +--
> +-- Additionally, you have to instruct the user to add a type witness to
> +-- the stateExtensions field of his config. To provide such a value you
> +-- can use undefined, since it is only used as a type witness:
> +--
> +-- > myModuleExtension = PersistentState (initialValue :: ListStorage)
> +-- > -- the user has to add:
> +-- > .. stateExtensions = [otherExtensions, myModuleExtension]
> +--
> +-- One should take care that the string representation of the chosen type
> +-- is unique among the stored values, otherwise it will be overwritten.
> +-- Normally these values contain fully qualified module names when deriving Typeable, so
> +-- name collisions should not be a problem in most cases.
> +-- A module should not try to store common datatypes(e.g. a list of Integers)
> +-- without a custom data type as a wrapper to avoid those collisions.
> +--
> +
> +-- | Modify the map of state extensions by applying the given function.
> +modifyStateExts :: (M.Map String StateExtension -> M.Map String StateExtension) -> X ()
> +modifyStateExts f = modify $ \st -> st { extensibleState = f (extensibleState st) }
> +
> +-- | Apply a function to a stored value of the matching type or the initial value if there
> +-- is none.
> +modifyState :: ExtensionClass a => (a -> a) -> X ()
> +modifyState f = putState =<< f <$> getState
> +
> +-- | Add a value to the extensible state field. A previously stored value with the same
> +-- type will be overwritten. (More precisely: A value whose string representation of its type
> +-- is equal to the new one's)
> +putState :: ExtensionClass a => a -> X ()
> +putState v = modifyStateExts . M.insert (show . typeOf $ v) . extensionType $ v
> +
> +-- | Try to retrieve a value of the requested type, return an initial value if there is no such value.
> +getState :: ExtensionClass a => X a
> +getState = getState' undefined -- `trick' to avoid needing -XScopedTypeVariables
> + where toValue val = maybe initialValue id $ cast val
> + getState' :: ExtensionClass a => a -> X a
> + getState' k = do
> + v <- gets $ M.lookup (show . typeOf $ k) . extensibleState
> + return $ case v of
> + Just (StateExtension val) -> toValue val
> + Just (PersistentExtension val) -> toValue val
> + Nothing -> initialValue
> +
> +-- | Remove the value from the extensible state field that has the same type as the supplied argument
> +removeState :: ExtensionClass a => a -> X ()
> +removeState wit = modifyStateExts $ M.delete (show . typeOf $ wit)
> hunk ./xmonad-contrib.cabal 223
> XMonad.Util.CustomKeys
> XMonad.Util.Dmenu
> XMonad.Util.Dzen
> + XMonad.Util.ExtensibleState
> XMonad.Util.EZConfig
> XMonad.Util.Font
> XMonad.Util.Invisible
> }
> [Use X.U.ExtensibleState instead of IORefs
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091026161500
> Ignore-this: 444ed40abab50fc8d5b80a8def5ddde
>
> This patch changes SpawnOn, DynamicHooks and UrgencyHooks to
> use X.U.ExtensibleState instead of IORefs. This simplifies the
> usage of those modules thus also breaking current configs.
> ] {
> hunk ./XMonad/Actions/SpawnOn.hs 1
> +{-# LANGUAGE DeriveDataTypeable #-}
> -----------------------------------------------------------------------------
> -- |
> -- Module : XMonad.Actions.SpawnOn
> hunk ./XMonad/Actions/SpawnOn.hs 22
> -- * Usage
> -- $usage
> Spawner,
> - mkSpawner,
> manageSpawn,
> spawnHere,
> spawnOn,
> hunk ./XMonad/Actions/SpawnOn.hs 31
> ) where
>
> import Data.List (isInfixOf)
> -import Data.IORef
> import System.Posix.Types (ProcessID)
>
> import XMonad
> hunk ./XMonad/Actions/SpawnOn.hs 39
> import XMonad.Hooks.ManageHelpers
> import XMonad.Prompt
> import XMonad.Prompt.Shell
> +import XMonad.Util.ExtensibleState
>
> -- $usage
> -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
> hunk ./XMonad/Actions/SpawnOn.hs 47
> -- > import XMonad.Actions.SpawnOn
> --
> -- > main = do
> --- > sp <- mkSpawner
> -- > xmonad defaultConfig {
> -- > ...
> hunk ./XMonad/Actions/SpawnOn.hs 49
> --- > manageHook = manageSpawn sp <+> manageHook defaultConfig
> +-- > manageHook = manageSpawn <+> manageHook defaultConfig
> -- > ...
> -- > }
> --
> hunk ./XMonad/Actions/SpawnOn.hs 55
> -- To ensure that application appears on a workspace it was launched at, add keybindings like:
> --
> --- > , ((mod1Mask,xK_o), spawnHere sp "urxvt")
> --- > , ((mod1Mask,xK_s), shellPromptHere sp defaultXPConfig)
> +-- > , ((mod1Mask,xK_o), spawnHere "urxvt")
> +-- > , ((mod1Mask,xK_s), shellPromptHere defaultXPConfig)
> --
> -- The module can also be used to apply other manage hooks to the window of
> -- the spawned application(e.g. float or resize it).
> hunk ./XMonad/Actions/SpawnOn.hs 64
> -- For detailed instructions on editing your key bindings, see
> -- "XMonad.Doc.Extending#Editing_key_bindings".
>
> -newtype Spawner = Spawner {pidsRef :: IORef [(ProcessID, ManageHook)]}
> +newtype Spawner = Spawner {pidsRef :: [(ProcessID, ManageHook)]} deriving Typeable
> +
> +instance ExtensionClass Spawner where
> + initialValue = Spawner []
>
> maxPids :: Int
> maxPids = 5
> hunk ./XMonad/Actions/SpawnOn.hs 72
>
> --- | Create 'Spawner' which then has to be passed to other functions.
> -mkSpawner :: (Functor m, MonadIO m) => m Spawner
> -mkSpawner = io . fmap Spawner $ newIORef []
> +-- | Get the current Spawner or create one if it doesn't exist.
> +modifySpawner :: ([(ProcessID, ManageHook)] -> [(ProcessID, ManageHook)]) -> X ()
> +modifySpawner f = putState . Spawner . f . pidsRef =<< getState
>
> -- | Provides a manage hook to react on process spawned with
> -- 'spawnOn', 'spawnHere' etc.
> hunk ./XMonad/Actions/SpawnOn.hs 78
> -manageSpawn :: Spawner -> ManageHook
> -manageSpawn sp = do
> - pids <- io . readIORef $ pidsRef sp
> +manageSpawn :: ManageHook
> +manageSpawn = do
> + Spawner pids <- liftX getState
> mp <- pid
> case flip lookup pids =<< mp of
> hunk ./XMonad/Actions/SpawnOn.hs 83
> - Nothing -> doF id
> + Nothing -> idHook
> Just mh -> do
> whenJust mp $ \p ->
> hunk ./XMonad/Actions/SpawnOn.hs 86
> - io . modifyIORef (pidsRef sp) $ filter ((/= p) . fst)
> + liftX . modifySpawner $ filter ((/= p) . fst)
> mh
>
> mkPrompt :: (String -> X ()) -> XPConfig -> X ()
> hunk ./XMonad/Actions/SpawnOn.hs 96
>
> -- | Replacement for Shell prompt ("XMonad.Prompt.Shell") which launches
> -- application on current workspace.
> -shellPromptHere :: Spawner -> XPConfig -> X ()
> -shellPromptHere sp = mkPrompt (spawnHere sp)
> +shellPromptHere :: XPConfig -> X ()
> +shellPromptHere = mkPrompt spawnHere
>
> -- | Replacement for Shell prompt ("XMonad.Prompt.Shell") which launches
> -- application on given workspace.
> hunk ./XMonad/Actions/SpawnOn.hs 101
> -shellPromptOn :: Spawner -> WorkspaceId -> XPConfig -> X ()
> -shellPromptOn sp ws = mkPrompt (spawnOn sp ws)
> +shellPromptOn :: WorkspaceId -> XPConfig -> X ()
> +shellPromptOn ws = mkPrompt (spawnOn ws)
>
> -- | Replacement for 'spawn' which launches
> -- application on current workspace.
> hunk ./XMonad/Actions/SpawnOn.hs 106
> -spawnHere :: Spawner -> String -> X ()
> -spawnHere sp cmd = withWindowSet $ \ws -> spawnOn sp (W.currentTag ws) cmd
> +spawnHere :: String -> X ()
> +spawnHere cmd = withWindowSet $ \ws -> spawnOn (W.currentTag ws) cmd
>
> -- | Replacement for 'spawn' which launches
> -- application on given workspace.
> hunk ./XMonad/Actions/SpawnOn.hs 111
> -spawnOn :: Spawner -> WorkspaceId -> String -> X ()
> -spawnOn sp ws cmd = spawnAndDo sp (doShift ws) cmd
> +spawnOn :: WorkspaceId -> String -> X ()
> +spawnOn ws cmd = spawnAndDo (doShift ws) cmd
>
> -- | Spawn an application and apply the manage hook when it opens.
> hunk ./XMonad/Actions/SpawnOn.hs 115
> -spawnAndDo :: Spawner -> ManageHook -> String -> X ()
> -spawnAndDo sp mh cmd = do
> +spawnAndDo :: ManageHook -> String -> X ()
> +spawnAndDo mh cmd = do
> p <- spawnPID $ mangle cmd
> hunk ./XMonad/Actions/SpawnOn.hs 118
> - io $ modifyIORef (pidsRef sp) (take maxPids . ((p,mh) :))
> + modifySpawner $ (take maxPids . ((p,mh) :))
> where
> -- TODO this is silly, search for a better solution
> mangle xs | any (`elem` metaChars) xs || "exec" `isInfixOf` xs = xs
> hunk ./XMonad/Actions/SpawnOn.hs 124
> | otherwise = "exec " ++ xs
> metaChars = "&|;"
> -
> hunk ./XMonad/Config/Sjanssen.hs 28
> strutkey (XConfig {modMask = modm}) = (modm, xK_b)
>
> sjanssenConfig = do
> - sp <- mkSpawner
> return . ewmh $ defaultConfig
> { terminal = "exec urxvt"
> , workspaces = ["irc", "web"] ++ map show [3 .. 9 :: Int]
> hunk ./XMonad/Config/Sjanssen.hs 35
> [ ((modm, button1), (\w -> focus w >> mouseMoveWindow w))
> , ((modm, button2), (\w -> focus w >> windows W.swapMaster))
> , ((modm.|. shiftMask, button1), (\w -> focus w >> mouseResizeWindow w)) ]
> - , keys = \c -> mykeys sp c `M.union` keys defaultConfig c
> + , keys = \c -> mykeys c `M.union` keys defaultConfig c
> , layoutHook = modifiers layouts
> , manageHook = composeAll [className =? x --> doShift w
> | (x, w) <- [ ("Firefox", "web")
> hunk ./XMonad/Config/Sjanssen.hs 41
> , ("Ktorrent", "7")
> , ("Amarokapp", "7")]]
> - <+> manageHook defaultConfig <+> manageDocks <+> manageSpawn sp
> + <+> manageHook defaultConfig <+> manageDocks <+> manageSpawn
> <+> (isFullscreen --> doFullFloat)
> }
> where
> hunk ./XMonad/Config/Sjanssen.hs 49
> layouts = (tiled Tall ||| (tiled Wide ||| Full)) ||| tabbed shrinkText myTheme
> modifiers = smartBorders
>
> - mykeys sp (XConfig {modMask = modm}) = M.fromList $
> - [((modm, xK_p ), shellPromptHere sp myPromptConfig)
> - ,((modm .|. shiftMask, xK_Return), spawnHere sp =<< asks (terminal . config))
> + mykeys (XConfig {modMask = modm}) = M.fromList $
> + [((modm, xK_p ), shellPromptHere myPromptConfig)
> + ,((modm .|. shiftMask, xK_Return), spawnHere =<< asks (terminal . config))
> ,((modm .|. shiftMask, xK_c ), kill1)
> ,((modm .|. shiftMask .|. controlMask, xK_c ), kill)
> ,((modm .|. shiftMask, xK_0 ), windows $ copyToAll)
> hunk ./XMonad/Hooks/DynamicHooks.hs 1
> +{-# LANGUAGE DeriveDataTypeable #-}
> -----------------------------------------------------------------------------
> -- |
> -- Module : XMonad.Hooks.DynamicHooks
> hunk ./XMonad/Hooks/DynamicHooks.hs 19
> module XMonad.Hooks.DynamicHooks (
> -- * Usage
> -- $usage
> - initDynamicHooks
> - ,dynamicMasterHook
> + dynamicMasterHook
> ,addDynamicHook
> ,updateDynamicHook
> ,oneShotHook
> hunk ./XMonad/Hooks/DynamicHooks.hs 26
> ) where
>
> import XMonad
> -import System.IO
> +import XMonad.Util.ExtensibleState
>
> import Data.List
> import Data.Maybe (listToMaybe)
> hunk ./XMonad/Hooks/DynamicHooks.hs 31
> import Data.Monoid
> -import Data.IORef
>
> -- $usage
> -- Provides two new kinds of 'ManageHooks' that can be defined at runtime.
> hunk ./XMonad/Hooks/DynamicHooks.hs 42
> -- Note that you will lose all dynamically defined 'ManageHook's when you @mod+q@!
> -- If you want them to last, you should create them as normal in your @xmonad.hs@.
> --
> --- First, you must execute 'initDynamicHooks' from 'main' in your @xmonad.hs@:
> +-- To use this module, add 'dynamicMasterHook' to your 'manageHook':
> --
> hunk ./XMonad/Hooks/DynamicHooks.hs 44
> --- > dynHooksRef <- initDynamicHooks
> ---
> --- and then pass this value to the other functions in this module.
> ---
> --- You also need to add the base 'ManageHook':
> ---
> --- > xmonad { manageHook = myManageHook <+> dynamicMasterHook dynHooksRef }
> ---
> --- You must include this @dynHooksRef@ value when using the functions in this
> --- module:
> ---
> --- > xmonad { keys = myKeys `Data.Map.union` Data.Map.fromList
> --- > [((modm, xK_i), oneShotHook dynHooksRef
> --- > "FFlaunchHook" (className =? "firefox") (doShift "3")
> --- > >> spawn "firefox")
> --- > ,((modm, xK_u), addDynamicHook dynHooksRef
> --- > (className =? "example" --> doFloat))
> --- > ,((modm, xK_y), updatePermanentHook dynHooksRef
> --- > (const idHook))) ] -- resets the permanent hook.
> +-- > xmonad { manageHook = myManageHook <+> dynamicMasterHook }
> --
> hunk ./XMonad/Hooks/DynamicHooks.hs 46
> +-- You can then use the supplied functions in your keybindings:
> +--
> +-- > ((modMask,xK_a), oneShotHook (className =? "example") doFloat)
> +--
>
> data DynamicHooks = DynamicHooks
> { transients :: [(Query Bool, ManageHook)]
> hunk ./XMonad/Hooks/DynamicHooks.hs 54
> , permanent :: ManageHook }
> + deriving Typeable
>
> hunk ./XMonad/Hooks/DynamicHooks.hs 56
> +instance ExtensionClass DynamicHooks where
> + initialValue = DynamicHooks [] idHook
>
> hunk ./XMonad/Hooks/DynamicHooks.hs 59
> --- | Creates the 'IORef' that stores the dynamically created 'ManageHook's.
> -initDynamicHooks :: IO (IORef DynamicHooks)
> -initDynamicHooks = newIORef (DynamicHooks { transients = [],
> - permanent = idHook })
> -
> -
> --- this hook is always executed, and the IORef's contents checked.
> +-- this hook is always executed, and the contents of the stored hooks checked.
> -- note that transient hooks are run second, therefore taking precedence
> -- over permanent ones on matters such as which workspace to shift to.
> -- doFloat and doIgnore are idempotent.
> hunk ./XMonad/Hooks/DynamicHooks.hs 64
> -- | Master 'ManageHook' that must be in your @xmonad.hs@ 'ManageHook'.
> -dynamicMasterHook :: IORef DynamicHooks -> ManageHook
> -dynamicMasterHook ref = return True -->
> - (ask >>= \w -> liftX (do
> - dh <- io $ readIORef ref
> +dynamicMasterHook :: ManageHook
> +dynamicMasterHook = (ask >>= \w -> liftX (do
> + dh <- getState
> (Endo f) <- runQuery (permanent dh) w
> ts <- mapM (\(q,a) -> runQuery q w >>= \x -> return (x,(q, a))) (transients dh)
> let (ts',nts) = partition fst ts
> hunk ./XMonad/Hooks/DynamicHooks.hs 72
> gs <- mapM (flip runQuery w . snd . snd) ts'
> let (Endo g) = maybe (Endo id) id $ listToMaybe gs
> - io $ writeIORef ref $ dh { transients = map snd nts }
> + putState $ dh { transients = map snd nts }
> return $ Endo $ f . g
> ))
> hunk ./XMonad/Hooks/DynamicHooks.hs 75
> -
> -- | Appends the given 'ManageHook' to the permanent dynamic 'ManageHook'.
> hunk ./XMonad/Hooks/DynamicHooks.hs 76
> -addDynamicHook :: IORef DynamicHooks -> ManageHook -> X ()
> -addDynamicHook ref m = updateDynamicHook ref (<+> m)
> -
> +addDynamicHook :: ManageHook -> X ()
> +addDynamicHook m = updateDynamicHook (<+> m)
>
> -- | Modifies the permanent 'ManageHook' with an arbitrary function.
> hunk ./XMonad/Hooks/DynamicHooks.hs 80
> -updateDynamicHook :: IORef DynamicHooks -> (ManageHook -> ManageHook) -> X ()
> -updateDynamicHook ref f =
> - io $ modifyIORef ref $ \dh -> dh { permanent = f (permanent dh) }
> -
> +updateDynamicHook :: (ManageHook -> ManageHook) -> X ()
> +updateDynamicHook f = modifyState $ \dh -> dh { permanent = f (permanent dh) }
>
> -- | Creates a one-shot 'ManageHook'. Note that you have to specify the two
> -- parts of the 'ManageHook' separately. Where you would usually write:
> hunk ./XMonad/Hooks/DynamicHooks.hs 92
> --
> -- > oneShotHook dynHooksRef (className =? "example) doFloat
> --
> -oneShotHook :: IORef DynamicHooks -> Query Bool -> ManageHook -> X ()
> -oneShotHook ref q a =
> - io $ modifyIORef ref
> - $ \dh -> dh { transients = (q,a):(transients dh) }
> -
> -
> -
> -
> +oneShotHook :: Query Bool -> ManageHook -> X ()
> +oneShotHook q a = modifyState $ \dh -> dh { transients = (q,a):(transients dh) }
> hunk ./XMonad/Hooks/UrgencyHook.hs 1
> -{-# LANGUAGE FlexibleContexts, MultiParamTypeClasses, TypeSynonymInstances, PatternGuards #-}
> +{-# LANGUAGE FlexibleContexts, MultiParamTypeClasses, TypeSynonymInstances, PatternGuards, DeriveDataTypeable,
> + FlexibleInstances #-}
>
> -----------------------------------------------------------------------------
> -- |
> hunk ./XMonad/Hooks/UrgencyHook.hs 75
> import qualified XMonad.StackSet as W
>
> import XMonad.Util.Dzen (dzenWithArgs, seconds)
> +import XMonad.Util.ExtensibleState
> import XMonad.Util.NamedWindows (getName)
> import XMonad.Util.Timer (TimerId, startTimer, handleTimer)
>
> hunk ./XMonad/Hooks/UrgencyHook.hs 82
> import Control.Applicative ((<$>))
> import Control.Monad (when)
> import Data.Bits (testBit)
> -import Data.IORef
> import Data.List (delete)
> import Data.Maybe (listToMaybe, maybeToList)
> import qualified Data.Set as S
> hunk ./XMonad/Hooks/UrgencyHook.hs 85
> -import Foreign (unsafePerformIO)
>
> -- $usage
> --
> hunk ./XMonad/Hooks/UrgencyHook.hs 216
> logHook = cleanupUrgents (suppressWhen urgConf) >> logHook conf
> }
>
> +data Urgents = Urgents { fromUrgents :: [Window] } deriving (Read,Show,Typeable)
> +
> +onUrgents :: ([Window] -> [Window]) -> Urgents -> Urgents
> +onUrgents f = Urgents . f . fromUrgents
> +
> +instance ExtensionClass Urgents where
> + initialValue = Urgents []
> +
> -- | Global configuration, applied to all types of 'UrgencyHook'. See
> -- 'urgencyConfig' for the defaults.
> data UrgencyConfig = UrgencyConfig
> hunk ./XMonad/Hooks/UrgencyHook.hs 273
> clearUrgents :: X ()
> clearUrgents = adjustUrgents (const []) >> adjustReminders (const [])
>
> --- | Stores the global set of all urgent windows, across workspaces. Not exported -- use
> --- 'readUrgents' or 'withUrgents' instead.
> -{-# NOINLINE urgents #-}
> -urgents :: IORef [Window]
> -urgents = unsafePerformIO (newIORef [])
> --- (Hey, I don't like it any more than you do.)
> -
> -- | X action that returns a list of currently urgent windows. You might use
> -- it, or 'withUrgents', in your custom logHook, to display the workspaces that
> -- contain urgent windows.
> hunk ./XMonad/Hooks/UrgencyHook.hs 277
> readUrgents :: X [Window]
> -readUrgents = io $ readIORef urgents
> +readUrgents = fromUrgents <$> getState
>
> -- | An HOF version of 'readUrgents', for those who prefer that sort of thing.
> withUrgents :: ([Window] -> X a) -> X a
> hunk ./XMonad/Hooks/UrgencyHook.hs 284
> withUrgents f = readUrgents >>= f
>
> adjustUrgents :: ([Window] -> [Window]) -> X ()
> -adjustUrgents f = io $ modifyIORef urgents f
> +adjustUrgents f = modifyState $ onUrgents f
>
> type Interval = Rational
>
> hunk ./XMonad/Hooks/UrgencyHook.hs 294
> , window :: Window
> , interval :: Interval
> , remaining :: Maybe Int
> - } deriving Eq
> + } deriving (Show,Read,Eq,Typeable)
> +
> +instance ExtensionClass [Reminder] where
> + initialValue = []
>
> -- | Stores the list of urgency reminders.
> hunk ./XMonad/Hooks/UrgencyHook.hs 300
> -{-# NOINLINE reminders #-}
> -reminders :: IORef [Reminder]
> -reminders = unsafePerformIO (newIORef [])
>
> readReminders :: X [Reminder]
> hunk ./XMonad/Hooks/UrgencyHook.hs 302
> -readReminders = io $ readIORef reminders
> +readReminders = getState
>
> adjustReminders :: ([Reminder] -> [Reminder]) -> X ()
> hunk ./XMonad/Hooks/UrgencyHook.hs 305
> -adjustReminders f = io $ modifyIORef reminders f
> +adjustReminders f = modifyState f
>
> clearUrgency :: Window -> X ()
> clearUrgency w = adjustUrgents (delete w) >> adjustReminders (filter $ (w /=) . window)
> hunk ./XMonad/Hooks/UrgencyHook.hs 336
> callUrgencyHook wuh w
> else
> clearUrgency w
> - userCodeDef () =<< asks (logHook . config) -- call *after* IORef has been modified
> + userCodeDef () =<< asks (logHook . config)
> DestroyWindowEvent {ev_window = w} ->
> clearUrgency w
> _ ->
> }
>
> Context:
>
> [Changing behaviour of ppUrgent with X.H.DynamicLog
> mail@n-sch.de**20090910010411
> Ignore-this: 3882f36d5c49e53628485c1570bf136a
>
> Currently, the ppUrgent method is an addition to the ppHidden method.
> This doesn't make any sense since it is in fact possible to get urgent
> windows on the current and visible screens. So I've raised the ppUrgent
> printer to be above ppCurrent/ppVisible and dropped its dependency on
> ppHidden.
>
> In addition to that this makes it a lot more easier to define a more
> custom ppUrgent printer, since you don't have to "undo" the ppHidden
> printer anymore. This also basicly removes the need for dzenStrip,
> although I just changed the description.
>
> -- McManiaC / Nils
>
> ]
> [fix X.U.Run.spawnPipe fd leak
> Tomas Janousek <tomi@nomi.cz>**20091025210246
> Ignore-this: 24375912d505963fafc917a63d0e79a0
> ]
> [TAG 0.9
> Spencer Janssen <spencerjanssen@gmail.com>**20091026013449
> Ignore-this: 542b6105d6deed65e12d1f91c666b0b2
> ]
> [Bump version to 0.9
> Spencer Janssen <spencerjanssen@gmail.com>**20091026004850
> Ignore-this: e9d2eee4ec5df8f52bf8f593ff0d2605
> ]
> [README Update to point to wiki changelog, prettify
> Wirt Wolff <wirtwolff@gmail.com>**20091024203550
> Ignore-this: 8a0a1824e67c5b2dbbb23e5061d01ece
> ]
> [Doc namespace minor updates
> Wirt Wolff <wirtwolff@gmail.com>**20091023184905
> Ignore-this: b3fd7de477f0a9ba6af1d8c78eb47754
> Most signifigant changes are use unversioned links to external html,
> fix a couple of key binding examples, and double quotes that should
> have been single.
> ]
> [Docs: use myLayout like template rather than plural
> Wirt Wolff <wirtwolff@gmail.com>**20091023042651
> Ignore-this: 8f1814c42e90e18af636a14751ae2f58
> Despite myLayouts currently being more popular in examples, make
> them all myLayout as in man/xmonad.hs to avoid mixing them in the
> same module as was done a few places, leading to confusion for some users.
> ]
> [Use 'ewmh' in relevant configs
> Spencer Janssen <spencerjanssen@gmail.com>**20091023035043
> Ignore-this: 7cac9c6c3795a3fb60899db29cc65d08
> ]
> [Add ewmh function to set all EWMH settings in one step
> Spencer Janssen <spencerjanssen@gmail.com>**20091023034630
> Ignore-this: 4d79c1e156f56882036ce43e70cce6f2
> ]
> [Refer to modm as the current modMask
> Adam Vogt <vogt.adam@gmail.com>**20091022041126
> Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a
>
> This makes the config suggestions consistent with the current template.
> ]
> [Resolve conflicts between Justin Bogner's C.Desktop patch and latest head.
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091022115849
> Ignore-this: ba805e9889d6bda5ea873e3537b0111f
> ]
> [Move EWMH support initialization to a startupHook
> Justin Bogner <mail@justinbogner.com>**20091011053538
> Ignore-this: bd35654d0afb0a2fec73b16ab7ac38b1
>
> Set EWMH support atoms and the window manager name in a startup hook,
> rather than in the log hook: the log hook occurs far too frequently
> for it to make sense to set constants with it.
> ]
> [C.Desktop fix bad escaping and typo
> Wirt Wolff <wirtwolff@gmail.com>**20091022100156
> Ignore-this: 70b51a2d8b4443fa364414630ed074c0
> ]
> [C.Desktop doc explaining common desktop config customizations
> Wirt Wolff <wirtwolff@gmail.com>**20091022042748
> Ignore-this: 83d1f026ae4f4b7f5796269b51e98349
> To close http://code.google.com/p/xmonad/issues/detail?id=174
> ]
> [Clean keymask in GridSelect(solves issue 318)
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091021223404
> Ignore-this: 2c315539bf1ae8c427b7856b5fdb2e49
> ]
> [Share one StdGen between RGB channels in A.RandomBackground
> Adam Vogt <vogt.adam@gmail.com>**20091020165924
> Ignore-this: 15eef05c9a73d578f5513550757bb8bb
> ]
> [Document A.RandomBackground
> Adam Vogt <vogt.adam@gmail.com>**20091020165205
> Ignore-this: cb6fb4567abde474fd975a25dca5adc2
> ]
> [Bump X11 dependency to 1.4.6.1, to access cursor definitions.
> Adam Vogt <vogt.adam@gmail.com>**20091020161914
> Ignore-this: 60728999fe041302379326494df30921
> ]
> [C.Gnome combine with instead of replace Desktop startupHook
> Wirt Wolff <wirtwolff@gmail.com>**20091020092010
> Ignore-this: 99af07c4d36a575570935a0421a0e241
> Now that C.Desktop sets startupHook do both rather than only
> gnomeRegister.
> ]
> [Remove H.SetCursor: U.Cursor is preferred
> Adam Vogt <vogt.adam@gmail.com>**20091019235722
> Ignore-this: 5796fe86879c2ce02ef12150e0a8603a
> ]
> [Add some haddock formatting in U.Cursor
> Adam Vogt <vogt.adam@gmail.com>**20091019233036
> Ignore-this: 744c36a128b403980e3bc62c9e99d432
> ]
> [XMonadContrib: set the default cursor to left_ptr for the Desktop config
> Andres Salomon <dilinger@collabora.co.uk>**20090915165753
> Ignore-this: a4f7417c8a4190a0cabdadbd359e217
> ]
> [XMonadContrib: add a utility module to set the default cursor
> Andres Salomon <dilinger@collabora.co.uk>**20090915165604
> Ignore-this: b0559b7b2617db90506492aa1479cde
>
> This adds XMonad.Util.Cursor, which defines a function that allows setting
> the default mouse cursor. This can be useful for (for example) gnomeConfig,
> to ensure that the root cursor is changed from X_cursor to left_ptr.
>
> ]
> [More docs formatting in A.GridSelect
> Adam Vogt <vogt.adam@gmail.com>**20091016203132
> Ignore-this: a0a489c2b65fa2d755b4aca544c3d73a
> ]
> [In A.GridSelect correct haddocks
> Adam Vogt <vogt.adam@gmail.com>**20091016171159
> Ignore-this: f7f714c42544d9230eb9c9bec86cd36a
> ]
> [Describe parameters to subLayouts more
> Adam Vogt <vogt.adam@gmail.com>**20091016164937
> Ignore-this: d09f236cb17adf7a9092f1b0e646def3
> ]
> [Refer to modMask as modm in L.SubLayouts sample keybinds
> Adam Vogt <vogt.adam@gmail.com>**20091016164737
> Ignore-this: 3a8366f7d8f337be750b4db61a454991
> ]
> [Format L.SubLayout TODO
> Adam Vogt <vogt.adam@gmail.com>**20091016155837
> Ignore-this: 4dfa10aa2f7087658b6a93299f75310
> ]
> [Add more links in L.SubLayout documentation
> Adam Vogt <vogt.adam@gmail.com>**20091016155518
> Ignore-this: 70347cc0bcf4966e6c07f45740882087
> ]
> [Link a screenshot in L.SubLayouts from the haskellwiki
> Adam Vogt <vogt.adam@gmail.com>**20091016150539
> Ignore-this: c58b64c5c5f28f4d71c9e8498965ca9e
> ]
> [Added focusMaster to BoringWindows
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20091015233518
> Ignore-this: 7f99337fc63cdc7c861fdc3c2ab2d3d1
> ]
> [Remove NamedFieldPuns from L.LimitWindows
> Adam Vogt <vogt.adam@gmail.com>**20091015010123
> Ignore-this: 228ca5b5ac067876c3b2809fc03b6016
>
> This is more ugly, but otherwise we have lots of trouble for ghc-6.8
> compatibility (due to the recomended flag having changed)
> ]
> [added prop_select_two_consec to test_Selective.hs
> Max Rabkin <max.rabkin@gmail.com>**20091001155853
> Ignore-this: 80e2b5d8658dc053c66993be970e6247
> ]
> [Note L.Minimize in L.LimitWindows haddocks.
> Adam Vogt <vogt.adam@gmail.com>**20091014205326
> Ignore-this: 83a809d2467a286e0c1a133be947add9
> ]
> [Move limitSelect into L.LimitWindows
> Max Rabkin <max.rabkin@gmail.com>**20091014202213
> Ignore-this: 51d6e9da4a6a4f683cd145371e90be17
> ]
> [added haddocks for L.Selective
> Max Rabkin <max.rabkin@gmail.com>**20091002112720
> Ignore-this: d29016f1261d0176634bb040fcc1836a
> ]
> [Support IncMasterN in Selective
> Max Rabkin <max.rabkin@gmail.com>**20090929173346
> Ignore-this: 3fd288d0062905177c06006ea4066f6d
> ]
> [removed commented-out code
> Max Rabkin <max.rabkin@gmail.com>**20090929163509
> Ignore-this: 776b1566626660b639f8933980f5a3a1
> ]
> [Test that update preserves invariants of Selection
> Max Rabkin <max.rabkin@gmail.com>**20090929163139
> Ignore-this: 340b2a1465b9fc98cdc386b511ce26bb
> ]
> [move updateSel from test_Selective into Selective
> Max Rabkin <max.rabkin@gmail.com>**20090929160420
> Ignore-this: 6636f2f2d5aa15a6d0ef6d45ee38aa42
> ]
> [Add "Selective" layout modifier
> Max Rabkin <max.rabkin@gmail.com>**20090929160207
> Ignore-this: ded23208563ca8c8d411916d01351132
> ]
> [Filter extra modifier bits some layouts set in XMonad.Prompt
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091012132814
> Ignore-this: c0898809766061700c11f6da84c74bed
> ]
> [Cleanup L.BorderResize
> Adam Vogt <vogt.adam@gmail.com>**20091012055532
> Ignore-this: 7d369ed3050543a5c30a64991b7bf6f5
> ]
> [Layout modifier to resize windows by dragging their borders with the mouse
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20091011222214
> Ignore-this: 5cf197ea14b7c502fa13a16773215762
> ]
> [Add U.Replace which implements a --replace behavior.
> Adam Vogt <vogt.adam@gmail.com>**20091012052306
> Ignore-this: bd519abe3250a01507f225a29c08048a
> ]
> [Update D.Extending module lists with help of a script (also added)
> Adam Vogt <vogt.adam@gmail.com>**20091012044918
> Ignore-this: c280d3047355be962e8ef706d598aa43
> ]
> [Correct erroneous haddock link in U.XSelection
> Adam Vogt <vogt.adam@gmail.com>**20091012043133
> Ignore-this: e5c905104741d14dbb411272c37e0e29
> ]
> [Make L.Mosaic explicit imports compatible with haskell-src-exts
> Adam Vogt <vogt.adam@gmail.com>**20091012042859
> Ignore-this: 85ca9ff7fc924e6291edb05f4a1de77c
> ]
> [Put screenshots inline for L.ThreeColumns and L.Roledex
> Adam Vogt <vogt.adam@gmail.com>**20091012042651
> Ignore-this: df314db757ad09bb7185c16cca8649d3
> ]
> [Use LANGUAGE pragma instead of -fglasgow-exts in L.Minimize
> Adam Vogt <vogt.adam@gmail.com>**20091012042457
> Ignore-this: cbb454ab573b1e1f931d79c322fa1303
> ]
> [Add a description to L.LayoutScreens
> Adam Vogt <vogt.adam@gmail.com>**20091012042231
> Ignore-this: beceb2f65206079fae6421c5df0fb439
> ]
> [Add Portability and Stability boilerplate for a couple modules.
> Adam Vogt <vogt.adam@gmail.com>**20091012041055
> Ignore-this: 7d875c5e47535a11e26f9a604a01fe88
>
> Needed for automating the generation of the Doc.Extending module summaries.
> ]
> [Correct hyperlink in A.DeManage
> Adam Vogt <vogt.adam@gmail.com>**20091012040340
> Ignore-this: db08eba0253f94e5ce9cbcf3632b387a
> ]
> [NoFrillsDecoration - most basic version of decoration for windows
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20091011220512
> Ignore-this: accda53da08f37d6b4091d1c6e17e2c1
> ]
> [Split A.TopicSpace documentation into sections
> Adam Vogt <vogt.adam@gmail.com>**20091012004730
> Ignore-this: 312066f68e7051a8ee89cbbec40ce2a0
> ]
> [Use hyperlinks in WorkspaceCursors documentation.
> Adam Vogt <vogt.adam@gmail.com>**20091008032047
> Ignore-this: d698d86d01d9a69652fa3aa732873299
> ]
> [Minor haddock formatting correction in L.Tabbed
> Adam Vogt <vogt.adam@gmail.com>**20091008024839
> Ignore-this: 8084aebbae198eda3d455ab541e94169
> ]
> [Hyperlink the reference to ResizableTile in MouseResizableTile
> Adam Vogt <vogt.adam@gmail.com>**20091005175303
> Ignore-this: 8d98176fd0b78ef3565a6f9556e220b8
> ]
> [Finish a sentence in H.ManageDocks haddocks.
> Adam Vogt <vogt.adam@gmail.com>**20091005165312
> Ignore-this: 43f4ffc627b3db204d74ed361ef939cf
> ]
> [Add a SetStruts message to H.ManageDocks.
> Adam Vogt <vogt.adam@gmail.com>**20091005164221
> Ignore-this: 98a76bb48b8a569b459cadc4e6412c06
>
> This patch also uses Data.Set instead of [] for the AvoidStruts
> constructor to simplify the SetStruts implementation.
> ]
> [Derive Enum for U.Types.Direction2D
> Adam Vogt <vogt.adam@gmail.com>**20091005163132
> Ignore-this: 258e35a6f23f46039b9a8ee45187cdff
> ]
> [Rearrange the GSCONFIG class in A.Gridselect
> Adam Vogt <vogt.adam@gmail.com>**20091005023227
> Ignore-this: 875080c8beabb81e19de44f7e60ca19d
> ]
> [Add a GSCONFIG class to overload defaultGSConfig.
> Adam Vogt <vogt.adam@gmail.com>**20091003193804
> Ignore-this: 220a13bf1ee145b18f28c66e32c79266
>
> This uses -XOverlappingInstances to provide a fallback instance which uses the
> focusedBorderColor and normalBorderColor, but that part is optional.
>
> User's configs should use -XNoMonomorphismRestriction if they want to avoid
> writing a type signature for myGSConfig.
>
> Also, type variables become ambiguous in expressions like:
>
> > myGSConfig = defaultGSConfig { gs_navigate = neiu `M.union` gs_navigate defaultGSConfig }
> > where neiu = M.map (\(x,y) (a,b) -> (x+a,y+b)) $ M.fromList
> > [((0,xK_n),(-1,0)) ,((0,xK_e),(0,1)) ,((0,xK_i),(1,0)) ,((0,xK_u),(0,-1))]
>
> But that can be resolved with the appropriate (`asTypeOf`myGSConfig) applied to
> the second defaultGSConfig, or the use of some other method for modifying
> existing fields.
> ]
> [Add a screenshots section in the A.GridSelect haddocks
> Adam Vogt <vogt.adam@gmail.com>**20091004160816
> Ignore-this: be358c0173df3d02b45526c134604f4e
> ]
> [Fixed guard in WorkspaceByPos - condition got switched during transformation
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20091004085232
> Ignore-this: 6685ef8ddff55c7758c2b77cfc65cbba
> ]
> [A.CycleWindows update docs, use lib fn second instead of custom lambda
> Wirt Wolff <wirtwolff@gmail.com>**20090926154700
> Ignore-this: 7ec0d6a46d4a6255870b1e9c4a25c1bb
> ]
> [Group functions in GridSelect haddock, add an inline screenshot.
> Adam Vogt <vogt.adam@gmail.com>**20091003181927
> Ignore-this: 3c6f1c5aff4fe197aa965cbda23e1be7
> ]
> [minor hlint cleanup of Prompt and XMonad.Prompt.* sub-modules
> sean.escriva@gmail.com**20090928204443
> Ignore-this: 25e71f59bdcc5bf94c2d6f476833216b
> ]
> [New module : X.H.SetCursor
> mail@n-sch.de**20090915101327
> Ignore-this: 2f0641155ada05dae955cd6941d52b70
> Idea from Andres Salomon
> (http://www.haskell.org/pipermail/xmonad/2009-September/008553.html).
> ]
> [Hyperlink modules named in WindowMenu, RestoreMinimized, and Minimize
> Adam Vogt <vogt.adam@gmail.com>**20091003151325
> Ignore-this: 5eb1496fd258fa0c43fb0a58136ccfff
> ]
> [Mention X.L.Maximize and X.L.Minimize in WindowMenu documentation
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20091003111330
> Ignore-this: 3a00a896509aa8646ae718005d7a1fc1
> ]
> [Small style change in L.SimplestFloat
> Adam Vogt <vogt.adam@gmail.com>**20091002001552
> Ignore-this: d8be5d01d47833c70d220e0f1555c42f
> ]
> [Use U.XUtils.fi to make WindowMenu clearer
> Adam Vogt <vogt.adam@gmail.com>**20091001225736
> Ignore-this: 63e73cd7c5de22b3e30e63c1e588e403
> ]
> [Extended GridSelect
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090930152741
> Ignore-this: 2999d891387e4db9746061b1a42264a4
> 1) Added another convenience wrapper that allows to select an X() action
> from a given list.
> 2) Implemented the option to change the position of the selection diamond.
> (Re-recorded from Bluetile repo, rebased to current darcs)
> ]
> [WindowMenu based on GridSelect that displays actions for the focused window (re-recorded from Bluetile repo).
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090930155343
> Ignore-this: b12a06c0321f3e9689ab8109a1fac0ac
> ]
> [Use default handler in XMonad.Prompt.eventLoop
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091001180402
> Ignore-this: 10c9c856aec515d57f0f0a42bc727f1
> ]
> [Remove redundant parentheses from L.MouseResizableTile
> Adam Vogt <vogt.adam@gmail.com>**20090930212110
> Ignore-this: 1853cde69ec03ce5b88726b4de05f2b0
> ]
> [Use ErrorT instead of nested case for H.WorkspaceByPos
> Adam Vogt <vogt.adam@gmail.com>**20090930204914
> Ignore-this: c3f96fbbf0ce917c4962b297dea3b174
> ]
> [Note that ManageDocks is preferred to A.DeManage
> Adam Vogt <vogt.adam@gmail.com>**20090930204443
> Ignore-this: dcb9e069a65980f83941ca58607a6ce5
> ]
> [Factor out redundancy in L.MouseResizableTile.handleResize
> Adam Vogt <vogt.adam@gmail.com>**20090930204151
> Ignore-this: 77d8e635a06237b220f427fa64045a3a
> ]
> [In a multi-head setup, move windows with a non-zero position upon creation to the right workspace.
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090930123341
> Ignore-this: 4efdb9d64f33d70c48fb3797b635513e
> Useful in a dual-head setup: Looks at the requested geometry of
> new windows and moves them to the workspace of the non-focused
> screen if necessary.
> ]
> [Use LANGUAGE instead of -fglasgow-exts in L.MouseResizableTile
> Adam Vogt <vogt.adam@gmail.com>**20090930200443
> Ignore-this: 861364005402c2c34a20495dd2bb81f8
> ]
> [Remove redundant ($) in A.Commands
> Adam Vogt <vogt.adam@gmail.com>**20090930200311
> Ignore-this: 63084d42007481b0e0ca5fd99d3ba083
> ]
> [Fix haddock parse error in MouseResizableTile
> Adam Vogt <vogt.adam@gmail.com>**20090930200143
> Ignore-this: 34d9bbabcf48424121387e87931bf973
> ]
> [A ResizableTile-like layout that can be resized using the mouse.
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090930121105
> Ignore-this: 8941ecfb0e5653663db29e9f195e23f2
> All separations between windows can be dragged to modify the layout.
> Keyboard commands can also be used to achieve the same effect.
> ]
> [Replaced more stuff in X.L.Maximize with pure versions
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090516233557
> Ignore-this: ffafa9ce65efb2639a147493fb49c7e1
> ]
> [Expanded on X.L.Maximize functionality
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090503001052
> Ignore-this: b0d765b3bf6fc1e72cedebfd564236fc
> 1. Move maximized window into the background when it's not focused.
> 2. Changed semantics so that maximizing a different window will
> automatically restore the currently maximized window and maximize the
> new one (previously this had to be done in two seperate steps).
> ]
> [EventHook to restore minimized windows from taskbar (re-recorded from Bluetile repo)
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090928231549
> Ignore-this: 673b003c4e07b591046ed01e5f27a7ec
> ]
> [LayoutModifier to minimize windows (re-recorded from Bluetile repo)
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090928231320
> Ignore-this: 45830f2bf3bb8473c569582593844253
> ]
> [Correctly check completionKey field in XMonad.Prompt
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090928093215
> Ignore-this: 99e68a63fe156650cc8e96d31e6d1f5a
> ]
> [Fix for issue 315
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090928091946
> Ignore-this: 7de748d6cbd143b073451ba92ecec659
> ]
> [Only use search history for completion in X.A.Search
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090920221455
> Ignore-this: 807fcd4fa14a25ecc9787940f9950736
> ]
> [Fix regression in XMonad.Prompt's completion
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090920205711
> Ignore-this: 3c0e5a1f843be1981ecc3d40d43530d1
> ]
> [Clean keymask before use in XMonad.Prompt
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090920201229
> Ignore-this: 80903452f15352aef025b9979793fb8a
> ]
> [Export moveCursor in XMonad.Prompt
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090920192513
> Ignore-this: 7732b0444b26cd653190bb3a6e69346c
> ]
> [U.EZConfig: Correct additionalKeysP M2-M5 values
> Wirt Wolff <wirtwolff@gmail.com>**20090906070503
> Ignore-this: 938c9739a8e00c07195890938e7c12fc
> Was 8,9,10,11,12 rather than needed 8,16,32,64,128
> ]
> [Factor out direction types and put them in X.U.Types
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090919191717
> Ignore-this: b2255ec2754fcdf797b1ce2c082642ba
>
> This patch factors out commonly used direction types like
> data Direction = Prev | Next
> and moves them to X.U.Types.
> ]
> [Add function to disable focusFollowsMouse conditionally
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090829212916
> Ignore-this: de73003672f76d955fe4476ca279cded
>
> This patch adds an event hook to have the focus follow the mouse only
> if a given condition is true.
> ]
> [Make the keymap of XMonad.Prompt customizable
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090910160828
> Ignore-this: 37c04043518d7e4e06b821b3438cbe03
>
> This patch allows the user to change the keymap XMonad.Prompt and
> related modules use to be customized using the XPConfig structure.
> ]
> [Run gnomeRegister from startupHook
> Spencer Janssen <spencerjanssen@gmail.com>**20090918023410
> Ignore-this: 419959a33840264674d2c8034882b689
> ]
> [Use U.Run.safeSpawn in C.Gnome
> Adam Vogt <vogt.adam@gmail.com>**20090917233953
> Ignore-this: b2476a239089a3fd3fe9001cf48e8f09
> ]
> [Add gnomeRegister to C.Gnome.
> Adam Vogt <vogt.adam@gmail.com>**20090917232150
> Ignore-this: 5b2960004418c04bdbb921e3aa777fc2
>
> Credit to Joachim Breitner here:
> http://www.haskell.org/pipermail/xmonad/2009-May/007984.html
> ]
> [Remove excess broadcastMessage ReleaseResources from A.Commands
> Adam Vogt <vogt.adam@gmail.com>**20090904010259
> Ignore-this: e55e16750bd1ee116760559680495b46
>
> XMonad.Operations.restart tells the layouts to release resources. There's no
> sense in duplicating it in contrib code anymore.
> ]
> [Mark modules last-modified in 2007 as stable
> Adam Vogt <vogt.adam@gmail.com>**20090904005147
> Ignore-this: 53f7fde5684cd9f105cf4e3ce0d849d2
>
> http://www.haskell.org/pipermail/xmonad/2009-July/008328.html
> ]
> [Minor changes to my config
> Spencer Janssen <spencerjanssen@gmail.com>**20090901024802
> Ignore-this: 5196fb217e72153fc4fb32fb40ab18f
> ]
> [Return True in X.H.FadeInactive.isUnfocused if current workspace is empty. (dschoepe)
> Adam Vogt <vogt.adam@gmail.com>**20090828214537
> Ignore-this: 56a3dac874f6430f10ad23870a4be38a
> ]
> [Actually execute the correct command when giving user-defined commands to ServerMode
> Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de>**20090825233828
> Ignore-this: 571e4d3ec5bcae56987c6e3b85b800b6
> ]
> [Preserve backwards compatibility with H.ServerMode
> Adam Vogt <vogt.adam@gmail.com>**20090825220348
> Ignore-this: cd5df0c49e1d0f07ede1994da9c4c865
> ]
> [Let the user decide which commands to use in X.H.ServerMode
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090825101630
> Ignore-this: 3a1b95f85253ce6059f4528e23c5a3d3
> ]
> [Improve/correct documentation in X.A.TagWindows
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090823131229
> Ignore-this: e9adb7bf77eeebff42f564390c6ceedc
> ]
> [Replace nextEvent with maskEvent to prevent GridSelect from swallowing unrelated events (such as map/unmap)
> Clemens Fruhwirth <clemens@endorphin.org>**20090809131055
> Ignore-this: 6c3bc2487e4f011e0febe0935c223f2
> ]
> [Better default for ppUrgent in xmobarPP
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090822183416
> Ignore-this: ffdfad360d8fd5c5bfa38fd0549b8f19
>
> Most users would expect workspaces with urgent windows to be highlighted in
> xmobar when they set up an UrgencyHook. Hence, doing this by default in xmobarPP
> makes sense. (dzenPP does the same)
> ]
> [Add backwards compatability in X.H.FadeInactive
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090821225646
> Ignore-this: d2ef91429d80fde5126b2aa8f0de9b1f
> ]
> [More flexible interface for X.H.FadeInactive
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090821203936
> Ignore-this: e905086d3fb640cbccf4eec2f11f293
>
> This patch allows setting the opacity on a per-window basis and lets the
> user specify it as a percentage instead of an Integer between 0 and 2^32-1.
> ]
> [U.Scratchpad: doc add disable-factory flag to gnome-terminal example
> Wirt Wolff <wirtwolff@gmail.com>**20090818192503
> Ignore-this: 6fd874a236121b5669b0ec5944caf205
> Few systems have --disable-factory on by default, but it's needed to
> set custom resource string.
> http://code.google.com/p/xmonad/issues/detail?id=308
> ]
> [A.CycleWS: add toggleOrView fns, fix doc, prevent head exception
> Wirt Wolff <wirtwolff@gmail.com>**20090817215549
> Ignore-this: 35acc32e696e665aca900721d309d1d3
> ]
> [Add -fwarn-tabs to ghc-options for the regular build
> Adam Vogt <vogt.adam@gmail.com>**20090814022108
> Ignore-this: 203ea4e54936f8bb6c3c28446d069f88
> ]
> [Don't use tabs in EwmhDesktops
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090813200119
> Ignore-this: 59b1ade240aa75cf448620cd7a37579b
> ]
> [Do not warn about unknown ClientMessageEvents
> Joachim Breitner <mail@joachim-breitner.de>**20090812222917
> Ignore-this: d02940888cd54cf209d6e5f4847548ab
> Not all client messages are are meant to be handled by the wndow manager, so do
> not complain when one is unknown.
> ]
> [ScratchpadRewrite
> konstantin.sobolev@gmail.com**20090428200136
> Ignore-this: 17c946c04dae72f0873f0f5bb56c9f37
> Scratchpad reimplementation in terms of NamedScratchpad. No interface changes.
> ]
> [NS_Placement
> konstantin.sobolev@gmail.com**20090428192731
> Ignore-this: 7cf2d8d956c8e906b41731632db67e2a
> Added ability to specify scratchpad manage hooks, mostly for defining window placement in a more flexible manner
> ]
> [ThreeColMid - Swap slave window positions
> Anders Engstrom <ankaan@gmail.com>**20090503195026
> Ignore-this: f2673e83386bc0e5d398d4e875537cc8
> This patch will swap the positions of the two slave windows and this will result in a more intuitive window order. When using focusDown beginning in the master pane we will move in the following graphical order 2->3->1->2->3 instead of 2->1->3->2->1. This is backwards from what is expected.
>
> The small drawback is that increasing from 2 to 3 windows (and therefore also columns) will behave in a less intuitive way. The window in the right column will jump to the left of the screen.
>
> I think that it is a good idea to make this change since I rely a lot on the window order but people using WindowNavigation may be of a different opinion.
>
> An alternative is to add an option to select in what way to behave, but that could be overkill... I leave it up to discussion and devs to decide.
> ]
> [fix UrgencyHook docs (\a -> \\a in Haddock)
> Brent Yorgey <byorgey@cis.upenn.edu>**20090809184016
> Ignore-this: a1fcfe2446184a8cea4553fd68565b58
> ]
> [XMonad.Actions.Search: removeColonPrefix shouldn't throw an exception if no :!
> gwern0@gmail.com**20090808002224
> Ignore-this: db0a25c0d615c3d8cb6ef31489919d91
> ]
> [XMonad.Actions.Search: clean up hasPrefix - dupe of Data.List.isPrefixOf
> gwern0@gmail.com**20090808002120
> Ignore-this: 3327a19e5aa23af649ce080fc38a7409
> ]
> [XMonad.Actions.Search: +wikt
> gwern0@gmail.com**20090808000622
> Ignore-this: cee8b1325820ea1f513ae18d840b4c48
> ]
> [NoWrap export patch for use with X.L.MessageControl
> quentin.moser@unifr.ch**20090128004726
> Ignore-this: 2b76afa0547aaed5fb39454a074ec4c3
> ]
> [new XMonad.Layout.MessageControl module
> quentin.moser@unifr.ch**20090128013917
> Ignore-this: cc28e0def6c797f6d1da8f23469a4f8
> ]
> [U.NamedActions: align the descriptions for each section, refactor its integration with EZConfig
> Adam Vogt <vogt.adam@gmail.com>**20090726032003
> Ignore-this: f7132388b1f1fd2dbf03885ffa534c20
> ]
> [U.NamedActions support subtitles bound to (0,0) unreachable normally
> Adam Vogt <vogt.adam@gmail.com>**20090525002915
> Ignore-this: fdb9f0f07663854049cade2f0f7c2ebd
> ]
> [Add U.NamedActions: present a list of keybindings including submaps
> Adam Vogt <vogt.adam@gmail.com>**20090504024017
> Ignore-this: 181c3ee603c82e0c56406ba8552fd394
> ]
> [Revert to old behavior where unmatched keys do not exit the eventloop for A.GridSelect
> Adam Vogt <vogt.adam@gmail.com>**20090727012302
> Ignore-this: 936cfd1e1b6243ced54e356f8067fac
> ]
> [Share more mkAdjust calls L.LayoutHints in the LayoutHintsToCenter modifier
> Adam Vogt <vogt.adam@gmail.com>**20090726061802
> Ignore-this: baa33d5b38a7811b9f50b7d0f808ee75
> ]
> [Make direction keybindings configurable in A.GridSelect
> Adam Vogt <vogt.adam@gmail.com>**20090726020438
> Ignore-this: 9cd675485270ccebec22df72eea40578
> ]
> [LayoutBuilder - make an example more sane
> Anders Engstrom <ankaan@gmail.com>**20090513155732
> Ignore-this: 772566441df97479c49b6b149b57fc27
> ]
> [Clean Xkb masks in X.A.Submap
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090623164653
> Ignore-this: 930e2bca230d5f403bf9c06650afc57b
>
> Xkb adds its own mask and prevent Submap keybindings from normal
> functioning when alternate layout is used. This patch cleans
> these masks.
>
> ]
> [Fix defaulting warning with A.RandomBackground
> Adam Vogt <vogt.adam@gmail.com>**20090716234955
> Ignore-this: 55dddcc134aa173d2c8e015fc462ff99
> ]
> [Addition of Machine window property.
> Juraj Hercek <juhe_xmonad@hck.sk>**20090715105053
> Ignore-this: d71d82bac7cc59ef462e728adaf5db01
>
> This patch adds WM_CLIENT_MACHINE property to window properties.
> I can be used to distinguish windows run from different machines.
> ]
> [remove myself as maintainer from code I don't maintain.
> David Roundy <droundy@darcs.net>**20090716153409
> Ignore-this: 362988aeca1996474942fa29ffcccbce5e543e57
> ]
> [X.A.CopyWindow: add wsContainingCopies, doc cleanup
> wirtwolff@gmail.com**20090703011524
> Ignore-this: 883899013707737d085476637a44695a
> Use wsContainingCopies in a logHook to highlight hidden workspaces
> with copies of the focused window. (refactored from original by aavogt)
> ]
> [Correct license for L.CenteredMaster
> Adam Vogt <vogt.adam@gmail.com>**20090708051616
> Ignore-this: 31136b901a7dc476ea337678cbc8637f
>
> Context for why I've recorded the patch:
> aavogt | portnov: did you get the message about your XMonad.Layout.CenteredMaster licence being not compatible with the licence of contrib?
> portnov | aavogt: yep. Could you change that yourself? I allow this to be distributed as bsd3. Making so small patch and sending it will get to much time :)
> portnov | *so
> aavogt | I can change it, its more about whether you would allow the change to be made
> aavogt | but I guess this clears it up
> portnov | i allow.
> ]
> [Remove trailing whitespace from many modules
> Adam Vogt <vogt.adam@gmail.com>**20090705201205
> Ignore-this: 1e28ff0974578d329bd3d593c1a5125e
> ]
> [Clarify documentation the Migrate message added to L.SubLayouts
> Adam Vogt <vogt.adam@gmail.com>**20090705180014
> Ignore-this: 1d47165904048edfe28414ec5ce7f3e
> ]
> [Reduce a bit of recently introduced duplication in L.SubLayouts
> Adam Vogt <vogt.adam@gmail.com>**20090705175145
> Ignore-this: e87a5643938183eff156e08646cc71ac
> ]
> [Add Migrate message to L.SubLayouts, for better support of moving windows between groups
> Adam Vogt <vogt.adam@gmail.com>**20090705174934
> Ignore-this: d76b2f3e5999999a489b843b4dde59f1
> ]
> [L.SubLayouts: also run the layout being modified in a restricted environment
> Adam Vogt <vogt.adam@gmail.com>**20090705174156
> Ignore-this: 9defa5b6a59ed84a15f733bd979e1c45
>
> This way, correct behavior can be expected if the layout runs ex. 'withWindowset
> W.peek', instead of looking at its arguments.
> ]
> [L.SubLayouts fix bug where previously run layouts would not get messages
> Adam Vogt <vogt.adam@gmail.com>**20090705173504
> Ignore-this: 1d54ddb6596173f2fb6f30a648d7f3ba
> ]
> [Simplify A.WorkspaceCursors use of layout for state, add documentation
> Adam Vogt <vogt.adam@gmail.com>**20090705050629
> Ignore-this: 5a4cb6f165edd266a55e42ccedc8c0a7
> ]
> [Add A.WorkspaceCursors, a generalization of Plane to arbitrary dimensions
> Adam Vogt <vogt.adam@gmail.com>**20090702042609
> Ignore-this: 54225917a34aa0785a97c8153ff32ab9
>
> This is implemented as a layoutModifier, since that way the workspace
> arrangment is preserved between restarts.
> ]
> [Add ability to copy the entered string in X.Prompt
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090709100703
> Ignore-this: 4e8b98f281001d7540617d0ff6a3d4f3
> ]
> [Refactor A.OnScreen to use Maybe Monad
> Adam Vogt <vogt.adam@gmail.com>**20090703021507
> Ignore-this: d45331ad77662b356f12b3912ea3eac0
> ]
> [Added XMonad.Actions.OnScreen
> mail@n-sch.de**20090702101621
> Ignore-this: 605666aeba92e1d53f03a480506ddf2f
> ]
> [Remove code duplication in X.A.CopyWindow
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090702104933
> Ignore-this: cbbbe68690dbb4b814cd48fa32d4720
> ]
> [Cleanup code duplication in X.P.Layout and X.P.Workspace
> sean.escriva@gmail.com**20090701215640
> Ignore-this: 8675be8952f8d100c9042bdcdb962d3a
> ]
> [X.A.Search: use the new canonical package URL for hackage search
> Brent Yorgey <byorgey@cis.upenn.edu>**20090629192455]
> [X.H.ManageHelpers: add two new helper functions, doFloatDep and doFloatAt
> Brent Yorgey <byorgey@cis.upenn.edu>**20090605030113]
> [Keep track of whether messages should be given to new sublayouts in L.SubLayouts
> Adam Vogt <vogt.adam@gmail.com>**20090628060608
> Ignore-this: 647184c1b7f65c262c8cc15fdd0829d5
> ]
> [Run sublayouts in L.Sublayouts in a restricted state
> Adam Vogt <vogt.adam@gmail.com>**20090628060333
> Ignore-this: f2a236d3dc0374bbc1c19b864baa7c86
> ]
> [A.RandomBackground: Parameterize randomBg by a RandomColor data
> Adam Vogt <vogt.adam@gmail.com>**20090629004147
> Ignore-this: ba8042aa0f5d3221583aead9dced6cc
> ]
> [Add A.RandomBackground, actions to start terminals with a random -bg option
> Adam Vogt <vogt.adam@gmail.com>**20090627202755
> Ignore-this: a90c98bb14a2f917d8552cd2563aeb49
> ]
> [Replace most -fglasgow-exts with specific LANGUAGE pragmas
> Adam Vogt <vogt.adam@gmail.com>**20090626025457
> Ignore-this: 2274fdd689b0576a76d9f3373e9c7159
> ]
> [Column_layout.dpatch
> portnov84@rambler.ru**20090605184515
> Ignore-this: ea5ebf0d6e8ac5c044d9291b3c55479d
> This module defines layot named Column. It places all windows in one
> column. Windows heights are calculated from equation: H1/H2 = H2/H3 = ... = q,
> where `q' is given (thus, windows heights forms a geometric progression). With
> Shrink/Expand messages one can change the `q' value.
>
> ]
> [X.A.Search: add Google "I'm feeling lucky" search
> Brent Yorgey <byorgey@cis.upenn.edu>**20090625173751
> Ignore-this: 98bbdd4fbf12d7cd9fad6645653cb84b
> ]
> [Use -fwarn-tabs for test, remove tabs
> Adam Vogt <vogt.adam@gmail.com>**20090624043831
> Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465
> ]
> [Add ifWindow and ifWindows and simplify WindowGo
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090624231711
> Ignore-this: 4ed6e789034db8804accfe06a47ef4a2
>
> This patch adds ifWindow and ifWindows as helper functions to
> X.A.WindowGo and removes some boilerplate by rewriting other functions
> in terms of those. Also some minor simplifications.
> ]
> [From A.Topicspace split functions for storing strings with root to U.StringProp
> Adam Vogt <vogt.adam@gmail.com>**20090623052537
> Ignore-this: 543b172fbefa9feded94d792d01921c4
>
> These functions will be used to send strings for execution by command line, in
> xmonad-eval
> ]
> [Correct A.TopicSpace sample config
> Adam Vogt <vogt.adam@gmail.com>**20090623003937
> Ignore-this: 68a6fed2943eb9982e32815168b6f297
> ]
> [Add shiftNthLastFocused to A.TopicSpace
> Adam Vogt <vogt.adam@gmail.com>**20090623002645
> Ignore-this: 64f4fa63f4cc25f634f8fbc3276ef2a2
> ]
> [update callers of safeSpawn
> gwern0@gmail.com**20090622201423
> Ignore-this: 484eca17b9877f7d587fc5bce8c5ae8a
> ]
> [XMonad.Util.Run: improve definition so this can be used with emacs
> gwern0@gmail.com**20090622201401
> Ignore-this: 984788359376e3d2bab0d1e86ff1276f
> ]
> [XMonad.Actions.WindowGo: switch to safeSpawn, since everyone just passes a prog name (no shell scripting)
> gwern0@gmail.com**20090622193255
> Ignore-this: 5515c72649471fac1ffcf4b68e1e0cf9
> ]
> [XMonad.Util.Run: +convenience function for safeSpawn which drops args to the prog
> gwern0@gmail.com**20090622193018
> Ignore-this: fc48265f252e015ffdc1792c6c9eaa12
> ]
> [XMonad.Actions.WindowGo: improve haddocks
> gwern0@gmail.com**20090622192831
> Ignore-this: 28dc1d5b094d50eaf6148fa9cc2d3755
> ]
> [Generalize Actions.SpawnOn
> Daniel Schoepe <daniel.schoepe@gmail.com>**20090622183825
> Ignore-this: 8cfd0a4664ece5d721f52c59d4759a5f
>
> Actions.SpawnOn can now be used to execute arbitrary manage hooks on
> the windows spawned by a command(e.g. start a terminal of specific size
> or floated).
> ]
> [Fix window ordering bug in L.LimitWindows
> Adam Vogt <vogt.adam@gmail.com>**20090622004309
> Ignore-this: 7bcfffe335b765c081c18b103d9d450a
> ]
> [L.LimitWindows add usage information, functions to modify the limit
> Adam Vogt <vogt.adam@gmail.com>**20090622000115
> Ignore-this: 813473c5f42540ed0d575bb273f8652
> ]
> [Expand Tabbed documentation to describe mouse clicks processing
> Dmitry Astapov <dastapov@gmail.com>**20090621211947
> Ignore-this: 185a5dba1c1333aa4a2e778f34417c39
> ]
> [Close tabs by middle click on tab decoration
> Dmitry Astapov <dastapov@gmail.com>**20090621195225
> Ignore-this: e3fb5d78b766f63a20ab4db064d8285c
>
> I'd better do it in xmonad.hs, but I can't decide what to expose from
> Tabbed.hs to make it happed. Suggestions on how to make mouse click
> handling hook a part of the Tabbed creation interface are very welcome
> - my attempts turned out to be ugly in extreme.
> ]
> [Provide means to find original window by its decoration.
> Dmitry Astapov <dastapov@gmail.com>**20090621194652
> Ignore-this: fad8cb7fb4c2785b14b97d48f19604cc
>
> In order to enable user to write custom `decorationMouseFocusHook' and
> `decorationMouseDragHook' hooks we need to provide him with means to
> lookup original window by its decoration.
>
> Module Decoration has internal function `lookFor' for exactly the same
> purpose. I exported it under a slightly different name and without
> exposing internals of DecorationState.
> ]
> [Remove Hooks.EventHook
> Daniel Schoepe <asgaroth_@gmx.de>**20090618104318
> Ignore-this: 14c32fddc8b7b0561e97eb1d09e27fd7
>
> The Hooks.EventHook module is superseded by handleEventHook from core and should no longer be needed.
> ]
> [Add L.LimitWindows layout modifier
> Adam Vogt <vogt.adam@gmail.com>**20090619052731
> Ignore-this: e91c07885f0ab662f70e0ebd82fb7a5d
> ]
> [use 'take 1' instead of custom truncHead function in L.WindowNavigation
> Adam Vogt <vogt.adam@gmail.com>**20090618010118
> Ignore-this: ecbb2063337bb87108c12a3c3f8ceeba
> ]
> [Correct many typos in the documentation, consistent US spellingg
> Adam Vogt <vogt.adam@gmail.com>**20090618003729
> Ignore-this: cf6dcf340fa6cc010f7879f188d376f5
> ]
> [minor typo in ./XMonad/Layout/StackTile.hs
> Joachim Breitner <mail@joachim-breitner.de>**20090617210345
> Ignore-this: ddb5dff32e332cf378f2204e23335d43
> ]
> [X.L.ResizableTile: make sure windows aren't resized to a height larger than the screen (fixes #298)
> Brent Yorgey <byorgey@cis.upenn.edu>**20090604123509]
> [X.A.PhysicalScreens: fix typo
> Roman Cheplyaka <roma@ro-che.info>**20090602172148]
> [X.L.AutoMaster: fix warning
> Roman Cheplyaka <roma@ro-che.info>**20090602171754]
> [AutoMaster.dpatch
> Ilya Portnov <portnov84@rambler.ru>**20090426155401
> Ignore-this: e5cbb04882671d6fcc56f181f7d0d292
> Provides layout modifier AutoMaster. It separates screen in two parts -
> master and slave. Size of slave area automatically changes depending on
> number of slave windows.
> ]
> [UpdatePointer - Don't warp while dragging with mouse
> Anders Engstrom <ankaan@gmail.com>**20090530185752
> Ignore-this: 4c3769dc96041608660789573b670c23
> ]
> [FlexibleResize - Resize from edge, don't move adjust at opposite edge
> Anders Engstrom <ankaan@gmail.com>**20090530185437
> Ignore-this: 3c6c0748a4b0d14bd39bcb88f10aade6
>
> When resizing other corners than bottom-right, instead of adjusting to even columns/rows on the opposite side to it the same way as if resizing was made from the bottom right.
>
> Also add the possibility to add an area in the middle of an edge where only that edge is resized, not the closest corner.
>
> ]
> [Remove USE_UTF8 defines.
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090419130909
> They are not needed any more since utf8-string is mandatory dependence.
> ]
> [FloatSnap - calculate gaps instead of snapping against unmanaged windows
> Anders Engstrom <ankaan@gmail.com>**20090526222942
> Ignore-this: 4378f4c6c4f383c9a35acb503409d865
>
> This patch will remove snapping against unmanaged windows, but instead calculate a new rectangle with all gaps (computed by ManageDocks) removed. This new rectangle is used to snap against. (Both the inside and outside of the rectangle.)
>
> This will remedy the issue of snapping against multiple layers of the same window, additionally there will be no snap-points between windows on the same side. So if you are running two dzen side by side with half the screen each. You will not automatically have a snap-point in the middle.
>
> Naturally, this patch will change which function is exported from ManageDocks.
> ]
> [Fix L.Mosaic bug where stored [Rational] was not extended
> Adam Vogt <vogt.adam@gmail.com>**20090525030734
> Ignore-this: 55bb5b7fabc00f3dcc89e45cc416fc97
> ]
> [X.A.Search: add Wolfram|Alpha search
> Brent Yorgey <byorgey@cis.upenn.edu>**20090525010419]
> [Remove L.ThreeColumnsMiddle compatiblity module
> Adam Vogt <vogt.adam@gmail.com>**20090525003245
> Ignore-this: daac5841cf203c0e0df865a6fb0db3a1
>
> Signed off here too:
> http://www.haskell.org/pipermail/xmonad/2009-May/007883.html
> ]
> [A.FloatSnap snap to unmanaged docks too
> Adam Vogt <vogt.adam@gmail.com>**20090525001834
> Ignore-this: 46a856cae139d2e224ded985a9866ecf
> ]
> [LayoutBuilder fix maintainer
> Anders Engstrom <ankaan@gmail.com>**20090524205957
> Ignore-this: 380c279320cff67c60a9bbf9a49ec509
> ]
> [FloatSnap fix maintainer
> Anders Engstrom <ankaan@gmail.com>**20090524205854
> Ignore-this: d3932d211e9dc755be799d863b7d58e3
> ]
> [X.A.FloatSnap - More configuration for magic resize, adaption for mouse bindings and some minor fixes
> Anders Engstrom <ankaan@gmail.com>**20090524201143
> Ignore-this: d5fd9356e101b019735d54267a120ed
> ]
> [X.A.FloatSnap - Assisted move/resize of windows
> Anders Engstrom <ankaan@gmail.com>**20090523235230
> Ignore-this: 53af93bdf537cf3417cedd313e36bcbd
>
> TODO: Try to snap against unmanaged windows such as dzen/xmobar.
>
> ]
> [Simplyify L.Mosaic interface, and support resizing specific windows
> Adam Vogt <vogt.adam@gmail.com>**20090524193810
> Ignore-this: acea22bec582ee5eb076ac3bc862a9ea
>
> The order previously was not as documented, which prevented resizing specific
> windows.
>
> The Mosaic constructor is hidden in favour of mosaic :: Rational -> [Rational] -> Mosaic a
>
> Expand and Shrink messages are added, requiring another argument.
>
> Remove useless demonstration of SlopeMod message since resizing the focused
> window is better.
> ]
> [L.ResizableTile document ResizableTall parameters with records
> Adam Vogt <vogt.adam@gmail.com>**20090519024258
> Ignore-this: a29502bc1302f18b9ae0062105a0e109
> ]
> [L.LayoutHints, add layoutHintsToCentre
> Adam Vogt <vogt.adam@gmail.com>**20090519013806
> Ignore-this: a49106d5abb683d805e59beb29c727a9
>
> layoutHintsToCentre attempts to apply hints in a way that eliminates gaps
> between windows. The excess space ends up on all edges.
> ]
> [Remove excess whitespace from L.LayoutHints
> Adam Vogt <vogt.adam@gmail.com>**20090519013350
> Ignore-this: b4bb5b6aeba95be047a102d07d916c48
> ]
> [new layout module X.L.Spacing, put blank space around each window
> Brent Yorgey <byorgey@cis.upenn.edu>**20090514215552]
> [X.L.LayoutBuilder doc fix and cleaning
> Anders Engstrom <ankaan@gmail.com>**20090509195254
> Ignore-this: 7cbf72ba48a2222b65615a02125d87ef
> ]
> [X.L.LayoutBuilder custom layouts
> Anders Engstrom <ankaan@gmail.com>**20090509174627
> Ignore-this: 65c251663f02a083c5838ae1d1bd112a
>
> A layout combinator that sends a specified number of windows to one rectangle and the rest to another.
> ]
> [submapDefault fix key leakage
> Anders Engstrom <ankaan@gmail.com>**20090426171002
> Ignore-this: edb0a2a03b2ed2959cb7068ae601fa28
> ]
> [Fix typo in L.Mosaic hints
> Adam Vogt <vogt.adam@gmail.com>**20090508202937
> Ignore-this: 5f2163e64d876f4982b0d6baf13e0614
> ]
> [U.Loggers: add maildirNew, other loggers, and logger formatting utilities
> wirtwolff@gmail.com**20090412041356
> Ignore-this: 73240ab34348ad895c3d66c2a2e8e40f
> Rework of the Logger portions of patches originally from seanmce33@gmail.com
> to apply without conflicts, plus several formatting utilities for use with
> X (Maybe String) aka Loggers.
> ]
> [ThreeCol - Update docs to match reality
> Anders Engstrom <ankaan@gmail.com>**20090503190755
> Ignore-this: e63f3ee533dd9bcf0f32da2316dde1dd
> ]
> [Remove some excess whitespace in XMonad.AppLauncher
> Adam Vogt <vogt.adam@gmail.com>**20090503183416
> Ignore-this: b5bfa9625b5b080c20398cf1aa396a08
> ]
> [Export ThreeColMid from L.ThreeColumnsMiddle
> Adam Vogt <vogt.adam@gmail.com>**20090425161710
> Ignore-this: f08d23d108ae9aa4ad176fd9dd275409
>
> The configs that import it should continue to work with this module, though the
> type of the ThreeColMid constructor is now ThreeCol (previously ThreeColMid).
> ]
> [ThreeColumns support middle column, with more backwards compatiblity
> Adam Vogt <vogt.adam@gmail.com>**20090414061819
> Ignore-this: 5a8991269904986e0e012e955c6d4712
> ]
> [X.L.ThreeColumnsMiddle merged into X.L.ThreeColumns with some new features
> Anders Engstrom <ankaan@gmail.com>**20090411113636
> Ignore-this: 1d5bb8de98f8ade3780444ed99f5a12f
> ]
> [nameTail - Remove the first word of a layout description
> Anders Engstrom <ankaan@gmail.com>**20090503105950
> Ignore-this: a44c5e38163ed98ffc244cdd206632d1
> ]
> [Add H.InsertPosition: add new windows to different positions in a workspace
> Adam Vogt <vogt.adam@gmail.com>**20090503020303
> Ignore-this: 7e7d5fa5b42698799cabe600159a75f7
> ]
> [Add changeMaster function to L.Mosaic
> Adam Vogt <vogt.adam@gmail.com>**20090501233136
> Ignore-this: eca2a48fb987bb871ad93e6c6bf1a186
> ]
> [Optimizer bug does not affect 6.10.2 (issue 226)
> Adam Vogt <vogt.adam@gmail.com>**20090430034823
> Ignore-this: f43f9bf9502ebb19743c3b417ef02347
> ]
> [Remove -XScopedTypeVariables requirement with L.SubLayouts
> Adam Vogt <vogt.adam@gmail.com>**20090428222749
> Ignore-this: dbb08e3c1641796603fdaf7b929cdf6d
>
> This should keep the code -Wall clean on ghc-6.8 in addition to ghc-6.10
> ]
> [Add SubLayouts: a layout combinator for nesting layouts.
> Adam Vogt <vogt.adam@gmail.com>**20090423013135
> Ignore-this: abb21b19bfbc567953419b3035b6a295
> ]
> [Document and extend BoringWindows to support multiple sources of boring.
> Adam Vogt <vogt.adam@gmail.com>**20090406041301
> Ignore-this: 7375c8912ede6a6a44db4a4b91ffbc33
>
> The Replace and Merge messages are added to support layouts sending a list of
> windows that should be skipped over. The sources are tagged by a string key, so
> it is possible though unlikely for different sources of boring windows to
> interfere with eachother.
> ]
> [Add Apply message to L.WindowNavigation
> Adam Vogt <vogt.adam@gmail.com>**20090303065701
> Ignore-this: e808729ddd2375778a96775568b8b621
> ]
> [X.A.TopicSpace: remove the allTopics lists from the configuration.
> Nicolas Pouillard <nicolas.pouillard@gmail.com>**20090423172939
> Ignore-this: 1ac344b32865b38e53b968cc037b0a01
> ]
> [added colour themes
> perlkat@katspace.org**20090227065315
> These themes are colour themes only; they use the default font settings.
> I thought the existing themes were rather dull, so these give more bright
> (but tasteful) colours; shades of peacock feathers, shades of autumn.
> ]
> [Prompt.hs: setSuccess True also on Keypad Enter
> sean.escriva@gmail.com**20090409162609
> Ignore-this: cf04f87c546f89bd32a94de3a2a93b22
> ]
> [Update focus on mouse moves within inactive windows
> Daniel Schoepe <asgaroth_@gmx.de>**20090407191819
> Ignore-this: 36c05c60420520dab708401d8a80fc85
>
> This patch adds functionality to update the focus on moves in unfocused windows, which would make sense if one wanted the focus to follow the mouse.
> Currently this only happens when the mouse enters/leaves a window.
> This patch should fix issue #205.
> ]
> [Add promoteWarp event to L.MagicFocus
> Adam Vogt <vogt.adam@gmail.com>**20090322221456
> Ignore-this: 12ad5fc144a35fb605f53b744d8146ef
>
> This event enables A.UpdatePointer behavior without causing infinite loops in
> combination with magicFocus
> ]
> [Add TowardsCentre option to UpdatePointer
> Adam Vogt <vogt.adam@gmail.com>**20090322215811
> Ignore-this: d543d8f090b03a6c26b3a0427be3a051
>
> This option is like Nearest, but it places the pointer a configurable
> percentage towards the centre of the window, instead of right at the edge.
> ]
> [Remove excess whitespace in A.UpdatePointer
> Adam Vogt <vogt.adam@gmail.com>**20090322215553
> Ignore-this: 6fbc63642b946461e0fafcb44016824
> ]
> [Combo fix ReleaseResources when no windows are available, new fix
> Anders Engstrom <ankaan@gmail.com>**20090224172018
> Ignore-this: b59603df8e4cfc1fb2cf9070cea615b3
> ]
> [OneBig_resize.dpatch
> portnov84@rambler.ru**20090221142300
> Ignore-this: c02b25bd370ee449aab28005eb4418cf
> Add Shrink/Expand messages handling for OneBig layout.
> ]
> [OneBig_layout.dpatch
> portnov84@rambler.ru**20090220172634
> Ignore-this: 9d4f308d13f003aa4236417307a66c15
> Add the OneBig layout, which places one (master) window at top left corner of
> screen (width and height of master window are parameters of layout), and other
> (slave) windows at bottom and at right of master, trying to give equal space
> for each slave window.
> ]
> [Properly encode destop names before sending them to X server in XMonad.Hooks.EwmhDesktops
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090220184137
> Ignore-this: 6a22ea8bdc49f8484e18f04aaeb545ae
> ]
> [Make utf8-string regular dependency
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090220183318
> Ignore-this: b38936b037c1172ec69905fa345f7afe
>
> The reason for this is that EWMH specification require
> utf8 encoded strings.
> ]
> [Update haddock description for Actions.GridSelect
> Daniel Schoepe <asgaroth_@gmx.de>**20090422172510
> Ignore-this: db5a2c009f7e88647f168ccb225d6219
> ]
> [X.H.DynamicLog: provides trim, inverse of pad
> sean.escriva@gmail.com**20090409163513
> Ignore-this: 9d92ff592f2bc4f041b85d1314058fdc
> ]
> [Mouse support for GridSelect
> Daniel Schoepe <asgaroth_@gmx.de>**20090409223302
> Ignore-this: 38669e39c8676233d71f457c0b697500
>
> GridSelect now allows selecting an element by a click with the left mouse button.
> ]
> [Generalize GridSelect to arbitrary elements
> Daniel Schoepe <asgaroth_@gmx.de>**20090409155704
> Ignore-this: 69fbce85232871482adcce06c1a5fe62
>
> This patch generalizes Actions.GridSelect to work for arbitrary (String,a)-lists. The changes break configurations that used `gridSelect' directly, which is now named gridSelectWindow. As an example for uses of the GridSelect-UI, I included a function to spawn an application from a list of commands(`spawnSelected').
> ]
> [Improve composability of X.H.Place, drop simple(st)Float support
> quentin.moser@unifr.ch**20090415184550
> Ignore-this: 8a0fb64aa0db27b242b7ad4bcba1a3ca
> ]
> [Fixed X.H.Place.position
> quentin.moser@unifr.ch**20090409084946
> Ignore-this: 29e3936800194916a859976ff126dbfe
> ]
> [Module for automatic placement of floating windows
> quentin.moser@unifr.ch**20090408080953
> Ignore-this: 1874df995fc02a0b80051db39d91a2e1
> ]
> [X.H.FloatNext: new module, float the next spawned window(s)
> quentin.moser@unifr.ch**20090415181907
> Ignore-this: 95e1c9daa3ca43bfb058f6a881a97f3a
> ]
> [ComboP
> konstantin.sobolev@gmail.com**20090415014327
> Ignore-this: 73bb986165a7bba466aae789a5448170
> ]
> [New module: XMonad.Actions.TopicSpace
> Nicolas Pouillard <nicolas.pouillard@gmail.com>**20090419085239
> Ignore-this: 4c20592ea6ca74f38545c5a1a002ef91
> ]
> [NamedScratchpad
> konstantin.sobolev@gmail.com**20090419045542
> Ignore-this: b442cb08123d2413e0bb144a73bf3f57
> ]
> [More configurability for Layout.NoBorders (typeclass method)
> Adam Vogt <vogt.adam@gmail.com>**20090325050206
> Ignore-this: 91fe0bc6217b910b7348ff497b922e11
>
> This method uses a typeclass to pass a function to the layoutmodifier. It is
> flexible, but a bit indirect and perhaps the flexibility is not required.
> ]
> [Add XMonad.Actions.PhysicalScreens
> nelhage@mit.edu**20090321001320
>
> Add an XMonad.Actions.PhysicalScreens contrib module that allows
> addressing of screens by physical ordering, rather than the arbitrary
> ScreenID.
> ]
> [pointWithin has moved to the core
> Joachim Breitner <mail@joachim-breitner.de>**20081008154245]
> [UpdatePointer even to empty workspaces
> Joachim Breitner <mail@joachim-breitner.de>**20081007080041
> This makes UpdatePointer more Xinerama-compatible: If the user switches to a
> screen with an empty workspace, the pointer is moved to that workspace, which I
> think is expected behavoiur.
> ]
> [More predictable aspect ratio in GridVariants.Grid
> Norbert Zeh <nzeh@cs.dal.ca>**20090311013617
>
> The old version fairly arbitrarily decided to prefer windows that are too
> high over those that are too wide. The new version chooses the number of
> columns so that all windows on the screen are as close as possible to the
> desired aspect ratio. As a side effect, the layout changes much more
> predictably under addition and removal of clients.
> ]
> [X.L.Master: fix number of windows
> Ismael Carnales <icarnales@gmail.com>**20090301051509
> Ignore-this: 2af132159450d4fb72eb52024eda71b5
> ]
> [U.EZConfig: add xK_Print <Print> to special keys
> wirtwolff@gmail.com**20090302230741
> Ignore-this: 9560b7c7c4424edb5cea6eec45e2b41d
> Many setups are expecting xK_Print rather than
> xK_Sys_Req, so make it available in additionalKeysP.
> ]
> [More flexibility for H.FadeInactive
> Daniel Schoepe <asgaroth_@gmx.de>**20090309160020
> Ignore-this: ebfa2eadb439763276b372107cdf8d6c
> ]
> [Prompt.Shell: escape ampersand
> Valery V. Vorotyntsev <valery.vv@gmail.com>**20090312091314
> Ignore-this: 7200b76af8109bab794157da46cb0030
>
> Ampersand (&) is a special character and should be escaped.
> ]
> [Cleanup X.L.Mosaic, without breaking it
> Adam Vogt <vogt.adam@gmail.com>**20090219022417
> Ignore-this: d49ed55fe8dc2204256dff9252384745
> ]
> [X.L.Mosaic: prevent users from causing non-termination with negative elements
> Adam Vogt <vogt.adam@gmail.com>**20090210022727
> Ignore-this: 370a7d6249906f1743c6692758ce5aeb
> ]
> [better Layout.NoBorders.smartBorders behavior on xinerama
> Adam Vogt <vogt.adam@gmail.com>**20090314170058
> Ignore-this: 36737ce2fa2087c4a16ddf226d3b0f0a
>
> Now smartBorders shows borders when you have multiple screens with one window
> each. In the case where only one window is visible, no borders are drawn.
> ]
> [H.DynamicLog: revised dzenStrip and xmobarStrip functions
> wirtwolff@gmail.com**20090314041517
> Ignore-this: 9897c60b8dfc59344939b7aebc370953
> Reconcile darcswatch patch with pushed version of dzenStrip.
> ]
> [X.H.DynamicLog: Add dzenStrip to remove formatting, for use in dzenPP's ppUrgent.
> Braden Shepherdson <Braden.Shepherdson@gmail.com>**20090314032818
> Ignore-this: fd96a1a4b112d0f71589b639b83ec3e
> This function was written by Wirt Wolff. This change should allow UrgencyHook
> to work out of the box with dzen and dzenPP, rather than the colours being
> overridden so even though UrgencyHook is working, it doesn't change colours.
> ]
> [X.H.ManageHelpers: export isInProperty
> Roman Cheplyaka <roma@ro-che.info>**20090308201112]
> [L.Cross: clarify documentation
> wirtwolff@gmail.com**20090222042220
> Ignore-this: 4a5dcf71e63d045f27e2340e1def5cc8
> Amend-record earlier patch to work with byorgey's fix,
> this one is just the documentation typo fixes and
> clarifications.
> ]
> [documentation for IndependentScreens
> daniel@wagner-home.com**20090221235959]
> [eliminate a haddock warning in BoringWindows
> daniel@wagner-home.com**20090221235836]
> [merge IndependentScreens
> daniel@wagner-home.com**20090221232142]
> [add IndependentScreens to xmonad-contrib.cabal
> daniel@wagner-home.com**20090221231632]
> [add type information for IndependentScreens
> daniel@wagner-home.com**20090221231525]
> [add some boilerplate comments at the top of IndependentScreens
> Brent Yorgey <byorgey@cis.upenn.edu>**20090221230850]
> [IndependentScreens, v0.0
> daniel@wagner-home.com**20090221225229]
> [U.Run: remove waitForProcess to close Issue 268
> wirtwolff@gmail.com**20090220214153
> Ignore-this: a6780565fde40a4aac9023cc55fc2273
> http://code.google.com/p/xmonad/issues/detail?id=268
> Submitting with some trepidation, since I've nearly no
> understanding of process handling. Should be ok, no
> warnings by sjanssen when asking about it in hpaste or
> earlier email, and tested locally by spawning excessive
> numbers of dzens: did not leave zombies or raise exceptions.
> ]
> [change Cross data declaration into a record so that Haddock will parse the per-argument comments
> Brent Yorgey <byorgey@cis.upenn.edu>**20090221224742]
> [X.L.Master: turn it to a Layout modifier and update the code
> Ismael Carnales <icarnales@gmail.com>**20090213020453
> Ignore-this: 69513ad2b60dc4aeb49d64ca30e6f9f8
> ]
> [Use doShift in my config
> Spencer Janssen <spencerjanssen@gmail.com>**20090219042040
> Ignore-this: 1f103d21bbceec8d48384f975f18eaec
> ]
> [SpawnOn: use doShift. This resolves problems where SpawnOn would shift the wrong window
> Spencer Janssen <spencerjanssen@gmail.com>**20090219041856
> Ignore-this: 6ae639a638db8eff77203f3f2e481a4e
> ]
> [SpawnOn: delete seen pids
> Spencer Janssen <spencerjanssen@gmail.com>**20090213013011
> Ignore-this: 8b15a60bba1edf1bab5fb77ac54eb12f
> ]
> [X.U.Loggers: handle possible EOF (reported by dyfrgi)
> Roman Cheplyaka <roma@ro-che.info>**20090216213842]
> [U.Scratchpad: add general spawn action to close issue 249
> wirtwolff@gmail.com**20090214003642
> Ignore-this: 925ad9db4ecc934dcd86320f383ed44a
> Adds scratchpadSpawnActionCustom where user specifies how to set
> resource to "scratchpad". This allows use of gnome-terminal, etc.
> Add detail to RationalRectangle documentation; strip trailing spaces.
> ]
> [SpawnOn: add 'exec' to shell strings where possible
> Spencer Janssen <spencerjanssen@gmail.com>**20090212234608
> Ignore-this: c7de4e05803d60b10f38004dcbda4732
> ]
> [Add Cross Layout
> 'Luis Cabellos <zhen.sydow@gmail.com>'**20090209174802]
> [Fix an undefined in EwmhDesktops
> Daniel Schoepe <asgaroth_@gmx.de>**20090209152308
> Ignore-this: f60a43d7ba90164ebcf700090dfb2480
> ]
> [X.U.WindowProperties: docs (description and sections)
> Roman Cheplyaka <roma@ro-che.info>**20090208231422]
> [X.U.WindowProperties: Add getProp32 and getProp32s, helpers to get properties from windows
> Ismael Carnales <icarnales@gmail.com>**20090205013031
> Ignore-this: c5481fd5d97b15ca049e2da2605f65c1
> ]
> [cleanup and make X.L.Mosaic behavior more intuitive wrt. areas
> Adam Vogt <vogt.adam@gmail.com>**20090208221629
> Ignore-this: 3c3c6faa203cbb1c1db909e5bf018b6f
> ]
> [minor typo in XMonad/Util/EZConfig.hs
> Joachim Breitner <mail@joachim-breitner.de>**20090208192224
> Ignore-this: 7ffee60858785c3e31fdd5383c9bb784
> ]
> [Multimedia keys support for EZConfig
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090207173330
> Ignore-this: 21183dd7c192682daa18e3768828f88d
> ]
> [+A.CycleWindows: bindings to cycle windows in new ways
> wirtwolff@gmail.com**20090207170622
> Ignore-this: 51634299addf224cbbc421adb4b048f5
> Provides binding actions and customizable pure stack operations
> to cycle through a list of permutations of the stack (recent),
> cycle nth into focus, cycle through focus excluding a neighbor,
> cycle unfocused, shift a window halfway around the stack.
> Esp. for Full, two or three pane layouts, but useful for any
> layout with many windows.
> ]
> [XMonad.Actions.CopyWindow: fmt & qualify stackset import
> gwern0@gmail.com**20090206171833
> Ignore-this: 4d08f5a7627020b188f59fc637b53ae8
> ]
> [XMonad.Actions.CopyWindow runOrCopy
> lan3ny@gmail.com**20080602205742]
> [ManageHelpers: reduce duplicated code in predicates
> Ismael Carnales <icarnales@gmail.com>**20090204021847
> Ignore-this: e28a912d4f897eba68ab3edfddf9f26b
> ]
> [Remove X.U.SpawnOnWorkspace (superseded by X.A.SpawnOn)
> Roman Cheplyaka <roma@ro-che.info>**20090204103635]
> [X.A.SpawnOn: add docs
> Roman Cheplyaka <roma@ro-che.info>**20090204102424
> Add more documentation, including documentation from
> X.U.SpawnOnWorkspace by Daniel Schoepe.
> ]
> [Remove silliness from XMonad.Doc.Configuring
> Spencer Janssen <spencerjanssen@gmail.com>**20090204055626]
> [Adjustments to use the new event hook feature instead of Hooks.EventHook
> Daniel Schoepe <asgaroth_@gmx.de>**20090203160046
> Ignore-this: f8c239bc8e301cbd6fa509ef748af542
> ]
> [Easier Colorizers for X.A.GridSelect
> quentin.moser@unifr.ch**20090128001702
> Ignore-this: df3e0423824e40537ffdb4bc7363655d
> ]
> [X.A.SpawOn: fix usage doc
> Roman Cheplyaka <roma@ro-che.info>**20090202102042]
> [Added GridVariants.SplitGrid
> Norbert Zeh <nzeh@cs.dal.ca>**20090129152146
>
> GridVariants.TallGrid behaved weird when transformed using Mirror
> or Reflect. The new layout SplitGrid does away with the need for
> such transformations by taking a parameter to specify horizontal
> or vertical splits.
> ]
> [FixedColumn: added missing nmaster to the usage doc
> Ismael Carnales <icarnales@gmail.com>**20090130195239
> Ignore-this: 642aa0bc9e68e7518acc8af30324b97a
> ]
> [XMonad.Actions.Search: fix whitespace & tabs
> gwern0@gmail.com**20090129025246
> Ignore-this: 894e479ccc46160848c4d70c2361c929
> ]
> [xmonad-action-search-intelligent-searchengines
> Michal Trybus <komar007@gmail.com>**20090128101938
> Changed the XMonad.Action.Search to use a function instead of String to prepare the search URL.Added a few useful functions used to connect many search engines together and do intelligent prefixed searches (more doc in haddock)The API has not changed with the only exception of search function, which now accepts a function instead of String.
> ]
> [XMonad.Prompt autocompletion fix
> quentin.moser@unifr.ch**20090127184145
> Ignore-this: 635cbf6420722a4edef1ae9c40b36e1b
> ]
> [X.A.SinkAll: re-add accidentally deleted usage documentation
> Brent Yorgey <byorgey@cis.upenn.edu>**20090127222533]
> [move XMonad.Actions.SinkAll functionality to more general XMonad.Actions.WithAll, and re-export sinkAll from X.A.SinkAll for backwards compatibility
> Brent Yorgey <byorgey@cis.upenn.edu>**20090127222355]
> [adds generic 'all windows on current workspace' functionality
> loupgaroublond@gmail.com**20081221224850]
> [placement patch to XMonad.Layout.LayoutHints
> quentin.moser@unifr.ch**20090126195950
> Ignore-this: 87a5efa9c841d378a808b1a4309f18
> ]
> [XMonad.Actions.MessageFeedback module
> quentin.moser@unifr.ch**20090126181059
> Ignore-this: 82e58357a44f98c35ccf6ad0ef98b552
> ]
> [submapDefault
> Anders Engstrom <ankaan@gmail.com>**20090118152933
> Ignore-this: c8958d47eb584a7de04a81eb087f05d1
> Add support for a default action to take when the entered key does not match any entry.
> ]
> [X.A.CycleWS: convert tabs to spaces (closes #266)
> Roman Cheplyaka <roma@ro-che.info>**20090127185604]
> [Mosaic picks the middle aspect layout, unless overriden
> Adam Vogt <vogt.adam@gmail.com>**20090126032421
> Ignore-this: aaa31da14720bffd478db0029563aea5
> ]
> [Mosaic: stop preventing access to the widest layouts
> Adam Vogt <vogt.adam@gmail.com>**20090125045256
> Ignore-this: c792060fe2eaf532f433cfa8eb1e8fe3
> ]
> [X.L.Mosaic add documentation, update interface and aspect ratio behavior
> Adam Vogt <vogt.adam@gmail.com>**20090125041229
> Ignore-this: e78027707fc844b3307ea87f28efed73
> ]
> [Use currentTag, thanks asgaroth
> Spencer Janssen <spencerjanssen@gmail.com>**20090125213331
> Ignore-this: dd1a3d96038de6479eca3b9798d38437
> ]
> [Support for spawning most applications on a specific workspace
> Daniel Schoepe <asgaroth_@gmx.de>**20090125191045
> Ignore-this: 26076d54b131e037b42c87e4fde63200
> ]
> [X.L.Mosaic: haddock fix
> Roman Cheplyaka <roma@ro-che.info>**20090124235908]
> [A mosaic layout based on MosaicAlt
> Adam Vogt <vogt.adam@gmail.com>**20090124022058
> Ignore-this: 92bad7498f1ac402012e3eba6cbb2693
>
> The position of a window in the stack determines its position and layout. And
> the overall tendency to make wide or tall windows can be changed, though not
> all of the options presented by MosaicAlt can be reached, the layout changes
> with each aspect ratio message.
>
> ]
> [uninstallSignalHandlers in spawnPipe
> Spencer Janssen <spencerjanssen@gmail.com>**20090122002745
> Ignore-this: e8cfe0f18f278c95d492628da8326fd7
> ]
> [Create a new session for spawnPiped processes
> Spencer Janssen <spencerjanssen@gmail.com>**20090122000441
> Ignore-this: 37529c5fe8b4bf1b97fffb043bb3dfb0
> ]
> [TAG 0.8.1
> Spencer Janssen <spencerjanssen@gmail.com>**20090118220647]
> [Use spawnOn in my config
> Spencer Janssen <spencerjanssen@gmail.com>**20090117041026
> Ignore-this: 3f92e4bbe4f2874b86a6c7ad66a31bbb
> ]
> [Add XMonad.Actions.SpawnOn
> Spencer Janssen <spencerjanssen@gmail.com>**20090117040432
> Ignore-this: 63869d1ab11f2ed5aab1690763065800
> ]
> [Bump version to 0.8.1
> Spencer Janssen <spencerjanssen@gmail.com>**20090116223607
> Ignore-this: 1c201e87080e4404f51cadc108b228a1
> ]
> [Compile without optimizations on x86_64 and GHC 6.10
> Spencer Janssen <spencerjanssen@gmail.com>**20090108231650
> Ignore-this: a803235b8022793f648e8953d9f05e0c
> This is a workaround for http://xmonad.org/bugs/226
> ]
> [Update all uses of doubleFork/waitForProcess
> Spencer Janssen <spencerjanssen@gmail.com>**20090116210315
> Ignore-this: 4e15b7f3fd6af3b7317449608f5246b0
> ]
> [Update to my config
> Spencer Janssen <spencerjanssen@gmail.com>**20090116204553
> Ignore-this: 81017fa5b99855fc8ed1fe8892929f53
> ]
> [Adjustments to new userCode function
> Daniel Schoepe <asgaroth_@gmx.de>**20090110221310]
> [X.U.EZConfig: expand documentation
> Brent Yorgey <byorgey@cis.upenn.edu>**20090116153143]
> [add a bit of documentation to HintedTile
> Brent Yorgey <byorgey@cis.upenn.edu>**20090114065126]
> [ManageHelpers: add isDialog
> johanngiwer@web.de**20090108232505]
> [CenteredMaster
> portnov84@rambler.ru**20090111134513
>
> centerMaster layout modifier places master window at top of other, at center of screen. Other windows are managed by base layout.
> topRightMaster is similar, but places master window at top right corner.
> ]
> [XMonad.Util.XSelection: update maintainer information
> gwern0@gmail.com**20090110213000
> Ignore-this: 1592ba07f2ed5d2258c215c2d175190a
> ]
> [X.U.XSelection: get rid of warning about missing newline, add Haddock link
> Brent Yorgey <byorgey@cis.upenn.edu>**20090102194357]
> [adds haddock documentation for transformPromptSelection
> loupgaroublond@gmail.com**20090102190954
>
> also renames the function per mailing list recommendation
> ]
> [adds a weird function to XSelection
> loupgaroublond@gmail.com**20081222020730
>
> This enables you to pass a function of (String -> String) to a selection function to modify the string before executing it. This way, you can input your own escape routines to make it shell command line safe, and/or do other fancier things.
> ]
> [ThreeColumnsMiddle
> xmonad@c-otto.de**20090102091019]
> [fix-fromJust-errors
> rupa@lrrr.us**20081224045509
>
> bogner wrote all this stuff and i just tested it.
>
> I had:
>
> myLogHook = ewmhDesktopLogHookCustom ScratchpadFilterOutWorkspace >> updatePointer Nearest
>
> Everytime I invoked or hid Scratchpad, it would leave a 'Maybe.fromJust: Nothing' line in .xsession-errors, and updatePointer would stop working.
>
> ]
> [ Prompt: Change Filemode to 600 for history-file (fixes bug 244)
> Dominik Bruhn <dominik@dbruhn.de>**20081218001601]
> [X.L.Monitor: changes in message passing
> Roman Cheplyaka <roma@ro-che.info>**20081226220851
> - transform mbName (Maybe String) to name (String)
> - slghtly change semantics of messages, document it
> ]
> [X.L.Monitor: change interface
> Roman Cheplyaka <roma@ro-che.info>**20081226213118
> - remove add*Monitor
> - add manageMonitor, monitor template
> ]
> [X.U.WindowProperties: propertyToQuery+docs
> Roman Cheplyaka <roma@ro-che.info>**20081225080702]
> [X.L.Monitor: docs
> Roman Cheplyaka <roma@ro-che.info>**20081225073904]
> [hlintify XUtils, XSelection, Search, WindowGo
> gwern0@gmail.com**20081220153302
> Ignore-this: 7e877484e3cd8954b74232ea83180fa9
> ]
> [fix focus issue for XMonad.Actions.Warp.banishScreen
> Norbert Zeh <nzeh@cs.dal.ca>**20081212203532
>
> This patch ensures that the focus (or in fact the whose windowset)
> does not change as a result of a banishScreen. The way this is implemented
> will become problematic if xmonad ever goes multithreaded.
> ]
> [addition of XMonad.Actions.Warp.banishScreen
> Norbert Zeh <nzeh@cs.dal.ca>**20081212192621
>
> This works on top of warpToScreen and, thus, suffers from the same issue:
> focus change.
> ]
> [fixed documentation for banish
> Norbert Zeh <nzeh@cs.dal.ca>**20081212191819
>
> banish actually warps to the specified corner of the current window, not
> the screen.
> ]
> [addition of combined TallGrid layout
> Norbert Zeh <nzeh@cs.dal.ca>**20081212184836
>
> Added a module XMonad.Layouts.GridVariants, which defines layouts
> Grid and TallGrid. The former is a customizable version of Grid. The latter
> is a combination of Grid and Tall (see doc of the module).
> ]
> [Add FixedColumn, a layout like Tall but based on the resize hints of windows
> Justin Bogner <mail@justinbogner.com>**20081213073054]
> [XMonad.Actions.WindowGo: fix a floating-related focus bug
> gwern0@gmail.com**20081205150755
> Ignore-this: c8b6625aa2bd4136937acbd2ad64ffd3
> If a floating window was focused, a cross-workspace 'raise' would cause a loop of
> shifting windows. Apparently the problem was 'focus' and its mouse-handling. Spencer
> suggested that the calls to focus be replaced with 'focusWindow', which resolved it.
> ]
> [Prompt.hs: +greenXPConfig and amberXPConfig
> gwern0@gmail.com**20081119213122
> Ignore-this: 95ac7dbe9c8fe3618135966f251f4fc6
> ]
> [Prompt.hs: increase font size to 12 from niggardly 10
> gwern0@gmail.com**20081119212523
> Ignore-this: 74a6e1ac5e1774da4ffc7c6667c034c
> ]
> [Prompt.hs: replace magic numbers with understandable names
> gwern0@gmail.com**20081119212502
> Ignore-this: 8401c0213be9a32c925e1bd0ba5e01f1
> ]
> [X.L.Monitor: recommend doHideIgnore (docs)
> Roman Cheplyaka <roma@ro-che.info>**20081215190710]
> [X.L.Monitor: docs
> Roman Cheplyaka <roma@ro-che.info>**20081215184423]
> [X.L.Monitor: export Monitor datatype
> Roman Cheplyaka <roma@ro-che.info>**20081215184318]
> [X.H.ManageHelpers: add doHideIgnore
> Roman Cheplyaka <roma@ro-che.info>**20081215182758]
> [Add KDE 4 config, thanks to Shirakawasuna on IRC
> Spencer Janssen <spencerjanssen@gmail.com>**20081211071141
> Ignore-this: 51698961ab5b6e569c294d174f2804a9
> ]
> [I use the deleteConsecutive history filter
> Spencer Janssen <spencerjanssen@gmail.com>**20081025070438]
> [Remove XMonad.Config.PlainConfig, it has been turned into the separate xmonad-light project.
> Braden Shepherdson <Braden.Shepherdson@gmail.com>**20081203161534]
> [XMonad.Prompt: swap up and down per bug #243
> gwern0@gmail.com**20081203013323
> Ignore-this: 8ab0481a0da7a983f501ac2fec4a68e8
> ]
> [Fix boolean operator precedence in GridSelect keybindings
> Aleksandar Dimitrov <aleks.dimitrov@googlemail.com>**20081201120928
> The vim-like hjkl keys were ORed to the key event AND arrow keys.
> ]
> [GridSelect.hs: navigate grid with h,j,k,l as well as arrow keys
> sean.escriva@gmail.com**20081122084725]
> [Export setOpacity from FadeInactive. Document how to make monitor transparent (X.L.Monitor)
> Roman Cheplyaka <roma@ro-che.info>**20081117153027]
> [Monitor: use broadcastMessage instead of sendMessage; this solves several issues
> Roman Cheplyaka <roma@ro-che.info>**20081117133957]
> [FadeInactive: fade all inactive windows (including focused windows on visible screens)
> Roman Cheplyaka <roma@ro-che.info>**20081117130115]
> [Monitor: documented one more issue
> Roman Cheplyaka <roma@ro-che.info>**20081117113807]
> [Monitor: improved the docs
> Roman Cheplyaka <roma@ro-che.info>**20081117073709]
> [added XMonad.Layout.Monitor
> Roman Cheplyaka <roma@ro-che.info>**20081115104735]
> [WindowProperties: added allWithProperty
> Roman Cheplyaka <roma@ro-che.info>**20081115104525]
> [ManageHelpers: added doSideFloat (generalization of doCenterFloat)
> Roman Cheplyaka <roma@ro-che.info>**20081114113015]
> [GridSelect: Export default_colorizer
> Dominik Bruhn <dominik@dbruhn.de>**20081112140005]
> [Simplify code for restriction-calculation and remove compiletime warnings
> Dominik Bruhn <dominik@dbruhn.de>**20081112134630]
> [Simplify handle/eventLoop, introduce findInWindowMap, partial updates for key movements (less flickering)
> Clemens Fruhwirth <clemens@endorphin.org>**20081111100405
>
> * handle/eventLoop carried the display and the drawing window as
> parameters. The display is available from the embedded X monad, the
> drawing windows was added.
>
> * updateWindows now takes a list of windows to
> update. updateAllWindows updates all windows.
>
> * only the windows that are modified by key movements are redrawn
> now. This means less flickering.
>
> ]
> [GridSelect: force cursor stay in visible area
> Roman Cheplyaka <roma@ro-che.info>**20081111063348]
> [GridSelect: fix infiniteness problem with diamondRestrict
> Roman Cheplyaka <roma@ro-che.info>**20081111055350]
> [GridSelect: remove tabs
> Roman Cheplyaka <roma@ro-che.info>**20081111053647]
> [Exported shrinkWhile from Decoration to use in GridSelect
> Roman Cheplyaka <roma@ro-che.info>**20081110191534]
> [GridSelect: added link to a screenshot
> Roman Cheplyaka <roma@ro-che.info>**20081110190617]
> [GridSelect: various improvements
> Roman Cheplyaka <roma@ro-che.info>**20081110184644
> Added documentation
> Restricted export list for the sake of haddock
> Added functions:
> withSelectedWindow
> bringSelected (by Clemens Fruhwirth)
> goToSelected (by Dominik Bruhn)
> ]
> [Initial version of GridSelect.hs with a lot room for improvement/cleanups
> Clemens Fruhwirth <clemens@endorphin.org>**20081107115114]
> [documentation: XMonad.Util.Search.hs, add EZConfig keybindings example
> sean.escriva@gmail.com**20081106171707]
> [typo
> Don Stewart <dons@galois.com>**20081104043044
> Ignore-this: bdac0ff3316c821bce321b51c62f6e89
> ]
> [place an upper bound on the version of base we support
> Don Stewart <dons@galois.com>**20081104035857
> Ignore-this: 29139cc4f0ecb299b56ae99f7d20b854
> ]
> [explicit import list for things in the process library
> Don Stewart <dons@galois.com>**20081104035319
> Ignore-this: 91b7f96421828788760e8bcff7dec317
> ]
> [Work around ghc 6.10 bug #2738
> Don Stewart <dons@galois.com>**20081104034819
> Ignore-this: c75da9693fa642025eac0d074869423d
> ]
> [windowPromptBringCopy
> deadguysfrom@gmail.com**20081023173019]
> [generic menu and window bringer
> Travis B. Hartwell <nafai@travishartwell.net>**20081027005523]
> [Search.hs: +hackage search, courtesy of byorgey
> gwern0@gmail.com**20081031214937
> Ignore-this: 24db0ceed49f8bd37ce98ccf8f8ca2ab
> ]
> [Prompt.hs rename deleteConsecutiveDuplicates
> gwern0@gmail.com**20081008205131
> That name is really unwieldy and long.
> ]
> [Prompt.hs: have historyCompletion filter dupes
> gwern0@gmail.com**20081008204710
> Specifically, it calls deleteConsecutiveDuplicates on the end product. uniqSort reverses order in an unfortunate way, so we don't use that.
> The use-case is when a user has added the same input many times - as it stands, if the history records 30 'top's or whatever, the completion will show 30 'top' entries! This fixes that.
> ]
> [Prompt.hs: tweak haddocks
> gwern0@gmail.com**20081008204649]
> [Prompt.hs: mv uniqSort to next to its confreres, and mention the trade-off
> gwern0@gmail.com**20081008192645]
> [Do not consider XMONAD_TIMER unknown
> Joachim Breitner <mail@joachim-breitner.de>**20081008195643]
> [Kill window without focusing it first
> Joachim Breitner <mail@joachim-breitner.de>**20081005002533
> This patch requires the patch "add killWindow function" in xmonad.
> Before this patch, people would experience “workspace flicker” when closing
> a window via EWMH that is not on the current workspace, for example when
> quitting pidgin via the panel icon.
> ]
> [let MagnifyLess actually magnify less
> daniel@wagner-home.com**20081015153911]
> [Actions.Search: add a few search engines
> intrigeri@boum.org**20081008104033
>
> Add Debian {package, bug, tracking system} search engines, as well as Google
> Images and isohunt.
>
> ]
> [Implement HiddenNonEmptyWS with HiddenWS and NonEmptyWS
> Joachim Breitner <mail@joachim-breitner.de>**20081006211027
> (Just to reduce code duplication)
> ]
> [Add straightforward HiddenWS to WSType
> Joachim Breitner <mail@joachim-breitner.de>**20081006210548
> With NonEmptyWS and HiddenNonEmptyWS present, HiddenWS is obviously missing.
> ]
> [Merge emptyLayoutMod into redoLayout
> Joachim Breitner <mail@joachim-breitner.de>**20081005190220
> This removes the emptyLayoutMod method from the LayoutModifier class, and
> change the Stack parameter to redoLayout to a Maybe Stack one. It also changes
> all affected code. This should should be a refactoring without any change in
> program behaviour.
> ]
> [SmartBorders even for empty layouts
> Joachim Breitner <mail@joachim-breitner.de>**20081005184426
> Fixes: http://code.google.com/p/xmonad/issues/detail?id=223
> ]
> [Paste.hs: improve haddocks
> gwern0@gmail.com**20080927150158]
> [Paste.hs: fix haddock
> gwern0@gmail.com**20080927145238]
> [minor explanatory comment
> daniel@wagner-home.com**20081003015919]
> [XMonad.Layout.HintedGrid: add GridRatio (--no-test because of haddock breakage)
> Lukas Mai <l.mai@web.de>**20080930141715]
> [XMonad.Util.Font: UTF8 -> USE_UTF8
> Lukas Mai <l.mai@web.de>**20080930140056]
> [Paste.hs: implement noModMask suggestion
> gwern0@gmail.com**20080926232056]
> [fix a divide by zero error in Grid
> daniel@wagner-home.com**20080926204148]
> [-DUTF8 flag with -DUSE_UTF8
> gwern0@gmail.com**20080921154014]
> [XSelection.hs: use CPP to compile against utf8-string
> gwern0@gmail.com**20080920151615]
> [add XMonad.Config.Azerty
> Devin Mullins <me@twifkak.com>**20080924044946]
> [flip GridRatio to match convention (x/y)
> Devin Mullins <me@twifkak.com>**20080922033354]
> [let Grid have a configurable aspect ratio goal
> daniel@wagner-home.com**20080922010950]
> [Paste.hs: +warning about ASCII limitations
> gwern0@gmail.com**20080921155038]
> [Paste.hs: shorten comment lines to under 80 columns per sjanssen
> gwern0@gmail.com**20080921154950]
> [Forgot to enable historyFilter :(
> Spencer Janssen <spencerjanssen@gmail.com>**20080921094254]
> [Prompt: add configurable history filters
> Spencer Janssen <spencerjanssen@gmail.com>**20080921093453]
> [Update my config to use 'statusBar'
> Spencer Janssen <spencerjanssen@gmail.com>**20080921063513]
> [Rename pasteKey functions to sendKey
> Spencer Janssen <spencerjanssen@gmail.com>**20080921062016]
> [DynamicLog: doc fixes
> Spencer Janssen <spencerjanssen@gmail.com>**20080921061314]
> [Move XMonad.Util.XPaste to XMonad.Util.Paste
> Spencer Janssen <spencerjanssen@gmail.com>**20080921060947]
> [Depend on X11 >= 1.4.3
> Spencer Janssen <spencerjanssen@gmail.com>**20080921055456]
> [statusBar now supplies the action to toggle struts
> Spencer Janssen <spencerjanssen@gmail.com>**20080918013858]
> [cleanup - use currentTag
> Devin Mullins <me@twifkak.com>**20080921011159]
> [XPaste.hs: improve author info
> gwern0@gmail.com**20080920152342]
> [+XMonad.Util.XPaste: a module for pasting strings to windows
> gwern0@gmail.com**20080920152106]
> [UrgencyHook bug fix: cleanupUrgents should clean up reminders, too
> Devin Mullins <me@twifkak.com>**20080920062117]
> [Sketch of XMonad.Config.Monad
> Spencer Janssen <spencerjanssen@gmail.com>**20080917081838]
> [raiseMaster
> seanmce33@gmail.com**20080912184830]
> [Add missing space between dzen command and flags
> Daniel Neri <daniel.neri@sigicom.com>**20080915131009]
> [Big DynamicLog refactor. Added statusBar, improved compositionality for dzen and xmobar
> Spencer Janssen <spencerjanssen@gmail.com>**20080913205931
> Compatibility notes:
> - dzen type change
> - xmobar type change
> - dynamicLogDzen removed
> - dynamicLogXmobar removed
> ]
> [Take maintainership of XMonad.Prompt
> Spencer Janssen <spencerjanssen@gmail.com>**20080911230442]
> [Overhaul Prompt to use a zipper for history navigation. Fixes issue #216
> Spencer Janssen <spencerjanssen@gmail.com>**20080911225940]
> [Use the new completion on tab setting
> Spencer Janssen <spencerjanssen@gmail.com>**20080911085940]
> [Only start to show the completion window with more than one match
> Joachim Breitner <mail@joachim-breitner.de>**20080908110129]
> [XPrompt: Add showCompletionOnTab option
> Joachim Breitner <mail@joachim-breitner.de>**20080908105758
> This patch partially implements
> http://code.google.com/p/xmonad/issues/detail?id=215
> It adds a XPConfig option that, if enabled, hides the completion window
> until the user presses Tab once. Default behaviour is preserved.
> TODO: If Tab causes a unique completion, continue to hide the completion
> window.
> ]
> [XMonad.Actions.Plane.planeKeys: function to make easier to configure
> Marco Túlio Gontijo e Silva <marcot@riseup.net>**20080714153601]
> [XMonad.Actions.Plane: removed unneeded hiding
> Marco Túlio Gontijo e Silva <marcot@riseup.net>**20080714152631]
> [Improvements in documentation
> Marco Túlio Gontijo e Silva <marcot@riseup.net>**20080709002425]
> [Fix haddock typos in XMonad.Config.{Desktop,Gnome,Kde}
> Spencer Janssen <spencerjanssen@gmail.com>**20080911040808]
> [add clearUrgents for your keys
> Devin Mullins <me@twifkak.com>**20080909055425]
> [add reminder functionality to UrgencyHook
> Devin Mullins <me@twifkak.com>**20080824200548
> I'm considering rewriting remindWhen and suppressWhen as UrgencyHookModifiers, so to speak. Bleh.
> ]
> [TAG 0.8
> Spencer Janssen <spencerjanssen@gmail.com>**20080905195420]
> Patch bundle hash:
> 37892cf73bc2c4d253ed221e704010971ae57a6b
> Mon Oct 26 15:56:54 CET 2009 Daniel Schoepe <daniel.schoepe@gmail.com>
> * Support for extensible state in contrib modules
>
> New patches:
>
> [Support for extensible state in contrib modules
> Daniel Schoepe <daniel.schoepe@gmail.com>**20091026145654
> Ignore-this: be37fff7eb0aa99a653e2415b3220ad1
> ] {
> hunk ./Main.hs 42
> let launch = catchIO buildLaunch >> xmonad defaultConfig
> case args of
> [] -> launch
> - ["--resume", _] -> launch
> + ["--resume", _, _] -> launch
> ["--help"] -> usage
> ["--recompile"] -> recompile True >>= flip unless exitFailure
> ["--restart"] -> sendRestart >> return ()
> hunk ./XMonad/Config.hs 30
> import XMonad.Core as XMonad hiding
> (workspaces,manageHook,numlockMask,keys,logHook,startupHook,borderWidth,mouseBindings
> ,layoutHook,modMask,terminal,normalBorderColor,focusedBorderColor,focusFollowsMouse
> - ,handleEventHook)
> + ,handleEventHook,stateExtensions)
> import qualified XMonad.Core as XMonad
> (workspaces,manageHook,numlockMask,keys,logHook,startupHook,borderWidth,mouseBindings
> ,layoutHook,modMask,terminal,normalBorderColor,focusedBorderColor,focusFollowsMouse
> hunk ./XMonad/Config.hs 34
> - ,handleEventHook)
> + ,handleEventHook,stateExtensions)
>
> import XMonad.Layout
> import XMonad.Operations
> hunk ./XMonad/Config.hs 251
> -- you may also bind events to the mouse scroll wheel (button4 and button5)
> ]
>
> +stateExtensions :: [StateExtension]
> +stateExtensions = []
> +
> -- | And, finally, the default set of configuration values itself
> defaultConfig = XConfig
> { XMonad.borderWidth = borderWidth
> hunk ./XMonad/Config.hs 270
> , XMonad.mouseBindings = mouseBindings
> , XMonad.manageHook = manageHook
> , XMonad.handleEventHook = handleEventHook
> - , XMonad.focusFollowsMouse = focusFollowsMouse }
> + , XMonad.focusFollowsMouse = focusFollowsMouse
> + , XMonad.stateExtensions = stateExtensions }
> hunk ./XMonad/Core.hs 27
> XConf(..), XConfig(..), LayoutClass(..),
> Layout(..), readsLayout, Typeable, Message,
> SomeMessage(..), fromMessage, LayoutMessages(..),
> + StateExtension(..), ExtensionClass(..),
> runX, catchX, userCode, userCodeDef, io, catchIO, installSignalHandlers, uninstallSignalHandlers,
> withDisplay, withWindowSet, isRoot, runOnWorkspaces,
> getAtom, spawn, spawnPID, getXMonadDir, recompile, trace, whenJust, whenX,
> hunk ./XMonad/Core.hs 55
> import Graphics.X11.Xlib.Extras (Event)
> import Data.Typeable
> import Data.List ((\\))
> -import Data.Maybe (isJust)
> +import Data.Maybe (isJust,fromMaybe)
> import Data.Monoid
> hunk ./XMonad/Core.hs 57
> -import Data.Maybe (fromMaybe)
>
> import qualified Data.Map as M
> import qualified Data.Set as S
> hunk ./XMonad/Core.hs 63
>
> -- | XState, the (mutable) window manager state.
> data XState = XState
> - { windowset :: !WindowSet -- ^ workspace list
> - , mapped :: !(S.Set Window) -- ^ the Set of mapped windows
> - , waitingUnmap :: !(M.Map Window Int) -- ^ the number of expected UnmapEvents
> - , dragging :: !(Maybe (Position -> Position -> X (), X ())) }
> -
> + { windowset :: !WindowSet -- ^ workspace list
> + , mapped :: !(S.Set Window) -- ^ the Set of mapped windows
> + , waitingUnmap :: !(M.Map Window Int) -- ^ the number of expected UnmapEvents
> + , dragging :: !(Maybe (Position -> Position -> X (), X ()))
> + , extensibleState :: !(M.Map String StateExtension) -- ^ stores custom state information.
> + --
> + -- The module XMonad.Utils.ExtensibleState in xmonad-contrib
> + -- provides additional information and a simple interface for using this.
> + }
> -- | XConf, the (read-only) window manager configuration.
> data XConf = XConf
> { display :: Display -- ^ the X11 display
> hunk ./XMonad/Core.hs 110
> , logHook :: !(X ()) -- ^ The action to perform when the windows set is changed
> , startupHook :: !(X ()) -- ^ The action to perform on startup
> , focusFollowsMouse :: !Bool -- ^ Whether window entry events can change focus
> + , stateExtensions :: [(StateExtension)] -- ^ List of extensions that store mutable, persistent state in XState
> + -- serves as a list of type witnesses during restarts.
> }
>
>
> hunk ./XMonad/Core.hs 352
>
> instance Message LayoutMessages
>
> +-- ---------------------------------------------------------------------
> +-- Extensible state
> +--
> +
> +-- | Every module must make the data it wants to store
> +-- an instance of this class.
> +--
> +-- Minimal complete definition: initialValue
> +class Typeable a => ExtensionClass a where
> + -- | Defines an initial value for the state extension
> + initialValue :: a
> + -- | Specifies whether the state extension should be
> + -- persistent. Setting this method to 'PersistentExtension'
> + -- will make the stored data survive restarts, but
> + -- requires a to be an instance of Read and Show.
> + --
> + -- It defaults to 'StateExtension', i.e. no persistence.
> + extensionType :: a -> StateExtension
> + extensionType = StateExtension
> +
> +-- | Existential type to store a state extension.
> +data StateExtension =
> + forall a . ExtensionClass a => StateExtension a
> + -- ^ Non-persistent state extension
> + | forall a . (Read a, Show a, ExtensionClass a) => PersistentExtension a
> + -- ^ Persistent extension
> +
> -- ---------------------------------------------------------------------
> -- | General utilities
> --
> hunk ./XMonad/Main.hsc 24
> import qualified Data.Set as S
> import Control.Monad.Reader
> import Control.Monad.State
> -import Data.Maybe (fromMaybe)
> +import Data.Maybe (fromMaybe,catMaybes)
> import Data.Monoid (getAll)
>
> import Foreign.C
> hunk ./XMonad/Main.hsc 96
> let layout = layoutHook xmc
> lreads = readsLayout layout
> initialWinset = new layout (workspaces xmc) $ map SD xinesc
> -
> + exts = stateExtensions xmc
> maybeRead reads' s = case reads' s of
> [(x, "")] -> Just x
> _ -> Nothing
> hunk ./XMonad/Main.hsc 106
> ws <- maybeRead reads s
> return . W.ensureTags layout (workspaces xmc)
> $ W.mapLayout (fromMaybe layout . maybeRead lreads) ws
> + extState = fromMaybe M.empty $ do
> + ("--resume" : _ : dyns : _) <- return args
> + vals <- maybeRead reads dyns
> + return . M.fromList . catMaybes . map (readExtVal exts) $ vals
>
> cf = XConf
> { display = dpy
> hunk ./XMonad/Main.hsc 121
> , buttonActions = mouseBindings xmc xmc
> , mouseFocused = False
> , mousePosition = Nothing }
> - st = XState
> - { windowset = initialWinset
> - , mapped = S.empty
> - , waitingUnmap = M.empty
> - , dragging = Nothing }
>
> hunk ./XMonad/Main.hsc 122
> + st = XState
> + { windowset = initialWinset
> + , mapped = S.empty
> + , waitingUnmap = M.empty
> + , dragging = Nothing
> + , extensibleState = extState
> + }
> allocaXEvent $ \e ->
> runX cf st $ do
>
> hunk ./XMonad/Operations.hs 30
> import Data.List (nub, (\\), find)
> import Data.Bits ((.|.), (.&.), complement)
> import Data.Ratio
> +import Data.Typeable (typeOf)
> import qualified Data.Map as M
> import qualified Data.Set as S
>
> hunk ./XMonad/Operations.hs 72
> where i = W.tag $ W.workspace $ W.current ws
>
> mh <- asks (manageHook . config)
> - g <- fmap appEndo $ userCodeDef (Endo id) (runQuery mh w)
> + g <- appEndo <$> userCodeDef (Endo id) (runQuery mh w)
> windows (g . f)
>
> -- | unmanage. A window no longer exists, remove it from the window
> hunk ./XMonad/Operations.hs 410
>
> ------------------------------------------------------------------------
>
> +-- | Given a list of possible type witnesses and a pair of strings,
> +-- try to find a type whose representation matches the first string
> +-- and parse the second string as such.
> +readExtVal :: [StateExtension] -> (String,String) -> Maybe (String,StateExtension)
> +readExtVal es (t,val) = do
> + let typeEquals (PersistentExtension e) = show (typeOf e) == t
> + typeEquals _ = False
> + (PersistentExtension e) <- find typeEquals es
> + [(x,"")] <- return (reads val)
> + return (t, PersistentExtension $ x `asTypeOf` e)
> +
> -- | @restart name resume@. Attempt to restart xmonad by executing the program
> -- @name@. If @resume@ is 'True', restart with the current window state.
> -- When executing another window manager, @resume@ should be 'False'.
> hunk ./XMonad/Operations.hs 428
> restart prog resume = do
> broadcastMessage ReleaseResources
> io . flush =<< asks display
> - args <- if resume then gets (("--resume":) . return . showWs . windowset) else return []
> + let wsData = show . W.mapLayout show . windowset
> + maybeShow (t, PersistentExtension ext) = Just (t, show ext)
> + maybeShow _ = Nothing
> + extState = return . show . catMaybes . map maybeShow . M.toList . extensibleState
> + args <- if resume then gets (\s -> "--resume":wsData s:extState s) else return []
> catchIO (executeFile prog True args Nothing)
> hunk ./XMonad/Operations.hs 434
> - where showWs = show . W.mapLayout show
>
> ------------------------------------------------------------------------
> -- | Floating layer support
> }
>
> Context:
>
> [TAG 0.9
> Spencer Janssen <spencerjanssen@gmail.com>**20091026004641
> Ignore-this: 80347d432f3b606c8d722536d0d729aa
> ]
> [Bump version to 0.9
> Spencer Janssen <spencerjanssen@gmail.com>**20091026004543
> Ignore-this: 494efab8313c37c2b1297e92a4896b5c
> ]
> [Grab the xmonad.cabal version for putting into the manpage
> Adam Vogt <vogt.adam@gmail.com>**20091024200920
> Ignore-this: 574565100ef9198588dcc36b4262a07f
> ]
> [Correct formatting in manpage
> Adam Vogt <vogt.adam@gmail.com>**20091024200748
> Ignore-this: e142a576042f5977e5436ee280bec59c
> ]
> [depend on X11 >= 1.4.6.1, for conformity with XMC
> Don Stewart <dons@galois.com>**20091024212409]
> [Fix for Tall documentation
> Khudyakov Alexey <alexey.skladnoy@gmail.com>**20090516104753
> Ignore-this: ba56921cc5b3be0462c41d10499ccf0e
> ]
> [correct a comment
> Daniel Wagner <daniel@wagner-home.com>**20090727032024
> Ignore-this: abbf4269b4161c4e6cf375ab2c8892da
> ]
> [man/xmonad.hs is in data-files, remove it from extra-source-files
> Spencer Janssen <spencerjanssen@gmail.com>**20091023031457
> Ignore-this: d201a7c16f68213c7de62481ea7f5b4f
> ]
> [Add the template config as distributed file.
> Adam Vogt <vogt.adam@gmail.com>**20091022041402
> Ignore-this: 2c3ef853ecc0a0d037dd0dfb3087ce99
> ]
> [Note in manpage that 'exec xmonad' should be used
> Adam Vogt <vogt.adam@gmail.com>**20090901040538
> Ignore-this: 5c829442916c7390fc80e836272c6933
> ]
> [Manual page spelling: maximise -> maximize, utilising -> utilizing
> Adam Vogt <vogt.adam@gmail.com>**20090901040217
> Ignore-this: 59cce0620bdb28147dbb3032fbec73a9
> ]
> [Describe modular configuration in the manual page
> Adam Vogt <vogt.adam@gmail.com>**20090901040046
> Ignore-this: 4f4832d44d86773d1f81cb86026811b1
> ]
> [Remove redundant parens
> Spencer Janssen <spencerjanssen@gmail.com>**20090918035547
> Ignore-this: aefa46cdb3ad8496e20d15a7e6b5fa52
> ]
> [man_xmonad.hs: import Data.Monoid for mempty, keybinding edits
> wirtwolff@gmail.com**20090320024624
> Ignore-this: dc8477ffcfdd404f4f60d2cdaf3812d9
> Bring mempty into scope. Add commented ToggleStruts binding.
> Replace shadowed modMask in keybindings with modm instead.
> ]
> [Only watch mtime for .hs, .lhs, .hsc for ~/.xmonad/lib
> Adam Vogt <vogt.adam@gmail.com>**20090503235415
> Ignore-this: e3b1847edf3e07a8182f7fcfc23b00c8
>
> Previously xmonad would force a recompile due to the object files being too
> new, so only look at files which may contain haskell code.
> ]
> [Add lib to ghc searchpath with recompilation check
> Adam Vogt <vogt.adam@gmail.com>**20090321232907
> Ignore-this: 8827fb02fe1101d7b66f05d363bef038
> ]
> [Remove tabs from ManageHook.hs
> Adam Vogt <vogt.adam@gmail.com>**20090710011424
> Ignore-this: 13903f39b052c025a7bfa50fb701959c
> ]
> [Set infix 0 --> to reduce parentheses in ManageHooks
> Adam Vogt <vogt.adam@gmail.com>**20090710011308
> Ignore-this: 75804147fffeceddd328869cbca0d20f
>
> What was previously:
> > (appName ?= x <&&> classname ?= y) --> (doFloat <+> doIgnore)
>
> Can now be:
> > appName ?= x <&&> classname ?= y --> doFloat <+> doIgnore
> ]
> [Pester the user with one (not two) xmessages on config errors
> Adam Vogt <vogt.adam@gmail.com>**20090321233736
> Ignore-this: f481f7d3ba5fca5c53a0b3a87daa32bb
> ]
> [Minor bugfix in the creation of new StackSets.
> Wouter Swierstra <wouter@chalmers.se>**20090503154321]
> [Avoid deadly cycle in man/xmonad.hs
> Spencer Janssen <spencerjanssen@gmail.com>**20090319081918
> Ignore-this: adcba110caad465a2cbb4b9dca7cb612
> ]
> [X.Config.hs, ./man/xmonad.hs: update Event Hook doc
> wirtwolff@gmail.com**20090209183837
> Ignore-this: 3792043278932e371e3e2858913a2b17
> ]
> [Use records to document Tall's arguments
> Spencer Janssen <spencerjanssen@gmail.com>**20090221230628
> Ignore-this: 253c09de793715c18a029406795a42fd
> ]
> [Fix possible head []
> Joachim Breitner <mail@joachim-breitner.de>**20090106192026
> This seems to be a rare case, but I just got hit by it.
> ]
> [ManageHook.doShift: use shiftWin instead of shift
> Spencer Janssen <spencerjanssen@gmail.com>**20090219041458
> Ignore-this: 4d7f348d6d394c581ab2809bbc45a2c6
> ]
> [Express shift in terms of shiftWin
> Spencer Janssen <spencerjanssen@gmail.com>**20090217235343
> Ignore-this: 8f213bca20065a39e7c16027f7b398cf
> ]
> [Use standard -fforce-recomp instead of undocumented -no-recomp
> Don Stewart <dons@galois.com>**20090208165518]
> [Support for custom event hooks
> Daniel Schoepe <asgaroth_@gmx.de>**20090203155536
> Ignore-this: f22f1a7ae2d958ba1b3625aa923b7efd
> ]
> [Make X an instance of Typeable
> Daniel Schoepe <asgaroth_@gmx.de>**20090128215406
> Ignore-this: bb155e62ea4e451460e3b94508dc49d2
> ]
> [Add uninstallSignalHandlers, use in spawn
> Spencer Janssen <spencerjanssen@gmail.com>**20090122002643
> Ignore-this: d91bde6f965341a2619fe2dde83cc099
> ]
> [Create a new session for forked processes
> Spencer Janssen <spencerjanssen@gmail.com>**20090122000423
> Ignore-this: f5d9cf254a0b07ddbf204457b7783880
> ]
> [TAG 0.8.1
> Spencer Janssen <spencerjanssen@gmail.com>**20090118083910]
> [Close stdin in spawned processes
> Spencer Janssen <spencerjanssen@gmail.com>**20090117040024
> Ignore-this: 2e372ed6215160adae8da1c44cdede3d
> ]
> [Document spawnPID
> Spencer Janssen <spencerjanssen@gmail.com>**20090117035907
> Ignore-this: 1641bdcf5055b2ec7b9455265f5b1d52
> ]
> [Asynchronously recompile/restart xmonad on mod-q
> Spencer Janssen <spencerjanssen@gmail.com>**20090117035300
> Ignore-this: 753d8746034f818b81df79003ae5ee0d
> ]
> [Add --restart, a command line flag to cause a running xmonad process to restart
> Spencer Janssen <spencerjanssen@gmail.com>**20090117034959
> Ignore-this: 45c8c8aba7cc7391b95c7e3fb01e5bf9
> ]
> [Bump version to 0.8.1
> Spencer Janssen <spencerjanssen@gmail.com>**20090116223621
> Ignore-this: 2e8e9dc7b6ca725542f4afe04253dc57
> ]
> [Remove doubleFork, handle SIGCHLD
> Spencer Janssen <spencerjanssen@gmail.com>**20090116204742
> Ignore-this: f9b1a65b4f0622922f80ad2ab6c5a52f
> This is a rather big change. Rather than make spawned processes become
> children of init, we handle them in xmonad. As a side effect of this change,
> we never need to use waitForProcess in any contrib module -- in fact, doing so
> will raise an exception. The main benefit to handling SIGCHLD is that xmonad
> can now be started with 'exec', and will correctly clean up after inherited
> child processes.
> ]
> [Main.hs: escape / in Haddocks
> gwern0@gmail.com**20081207020915
> Ignore-this: 2c4525280fbe73c46f3abd8fc13628e9
> This lets haddocks for Main.hs, at least, to build with 2.3.0.
> ]
> [More flexible userCode function
> Daniel Schoepe <asgaroth_@gmx.de>**20090110221852]
> [Call logHook as the very last action in windows
> Spencer Janssen <spencerjanssen@gmail.com>**20081209233700
> Ignore-this: 4396ad891b607780f8e4b3b6bbce87e
> ]
> [Accept inferior crossing events. This patch enables fmouse-focus-follows-screen
> Spencer Janssen <spencerjanssen@gmail.com>**20081205045130
> Ignore-this: 3ac329fb92839827aed0a4370784cabd
> ]
> [Tile all windows at once
> Spencer Janssen <spencerjanssen@gmail.com>**20081118074447]
> [Factor rational rect scaling into a separate function
> Spencer Janssen <spencerjanssen@gmail.com>**20081118072849]
> [Change screen focus by clicking on the root window.
> Spencer Janssen <spencerjanssen@gmail.com>**20081106224031
> This is a modification of a patch from Joachim Breitner.
> ]
> [Fix #192.
> Spencer Janssen <spencerjanssen@gmail.com>**20081021220059]
> [select base < 4 for building on ghc 6.10
> Adam Vogt <vogt.adam@gmail.com>**20081013214509]
> [add killWindow function
> Joachim Breitner <mail@joachim-breitner.de>**20081005001804
> This is required to kill anything that is not focused, without
> having to focus it first.
> ]
> [add'l documentation
> Devin Mullins <me@twifkak.com>**20080927234639]
> [Regression: ungrab buttons on *non* root windows
> Spencer Janssen <spencerjanssen@gmail.com>**20081007214351]
> [Partial fix for #40
> Spencer Janssen <spencerjanssen@gmail.com>**20081007212053
> Improvements:
> - clicking on the root will change focus to that screen
> - moving the mouse from a window on a screen to an empty screen changes focus
> to that screen
> The only remaining issue is that moving the mouse between two empty screens
> does not change focus. In order to solve this, we'd have to select motion events
> on the root window, which is potentially expensive.
> ]
> [Track mouse position via events received
> Spencer Janssen <spencerjanssen@gmail.com>**20081007203953]
> [Fix haddock
> Spencer Janssen <spencerjanssen@gmail.com>**20081007094641]
> [Move screen locating code into pointScreen
> Spencer Janssen <spencerjanssen@gmail.com>**20081007094207]
> [Make pointWithin a top-level binding
> Spencer Janssen <spencerjanssen@gmail.com>**20081007090229]
> [sp README, CONFIG, STYLE, TODO
> gwern0@gmail.com**20080913024457]
> [Use the same X11 dependency as xmonad-contrib
> Spencer Janssen <spencerjanssen@gmail.com>**20080921061508]
> [Export focusUp' and focusDown' -- work entirely on stacks
> Spencer Janssen <spencerjanssen@gmail.com>**20080911214803]
> [add W.shiftMaster, fix float/tile-reordering bug
> Devin Mullins <me@twifkak.com>**20080911053909]
> [TAG 0.8
> Spencer Janssen <spencerjanssen@gmail.com>**20080905195412]
> Patch bundle hash:
> a293aa1a588e9ce696405a011c372c5c8c566c1c
> _______________________________________________
> xmonad mailing list
> xmonad@haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad