[xmonad] darcs patch: New semantics for XMonad.Util.Scratchpad

Braden Shepherdson Braden.Shepherdson at gmail.com
Sun Jun 8 01:25:03 EDT 2008


I tried to just push this, but I can't seem to push on my new system, it 
just tells me that pushing over HTTP isn't allowed. I'd like to get that 
fixed eventually.

Anyway, the patches are attached.

There are two slightly questionable changes here:
* First, I removed an exported function from XMonad.Util.Scratchpad, 
scratchpadSpawnDefault. It was a complete keybinding, key spec and 
action. That's very unusual, I wrote it when I'd only been using xmonad 
a few days. I doubt many users did it that way, but that change will 
break their configs.
* Second, I changed XMonad.Actions.DynamicWorkspaces to export 
addHiddenWorkspace. I'm not sure why it wasn't originally, and don't 
know if there's a reason why it was internal.

I don't think either of those is a problem, but at least they're 
documented now.

The long comment on the big patch describes the new semantics, so I'll 
leave it at that.


Braden Shepherdson
shepheb
-------------- next part --------------
Sat Jun  7 23:24:39 EDT 2008  Braden Shepherdson <Braden.Shepherdson at gmail.com>
  * Removed odd scratchpadSpawnDefault, improved documentation.

Sat Jun  7 23:26:19 EDT 2008  Braden Shepherdson <Braden.Shepherdson at gmail.com>
  * Added scratchpadSpawnActionTerminal to specify the terminal program directly as a String.

Sun Jun  8 00:53:18 EDT 2008  Braden Shepherdson <Braden.Shepherdson at gmail.com>
  * Exporting addHiddenWorkspace, it's needed by the new Scratchpad

Sun Jun  8 00:54:57 EDT 2008  Braden Shepherdson <Braden.Shepherdson at gmail.com>
  * Replaced old "spawn on mod+s" semantics with "spawn/summon or banish on mod+s".
  Originally the key binding just spawned a new floating terminal on every keypress.
  Now it spawns if it doesn't exist, summons from another workspace if it does but
  isn't visible, or banishes it to a dynamically created workspace if it is on the
  current workspace.

New patches:

[Removed odd scratchpadSpawnDefault, improved documentation.
Braden Shepherdson <Braden.Shepherdson at gmail.com>**20080608032439] {
hunk ./XMonad/Util/Scratchpad.hs 16
--- By default, your xmonad terminal is used, and mod+s is the hotkey.
+-- By default, your xmonad terminal is used.
hunk ./XMonad/Util/Scratchpad.hs 25
--- Add the following to your xmonad.hs keybindings to use the default mod+s:
---
--- > scratchpadSpawnDefault conf
---
--- Or specify your own key binding, with the action:
+-- Bind the following to a key in your xmonad.hs keybindings:
hunk ./XMonad/Util/Scratchpad.hs 29
+-- Where @conf@ is the configuration.
+-- 
hunk ./XMonad/Util/Scratchpad.hs 38
-  scratchpadSpawnDefault
-  ,scratchpadSpawnAction
+  scratchpadSpawnAction
hunk ./XMonad/Util/Scratchpad.hs 50
--- | Complete key binding. Pops up the terminal on mod+s.
-scratchpadSpawnDefault :: XConfig l -- ^ The configuration, to retrieve terminal and modMask
-                       -> ((KeyMask, KeySym), X ())
-scratchpadSpawnDefault conf = ((modMask conf, xK_s), scratchpadSpawnAction conf)
-
-
hunk ./XMonad/Util/Scratchpad.hs 64
+-- eg.
+--
+-- > scratchpadManageHook (W.RationalRect 0.25 0.375 0.5 0.25)
+--
}

[Added scratchpadSpawnActionTerminal to specify the terminal program directly as a String.
Braden Shepherdson <Braden.Shepherdson at gmail.com>**20080608032619] {
hunk ./XMonad/Util/Scratchpad.hs 39
+  ,scratchpadSpawnActionTerminal
hunk ./XMonad/Util/Scratchpad.hs 57
+-- | Action to pop up the terminal, with a directly specified terminal.
+scratchpadSpawnActionTerminal :: String -- ^ Name of the terminal program
+                                 -> X ()
+scratchpadSpawnActionTerminal term = spawn $ term ++ " -title scratchpad"
+
}

