aboutsummaryrefslogtreecommitdiffstats
path: root/Combo.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-10-23add new LayoutCombinators module.David Roundy1-1/+2
darcs-hash:20071023135638-72aca-1b19cf35b57dcbf9ed6fa023b09977f3d457fa6b.gz
2007-10-20introduce new combineTwo layout combinator.David Roundy1-10/+93
This layout combinator is similar in spirit (and in code) to the old combo combinator, but only allows two sublayouts. As a result, we don't need to wrap these in existentials, and reading works seamlessly. Also, we add the feature (which could also be added to combo) of being able to change which sublayout a given window is in through integration with WindowNavigation. I envision combo being deprecated soon. combineTwo isn't quite so flexible, but it's much easier and is better-coded also. darcs-hash:20071020191748-72aca-b431b4f7c13f63a2060c7b19b4404245b6939251.gz
2007-10-15improvements in Combo.David Roundy1-10/+15
darcs-hash:20071015132839-72aca-90f2480c63facfb2d0f24ce75bbcccbabe40bcf0.gz
2007-10-15defaultLayouts -> layoutsSpencer Janssen1-1/+1
darcs-hash:20071015205542-a5988-4636825868c99db4f3cfdcd6b1e361d78e393762.gz
2007-10-14Various docstring fixesSpencer Janssen1-1/+1
darcs-hash:20071013230529-a5988-22845bbae2cbbe64d774f9881cd75067d45fc6d5.gz
2007-10-14Combo requires FlexibleContexts (but still doesn't compile under ghc head)Don Stewart1-2/+2
darcs-hash:20071013230020-cba2c-abce26b8edf763174e813885b17725ac9f156f05.gz
2007-10-08Add LANGUAGE pragamsShachaf Ben-Kiki1-2/+1
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE pragma, so not all of them were added; this patch adds the rest of them, which is necessary for xmonad to compile in GHC > darcs-hash:20071008022141-bffde-c7ab0ae3d58eab8707b5f428a7236540bae5b4e1.gz
2007-09-29some renaming of classes and data types.David Roundy1-6/+6
darcs-hash:20070929191238-72aca-ceb0f2a89b35460e87cf9ff935f786b5a6028fb5.gz
2007-09-28Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen1-1/+3
darcs-hash:20070928181614-a5988-85415ed570690a468bf92cdf0f66d69494cecf4e.gz
2007-09-25modifyLayout -> handleMessage.David Roundy1-2/+2
darcs-hash:20070925182930-72aca-7941d37cac143444e9f167e3dd15944d1138a377.gz
2007-09-25make Combo work with classDavid Roundy1-26/+43
darcs-hash:20070925174417-72aca-2c2fa630e5dad47d830674799715bcf027d06022.gz
2007-09-11Fixing some typos and grammar in documentation.Michael Fellinger1-1/+1
darcs-hash:20070911023158-cbc08-aff6e14b6d1a6e11bbc530565f383d98dee77cff.gz
2007-09-05Docstring parser for generating xmonad build configs with default settings ↵Alex Tarkovsky1-1/+5
for extensions darcs-hash:20070905200128-bd4fb-ff90db3eb7ebce6ea75956f19ebc6c35d36c08d4.gz
2007-08-13fix bug in Combo where we ignored changes in super.David Roundy1-4/+4
darcs-hash:20070813143500-72aca-d8723648629f37b6a93e210a361b7da1cdc9123f.gz
2007-06-24clean up code in Combo.David Roundy1-15/+25
This adds some type safety, since the super-layout is now of a distinct type from the sublayouts. This avoids the ugliness we had, of passing "fake" windows to the super layout. Now we directly lay out the layouts. darcs-hash:20070624171346-72aca-e25332cad748281a8656487977d4f4351fcffc64.gz
2007-06-23make everything work with new doLayout.David Roundy1-13/+17
This modifies all the contrib modules to work (so far as I know) with the new contrib layout. The exception is the LayoutHooks module, which isn't used. It exports an API that is inherently unsafe, so far as I can tell (and always has been). darcs-hash:20070623210952-72aca-1993ca13dc6996b59fedacc271c03fbaf87eabaa.gz
2007-06-21add SimpleStacking module to make Combo and Tabbed work together.David Roundy1-1/+2
WARNING! This change will break existing Tabbed configurations. The problem is that there is no way within a Layout's "doLayout" to safely modify the layout itself. This makes LayoutHooks fragile, and more to the point, makes SimpleStacking fragile, so we can't safely define a tabbed' darcs-hash:20070621151524-72aca-2466fff5a37ce1388879367c419cf52161f8f838.gz
2007-06-20Combo.hs: use case instead of non-standard pattern matching.joachim.fasting1-7/+4
Also uses fmap/maybe instead of do/case, which makes the code look a little cleaner (imo). Please note that I've only been able to test this briefly, but it seems to be working like it's supposed to. darcs-hash:20070620112805-ea16c-d246e45889110c7f28da80adbcfc968139f77130.gz
2007-06-20Combo.hs: tweak usage instructions.joachim.fasting1-1/+1
tabbed needs an additional argument. darcs-hash:20070620112555-ea16c-8882fd63b341e8a86604788445bd7cc6eb5cbb63.gz
2007-06-20Fix type signatures.joachim.fasting1-2/+2
Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
2007-06-16fix leak in Combo.David Roundy1-0/+9
We leaked decorations, since UnDoLayout wasn't passed to the actual layouts that had decorations attached. :( darcs-hash:20070616191052-72aca-9a2e2315e11257f5e5e35cd3944e2a4092919c74.gz
2007-06-14Combo.hs: info and documentationAndrea Rossato1-4/+29
darcs-hash:20070614143700-32816-1f77a0f873d4683088dcadc2a4910ef1c740015f.gz
2007-06-12changes to work with Stacks that can't be empty.David Roundy1-4/+4
darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
2007-06-12make combo sort of work with new doLayout.David Roundy1-3/+5
For some reason (not entirely clear to me) this doesn't work properly just yet with the tabbed layout. :( But at least it'll compile. The trouble is that we have no way of tracking which tab ought to be visible without adding a *lot* of infrastructure. I'd rather have that infrastructure in xmonad proper than reimplement all the focus-handling in combo, so for now I'll just delay upgrading my xmonad at work... darcs-hash:20070612133027-72aca-666344cb28934cd2b226240fec42d1c1b3a5a12c.gz
2007-06-12add new combo layout combiner.David Roundy1-0/+26
darcs-hash:20070611224922-72aca-0881579ddddc2e12c9f9cb4cba9031a725a70913.gz