[Exporting addHiddenWorkspace, it's needed by the new Scratchpad
Braden Shepherdson <Braden.Shepherdson at gmail.com>**20080608045318] {
hunk ./XMonad/Actions/DynamicWorkspaces.hs 20
+                                         addHiddenWorkspace,
hunk ./XMonad/Actions/DynamicWorkspaces.hs 104
+
+-- | Add a new hidden workspace with the given name.
}

[Replaced old "spawn on mod+s" semantics with "spawn/summon or banish on mod+s".
Braden Shepherdson <Braden.Shepherdson at gmail.com>**20080608045457
 Originally the key binding just spawned a new floating terminal on every keypress.
 Now it spawns if it doesn't exist, summons from another workspace if it does but
 isn't visible, or banishes it to a dynamically created workspace if it is on the
 current workspace.
] {
hunk ./XMonad/Util/Scratchpad.hs 13
+-----------------------------------------------------------------------------
+
+module XMonad.Util.Scratchpad (
+  -- * Usage
+  -- $usage
+  scratchpadSpawnAction
+  ,scratchpadSpawnActionTerminal
+  ,scratchpadManageHookDefault
+  ,scratchpadManageHook
+  ) where
+
+import XMonad
+import XMonad.Core
+import XMonad.Hooks.ManageHelpers (doRectFloat)
+import XMonad.Actions.DynamicWorkspaces (addHiddenWorkspace)
+
+import Control.Monad (filterM)
+
+import qualified XMonad.StackSet as W
+
+
+-- $usage
+-- Bind a key to 'scratchpadSpawnAction'
+-- Pressing it will spawn the terminal, or bring it to the current
+-- workspace if it already exists.
+-- Pressing the key with the terminal on the current workspace will 
+-- send it to a hidden workspace called @SP at .
+--
+-- If you already have a workspace called @SP@, it will use that.
+-- @SP@ will also appear in xmobar and dzen status bars. You can tweak your
+-- @dynamicLog@ settings to filter it out if you like.
+--
hunk ./XMonad/Util/Scratchpad.hs 67
------------------------------------------------------------------------------
-
-module XMonad.Util.Scratchpad (
-  scratchpadSpawnAction
-  ,scratchpadSpawnActionTerminal
-  ,scratchpadManageHookDefault
-  ,scratchpadManageHook
-  ) where
-
-import XMonad
-import XMonad.Core
-import XMonad.Hooks.ManageHelpers (doRectFloat)
-import qualified XMonad.StackSet
hunk ./XMonad/Util/Scratchpad.hs 73
-scratchpadSpawnAction conf = spawn $ terminal conf ++ " -title scratchpad"
+scratchpadSpawnAction conf = 
+    scratchpadAction $ spawn $ terminal conf ++ " -title scratchpad"
hunk ./XMonad/Util/Scratchpad.hs 80
-scratchpadSpawnActionTerminal term = spawn $ term ++ " -title scratchpad"
+scratchpadSpawnActionTerminal term = 
+    scratchpadAction $ spawn $ term ++ " -title scratchpad"
+
+
+
+
+-- The heart of the new summon/banish terminal. 
+-- The logic is thus:
+-- 1. if the scratchpad is on the current workspace, send it to the hidden one.
+--    - if the scratchpad workspace doesn't exist yet, create it first.
+-- 2. if the scratchpad is elsewhere, bring it here. 
+scratchpadAction :: X () -> X ()
+scratchpadAction action = withWindowSet $ \s -> do
+  filterCurrent <- filterM (runQuery scratchpadQuery) 
+                     ( (maybe [] W.integrate 
+                        . W.stack 
+                        . W.workspace 
+                        . W.current) s)
+  case filterCurrent of
+    (x:_) -> do
+      if null (filter ( (== scratchpadWorkspaceTag) . W.tag) (W.workspaces s))
+         then addHiddenWorkspace scratchpadWorkspaceTag
+         else return ()
+      windows (W.shiftWin scratchpadWorkspaceTag x)
+    []    -> do
+      filterAll <- filterM (runQuery scratchpadQuery) (W.allWindows s)
+      case filterAll of
+        (x:_) -> windows (W.shiftWin (W.currentTag s) x)
+        []    -> action -- run the provided action to spawn it.
+
+
+-- factored out since it appears in several places
+scratchpadWorkspaceTag :: String
+scratchpadWorkspaceTag = "SP"
+
+-- factored out since this is common to both the ManageHook and the action
+scratchpadQuery :: Query Bool
+scratchpadQuery = title =? "scratchpad"
hunk ./XMonad/Util/Scratchpad.hs 126
--- | The ManageHook, with a user-specified StackSet.RationalRect.
+-- | The ManageHook, with a user-specified StackSet.RationalRect,
hunk ./XMonad/Util/Scratchpad.hs 130
---
-scratchpadManageHook :: XMonad.StackSet.RationalRect -- ^ User-specified screen rectangle.
+scratchpadManageHook :: W.RationalRect -- ^ User-specified screen rectangle.
hunk ./XMonad/Util/Scratchpad.hs 132
-scratchpadManageHook rect = title =? "scratchpad" --> doRectFloat rect
+scratchpadManageHook rect = scratchpadQuery --> doRectFloat rect
hunk ./XMonad/Util/Scratchpad.hs 135
-scratchpadDefaultRect :: XMonad.StackSet.RationalRect
-scratchpadDefaultRect = XMonad.StackSet.RationalRect 0.25 0.375 0.5 0.25
+scratchpadDefaultRect :: W.RationalRect
+scratchpadDefaultRect = W.RationalRect 0.25 0.375 0.5 0.25
}

Context:

[Actions.Search.hs: switch inappropriate use of getShellCompl for a historyCompletion
gwern0 at gmail.com**20080607071331
 It's inappropriate because if I am searching Wikipedia, say, why on earth do I want completion of files and executables on my PC? A previous search query is much more likely to be what I want.
] 
[Prompt.hs: +a historyCompletion function for use in XPrompts
gwern0 at gmail.com**20080607071225] 
[Add C-w to XMonad.Prompt
Trevor Elliott <trevor at galois.com>**20080605220656
 
  * Bind C-w to kill the previous word
 
] 
[Add missing xfce module to .cabal
Don Stewart <dons at galois.com>**20080602174219] 
[Use lines instead of columns in configuration (similar to GNOME and KDE)
Malebria <malebria at riseup.net>**20080526225337] 
[Bug correction when areasColumn > 1
Malebria <malebria at riseup.net>**20080526223220] 
[more documentation for WindowNavigation and UrgencyHook
Devin Mullins <me at twifkak.com>**20080525050231] 
[X.A.WindowNavigation: add logHook for better state tracking
Devin Mullins <me at twifkak.com>**20080525032325] 
[doco tweaks
Devin Mullins <me at twifkak.com>**20080524211849] 
[made fadeInactiveLogHook take an argument amount to fade
Justin Bogner <mail at justinbogner.com>**20080523213937] 
[add FadeInactive to fade out inactive windows using xcompmgr
Justin Bogner <mail at justinbogner.com>**20080523205838] 
[add close window functionality to EwmhDesktops
Justin Bogner <mail at justinbogner.com>**20080523185908] 
[Add XMonad.Actions.Plane
Malebria <malebria at riseup.net>**20080523004357] 
[Default Xfce config, this time with me holding the copyright, maintainership, etc.
Ivan.Miljenovic at gmail.com**20080522105316] 
[StackTile: minor documentation fix
Joachim Fasting <joachim.fasting at gmail.com>**20080521182637
 That '[]' in the example seems incorrect
] 
[StackTile
acura at allyourbase.se**20080520195559
 
 A simple patch to get a dishes like stacking, but with the ability to resize master pane.
] 
[revamp Search.hs to export a replacement for simpleEngine
gwern0 at gmail.com**20080519190912
 It's called searchEngine now, and is a wrapper around the SearchEngine type. Different type as well
] 
[sp ShowWName.hs
gwern0 at gmail.com**20080519190520] 
[remove ScratchWorkspace.
David Roundy <droundy at darcs.net>**20080516185729
 It's ugly code, and I'd be surprised if anyone actually uses it.  I see no
 reason to continue to maintain it.
] 
[Fixed location of xmonad.conf
Roman Cheplyaka <roma at ro-che.info>**20080518204602] 
[add site name in search prompt dialog
zhen.sydow at gmail.com**20080518101357] 
[add youtube to search engines
zhen.sydow at gmail.com**20080513212508] 
[SwapWorkspaces: swapTo Next|Prev
Devin Mullins <me at twifkak.com>**20080518024121] 
[UrgencyHook: removeVisiblesFromUrgents -> cleanupUrgents
Devin Mullins <me at twifkak.com>**20080515164436
 Now only removes windows based on SuppressWhen setting.
] 
[Added XMonad.Config.PlainConfig: proof-of-concept GHC-less plain text configuration file parser
Braden Shepherdson <Braden.Shepherdson at gmail.com>**20080517222916
 
 An example of the config file format can be found in the Haddock.
 Notably missing features are docks and more layouts than just the standard three.
] 
[XMonad.Hooks.SetWMName: Update documentation to reflect the addition of startupHook.
lithis <xmonad at selg.hethrael.org>**20080516221011] 
[I no longer use ScratchWorkspace.
David Roundy <droundy at darcs.net>**20080516185715] 
[fix bug in smartBorders when combined with decorated windows.
David Roundy <droundy at darcs.net>**20080516184855] 
[decent documentation for UrgencyHook
Devin Mullins <me at twifkak.com>**20080515082222
 Blame it on lack of sleep. Or perhaps the causation is the reverse.
] 
[X.A.WindowNavigation: currentPosition and setPosition share the same `inside` logic, now
Devin Mullins <me at twifkak.com>**20080515062211
 Aside from documentation, this is pretty much usable, now.
] 
[X.A.WindowNavigation: have currentPosition handle axes independently
Devin Mullins <me at twifkak.com>**20080515053330
 This improves some subtle interactions between mod-j/k and mod-w/a/s/d, though
 that might not become very apparent until I fix setPosition.
] 
[fix compile warnings in BoringWindows
Devin Mullins <me at twifkak.com>**20080515051728] 
[add BoringWindows module to make certain windows skipped when rotating focus.
David Roundy <droundy at darcs.net>**20080514162846] 
[UrgencyHook: some documentation (more is needed)
Devin Mullins <me at twifkak.com>**20080514080104] 
[UrgencyHook: got rid of the need for instances to know about suppressWhen
Devin Mullins <me at twifkak.com>**20080514072217
 This changes the API a little bit, but that's what you get for using a day-old feature from darcs.
] 
[move AppLauncher from Actions module to Prompt module
zhen.sydow at gmail.com**20080513201252] 
[X.A.WindowNavigation: comment cleanup
Devin Mullins <me at twifkak.com>**20080513091313] 
[windowRect now compensates for border width
Devin Mullins <me at twifkak.com>**20080513090151
 Odd that I have to do (Rectangle x y (w + 2 * bw) (h + 2 * bw)) -- you'd think
 the window would be centered within the bordered area.
] 
[X.A.WindowNavigation: update TODO
Devin Mullins <me at twifkak.com>**20080513044229] 
[X.A.WindowNavigation: minor cleanup
Devin Mullins <me at twifkak.com>**20080512170410] 
[X.A.WindowNavigation: simplify inr somewhat
Devin Mullins <me at twifkak.com>**20080512090647] 
[X.A.WindowNavigation: clarity
Devin Mullins <me at twifkak.com>**20080512085338] 
[X.A.WindowNavigation: ugh, typo
Devin Mullins <me at twifkak.com>**20080512082228] 
[X.A.WindowNavigation: implement swap, extract withTargetWindow commonality
Devin Mullins <me at twifkak.com>**20080512064715
 Why doesn't mapWindows exist already?
] 
[add more flexible withWindowNavigationKeys
Devin Mullins <me at twifkak.com>**20080512050637
 Names aren't permanent yet, so don't cry if they change.
] 
[X.A.WindowNavigation: TODO
Devin Mullins <me at twifkak.com>**20080511222116] 
[X.A.WindowNavigation: add withWindowNavigation, for easy setup
Devin Mullins <me at twifkak.com>**20080511220458
 This should be more flexible than it is -- I've got an idea, but am interested to hear others.
] 
[X.A.WindowNavigation: fix currentPosition
Devin Mullins <me at twifkak.com>**20080511212128
 Now properly deals with an unitialized state (e.g. from a restart) or an
 inconsistent state (e.g. from using mod-j/k). Deserves cleanup.
] 
[X.A.WindowNavigation: add TODOs
Devin Mullins <me at twifkak.com>**20080511211326] 
[X.A.WindowNavigation state is now workspace-specific
Devin Mullins <me at twifkak.com>**20080511071656
 racking up some code debt, here...
] 
[X.A.WindowNavigation: minor doco changes
Devin Mullins <me at twifkak.com>**20080506074235] 
[add draft XMonad.Actions.WindowNavigation
Devin Mullins <me at twifkak.com>**20080504050022
 This is an experiment with replacing the WindowNavigation LayoutModifier with
 one that simply adds keybindings and stores state in an IORef. Credit to
 droundy for the original code -- hopefully I'm not butchering it. The end
 intent is to add Xinerama support, but it'll be a little while before I get
 there.
] 
[new contrib module to launch apps with command line parameters
zhen.sydow at gmail.com**20080513134754] 
[pull suppressWhen logic into main WithUrgencyHook handler
Devin Mullins <me at twifkak.com>**20080513075247
 In order for this to work, I added a new UrgencyHook method to communicate the
 SuppressWhen value. I'm not sure if this is actually better than just providing
 a convenience function, but it's an easy switch.
] 
[add suppressWhen option to dzenUrgencyHook
Devin Mullins <me at twifkak.com>**20080513054615] 
[WindowNavigation: extract navigable function
Devin Mullins <me at twifkak.com>**20080422045248] 
[UrgencyHook: doc typo
Devin Mullins <me at twifkak.com>**20080512052137] 
[UrgencyHook: extract whenNotVisible
Devin Mullins <me at twifkak.com>**20080512041852] 
[SpawnUrgencyHook, FWIW
Devin Mullins <me at twifkak.com>**20080512040449] 
[make UrgencyHook an EventHook
Devin Mullins <me at twifkak.com>**20080512024822
 This gets rid of the stupid bug that led to a need for the clearBit hack, and
 allowed me to simplify the types (since EventHooks aren't required to
 parameterize on the window type). Config files need not change, unless they
 declare instances of UrgencyHook, in which case, they should remove "Window" as
 is seen in this patch.
 
] 
['xmobar' function added to DynamicLog for running xmobar with some defaults
Ivan N. Veselov <veselov at gmail.com>**20080508194918] 
[HintedTile: Fix mistake in documentation.
lithis <xmonad at selg.hethrael.org>**20080508003552] 
[Use gnome-session-save for the mod-shift-q binding
Spencer Janssen <sjanssen at cse.unl.edu>**20080507082205] 
[Use the named constant 'none' rather than 0
Spencer Janssen <sjanssen at cse.unl.edu>**20080507081854] 
[HintedTile: Improve documentation.
lithis <xmonad at selg.hethrael.org>**20080508000245] 
[Whitespace only
Spencer Janssen <sjanssen at cse.unl.edu>**20080507031306] 
[Add a binding for Gnome's "Run Application" dialog
Spencer Janssen <sjanssen at cse.unl.edu>**20080507031127] 
[Add some keybindings to the Kde config
Spencer Janssen <sjanssen at cse.unl.edu>**20080507022658] 
[Indentation
Spencer Janssen <sjanssen at cse.unl.edu>**20080507022553] 
[Add ToggleStruts to the desktop config
Spencer Janssen <sjanssen at cse.unl.edu>**20080507022516] 
[Refactor my config
Spencer Janssen <sjanssen at cse.unl.edu>**20080507021504] 
[Add XMonad.Config.Kde
Spencer Janssen <sjanssen at cse.unl.edu>**20080507020833] 
[Don't move the pointer if the user is moving the mouse
Klaus Weidner <kweidner at pobox.com>**20080417022234
 
 This patch depends on the following xmonad core patch:
 
   Remember if focus changes were caused by mouse actions or by key commands
 
 If the user was moving the mouse, it's not appropriate to move the pointer
 around in resonse to focus changes. Do that only in response to keyboard
 commands.
] 
[Missing pragmas
Don Stewart <dons at galois.com>**20080506053402] 
[Add full documentation
Don Stewart <dons at galois.com>**20080505210546] 
[minor cleanup on getName
Devin Mullins <me at twifkak.com>**20080504054923] 
[bug doco for UrgencyHook
Devin Mullins <me at twifkak.com>**20080426203638] 
[NamedWindows: when converting the text property, handle the empty list.
Spencer Janssen <sjanssen at cse.unl.edu>**20080502104249
 This fixes a "Prelude.head" exception observed with windows that have no title.
 Reproduce by placing several windows in the tabbed layout, then starting
 'xterm -name ""'.  Thanks to Andrea for pointing out the issue.
] 
[Fix issue #179 by handling events correctly
Andrea Rossato <andrea.rossato at unibz.it>**20080501062357] 
[My monitor is larger now :)
Spencer Janssen <sjanssen at cse.unl.edu>**20080430083026] 
[manageHooks for my config
Spencer Janssen <sjanssen at cse.unl.edu>**20080430082536] 
[Remove redundant type signature
Spencer Janssen <sjanssen at cse.unl.edu>**20080430082447] 
[Add XMonad.Config.Desktop and XMonad.Config.Gnome
Spencer Janssen <sjanssen at cse.unl.edu>**20080430082253] 
[Alphabetize exposed-modules
Spencer Janssen <sjanssen at cse.unl.edu>**20080430035453] 
[new contrib layout: XMonad.Layout.SimplestFloat - A floating layout like SimpleFloat, but without decoration
joamaki at gmail.com**20080424220957] 
[stricitfy some gap fields
Don Stewart <dons at galois.com>**20080427191247] 
[XMonad.Hooks.ManageHelpers: quick&dirty support for _NET_WM_STATE_FULLSCREEN
Lukas Mai <l.mai at web.de>**20080426132745] 
[XMonad.Hooks.Script: haddock fixes
Lukas Mai <l.mai at web.de>**20080426132629] 
[Error fix for Tabbed when tabbar always shown
Ivan.Miljenovic at gmail.com**20080424063135] 
[remove my config file -- the wiki is where its at.
Don Stewart <dons at galois.com>**20080419195650] 
[tweaks to docs for SimpleDecoration
Don Stewart <dons at galois.com>**20080418215155] 
[Allow tabbar to always be shown.
Ivan.Miljenovic at gmail.com**20080415043728
 Patch take 4, hopefully the final version.  Includes droundy's suggestions.
] 
[polish
Don Stewart <dons at galois.com>**20080418033133] 
[Script-based hooks
Trevor Elliott <trevor at galois.com>**20080416213024] 
[Don't strictify the Display component, this triggers a bug in GHC 6.6
Spencer Janssen <sjanssen at cse.unl.edu>**20080416185733] 
[Fix to IM modifier.
Roman Cheplyaka <roma at ro-che.info>**20080414232437
 Avoid differentiating integrated stack by using StackSet.filter.
] 
[IM layout converted to LayoutModifier, which can be applied to any layout
Ivan N. Veselov <veselov at gmail.com>**20080413205824] 
[stictify some fields
Don Stewart <dons at galois.com>**20080413070117] 
[strictify some fields
Don Stewart <dons at galois.com>**20080413065958] 
[Fix window order in EWMH
Joachim Breitner <mail at joachim-breitner.de>**20080411134411
 For pagers to draw the stacking order correctly, the focused window has to
 be the last in the list. Thus put an appropriate implementation of allWindows
 into the Module.
 This does not work perfectly with floating windows.
] 
[remove myself as maintainer of CopyWindow.
David Roundy <droundy at darcs.net>**20080409144333
 I'm not sure who's maintaining this, but it's not me.
] 
[XMonad.Util.WindowProperties: add WM_WINDOW_ROLE as Role
Roman Cheplyaka <roma at ro-che.info>**20080409174935] 
[Generalize copyWindow, minor style change
Spencer Janssen <sjanssen at cse.unl.edu>**20080408210050] 
[XMonad.Actions.CopyWindow: added copyToAll and killAllOtherCopies functions
Ivan N. Veselov <veselov at gmail.com>**20080408195111] 
[XMonad.Actions.UpdatePointer: doc fix
Lukas Mai <l.mai at web.de>**20080407152741] 
[XMonad.Util.Font: minor reformatting
Lukas Mai <l.mai at web.de>**20080406020935] 
[DynamicLog: resolve merge conflict
Lukas Mai <l.mai at web.de>**20080406020527] 
[Encode the entire DynamicLog output, instead of just window title.
lithis <xmonad at selg.hethrael.org>**20080329031537] 
[DynamicLog: add support for UTF-8 locales when compiled with XFT or UFT-8 support
Andrea Rossato <andrea.rossato at unibz.it>**20080313102643] 
[XMonad.Util.Font: don't call setlocale; core does it for us
Lukas Mai <l.mai at web.de>**20080406013123] 
[XMonad.Util.NamedWindows: fix imports
Lukas Mai <l.mai at web.de>**20080326172745] 
[Changed getName to use locale-aware functions
Mats Jansborg <mats at jansb.org>**20070819132104
 Rewrote getName using getTextProperty and wcTextPropertyToTextList.
] 
[Added next-window versions of the raise* functions.
Ian Zerny <ian at zerny.dk>**20080405182900] 
[XMonad.Layout.Master: initial import
Lukas Mai <l.mai at web.de>**20080404220734] 
[update contrib for applySizeHints changes
Lukas Mai <l.mai at web.de>**20080404220558] 
[XMonad.Hooks.ManageDocks: haddock fix
Lukas Mai <l.mai at web.de>**20080404220532] 
[MultiToggle/Instances: ghc 6.6 can't parse LANGUAGE pragma
Brent Yorgey <byorgey at gmail.com>**20080404200157] 
[Document _NET_ACTIVE_WINDOW behaviour more exactly
Joachim Breitner <mail at joachim-breitner.de>**20080404072944] 
[_NET_ACTIVE_WINDOW moves windows if necessary
Joachim Breitner <mail at joachim-breitner.de>*-20080402143811
 This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is
 received and the window is not on the current worspace, it is brought here 
 (instead of the workspace switched to the other one). So for example, if you
 click on the pidgin icon in the panel and the buddy list is already open some
 where it is moved here.
] 
[onstart=lower, solves floating dzen issue
Don Stewart <dons at galois.com>**20080403203425] 
[some bang patterns
Don Stewart <dons at galois.com>**20080403172246] 
[have 'dzen' use autoStruts to detect the gaps
Don Stewart <dons at galois.com>**20080403003130] 
[Actions/Search.hs: add dictionary.com search
Brent Yorgey <byorgey at gmail.com>**20080402150521] 
[_NET_ACTIVE_WINDOW moves windows if necessary
Joachim Breitner <mail at joachim-breitner.de>**20080402143811
 This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is
 received and the window is not on the current worspace, it is brought here 
 (instead of the workspace switched to the other one). So for example, if you
 click on the pidgin icon in the panel and the buddy list is already open some
 where it is moved here.
] 
[HintedGrid: guesstimate window flexibility and layout rigid windows first
Lukas Mai <l.mai at web.de>**20080402042846] 
[HintedGrid: try both bottom-up/top-down window placement to minimize unused space
Lukas Mai <l.mai at web.de>**20080402012538] 
[Grid/HintedGrid: use an ncolumns formula inspired by dwm's "optimal" mode
Lukas Mai <l.mai at web.de>**20080402012126] 
[XMonad.Layout.Gaps: new contrib module for manual gap support, in the few cases where ManageDocks is not appropriate (dock apps that don't set STRUTS properly, adjusting for a display that is cut off on one edge, etc.)
Brent Yorgey <byorgey at gmail.com>**20080402003742] 
[improve WindowGo.hs Haddock formatting
gwern0 at gmail.com**20080401023130] 
[forgot a haddock for getEditor in Shell.hs
gwern0 at gmail.com**20080401022012] 
[WindowGo.hs: +raiseBrowser, raiseEditor
gwern0 at gmail.com**20080401021740
 Specialize runOrRaise in the same way as with Actions.Search, for one's browser and one's editors.
] 
[RunOrRaise.hs: FF 3 doesn't use the "Firefox-bin" classname
gwern0 at gmail.com**20080401015049] 
[Search.hs: remove an argument from selectSearch and promptSearch
gwern0 at gmail.com**20080401013947
 The new getBrowser function allows us to mv the old selectSearch and promptSearch aside as too-general functions, and replace them with new versions, which employ getBrowser to supply one more argument. This allows us to replace the tedious 'selectSearch google "firefox"; selectSearch yahoo "firefox"...' with shorter 'selectSearch google' and so on. One less argument.
 
 Also, update the docs.
] 
[Shell.hs: +getBrowser, getEditor, helper function
gwern0 at gmail.com**20080401013447
 The helper function asks the shell for the value of a variable, else returns the second argument.
 getBrowser and getEditor obviously specialize it for two particular possibly queries
] 
[XMonad.Layout.HintedGrid: initial import
Lukas Mai <l.mai at web.de>**20080401231722] 
[Documentation improvement.
Roman Cheplyaka <roma at ro-che.info>**20080401134305] 
[Remove broken link to screenshot.
Roman Cheplyaka <roma at ro-che.info>**20080331210854] 
[MultiToggle: add new XMonad.Layout.MultiToggle.Instances module for common instances of Transformer, update MultiToggle docs accordingly
Brent Yorgey <byorgey at gmail.com>**20080331201739] 
[XMonad.Actions.CycleRecentWS: initial import
Michal Janeczek <janeczek at gmail.com>**20080331111906] 
[XMonad.Hooks.ManageDocks: export checkDoc
Lukas Mai <l.mai at web.de>**20080331012911] 
[XMonad.Layout.Grid: fix indentation
Lukas Mai <l.mai at web.de>**20080330004859] 
[move Direction type from WindowNavigation to ManageDocks (ManageDocks will move into the core, taking Direction with it)
Brent Yorgey <byorgey at gmail.com>**20080331010127] 
[ManageDocks: clean up + add more documentation
Brent Yorgey <byorgey at gmail.com>**20080331002929] 
[Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run for convenience, and update DynamicLog documentation to show proper imports
Brent Yorgey <byorgey at gmail.com>**20080328205446] 
[ManageDocks: add avoidStrutsOn, for covering some docks and not others by default.
Brent Yorgey <byorgey at gmail.com>**20080327203940] 
[ManageDocks: add ability to toggle individual gaps independently
Brent Yorgey <byorgey at gmail.com>**20080327111722] 
[PerWorkspace: add modWorkspace(s) combinators, for selectively applying layout modifiers to certain workspaces but not others
Brent Yorgey <byorgey at gmail.com>**20080326214351] 
[Haddock fix
Roman Cheplyaka <roma at ro-che.info>**20080330134435] 
[Remove stale status gaps code
Spencer Janssen <sjanssen at cse.unl.edu>**20080329230737] 
[TAG 0.7
Spencer Janssen <sjanssen at cse.unl.edu>**20080329202416] 
Patch bundle hash:
49eefa621dd9d0d89dc38b6ba16245df7e849dc7


More information about the xmonad mailing list