aboutsummaryrefslogtreecommitdiffstats
path: root/Combo.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* HierarchifySpencer Janssen2007-11-011-139/+0
| | | | darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
* Use hierarchical module names from the coreSpencer Janssen2007-11-011-2/+2
| | | | darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
* port Combo (dropping combo).David Roundy2007-11-011-54/+8
| | | | darcs-hash:20071101152915-72aca-5a3140d71085d6b46483907a51ed449b26c06c5f.gz
* add new LayoutCombinators module.David Roundy2007-10-231-1/+2
| | | | darcs-hash:20071023135638-72aca-1b19cf35b57dcbf9ed6fa023b09977f3d457fa6b.gz
* introduce new combineTwo layout combinator.David Roundy2007-10-201-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
* improvements in Combo.David Roundy2007-10-151-10/+15
| | | | darcs-hash:20071015132839-72aca-90f2480c63facfb2d0f24ce75bbcccbabe40bcf0.gz
* defaultLayouts -> layoutsSpencer Janssen2007-10-151-1/+1
| | | | darcs-hash:20071015205542-a5988-4636825868c99db4f3cfdcd6b1e361d78e393762.gz
* Various docstring fixesSpencer Janssen2007-10-141-1/+1
| | | | darcs-hash:20071013230529-a5988-22845bbae2cbbe64d774f9881cd75067d45fc6d5.gz
* Combo requires FlexibleContexts (but still doesn't compile under ghc head)Don Stewart2007-10-141-2/+2
| | | | darcs-hash:20071013230020-cba2c-abce26b8edf763174e813885b17725ac9f156f05.gz
* Add LANGUAGE pragamsShachaf Ben-Kiki2007-10-081-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
* some renaming of classes and data types.David Roundy2007-09-291-6/+6
| | | | darcs-hash:20070929191238-72aca-ceb0f2a89b35460e87cf9ff935f786b5a6028fb5.gz
* Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen2007-09-281-1/+3
| | | | darcs-hash:20070928181614-a5988-85415ed570690a468bf92cdf0f66d69494cecf4e.gz
* modifyLayout -> handleMessage.David Roundy2007-09-251-2/+2
| | | | darcs-hash:20070925182930-72aca-7941d37cac143444e9f167e3dd15944d1138a377.gz
* make Combo work with classDavid Roundy2007-09-251-26/+43
| | | | darcs-hash:20070925174417-72aca-2c2fa630e5dad47d830674799715bcf027d06022.gz
* Fixing some typos and grammar in documentation.Michael Fellinger2007-09-111-1/+1
| | | | darcs-hash:20070911023158-cbc08-aff6e14b6d1a6e11bbc530565f383d98dee77cff.gz
* Docstring parser for generating xmonad build configs with default settings ↵Alex Tarkovsky2007-09-051-1/+5
| | | | | | for extensions darcs-hash:20070905200128-bd4fb-ff90db3eb7ebce6ea75956f19ebc6c35d36c08d4.gz
* fix bug in Combo where we ignored changes in super.David Roundy2007-08-131-4/+4
| | | | darcs-hash:20070813143500-72aca-d8723648629f37b6a93e210a361b7da1cdc9123f.gz
* clean up code in Combo.David Roundy2007-06-241-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
* make everything work with new doLayout.David Roundy2007-06-231-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
* add SimpleStacking module to make Combo and Tabbed work together.David Roundy2007-06-211-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
* Combo.hs: use case instead of non-standard pattern matching.joachim.fasting2007-06-201-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
* Combo.hs: tweak usage instructions.joachim.fasting2007-06-201-1/+1
| | | | | | tabbed needs an additional argument. darcs-hash:20070620112555-ea16c-8882fd63b341e8a86604788445bd7cc6eb5cbb63.gz
* Fix type signatures.joachim.fasting2007-06-201-2/+2
| | | | | | Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
* fix leak in Combo.David Roundy2007-06-161-0/+9
| | | | | | | We leaked decorations, since UnDoLayout wasn't passed to the actual layouts that had decorations attached. :( darcs-hash:20070616191052-72aca-9a2e2315e11257f5e5e35cd3944e2a4092919c74.gz
* Combo.hs: info and documentationAndrea Rossato2007-06-141-4/+29
| | | | darcs-hash:20070614143700-32816-1f77a0f873d4683088dcadc2a4910ef1c740015f.gz
* changes to work with Stacks that can't be empty.David Roundy2007-06-121-4/+4
| | | | darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
* make combo sort of work with new doLayout.David Roundy2007-06-121-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
* add new combo layout combiner.David Roundy2007-06-121-0/+26
darcs-hash:20070611224922-72aca-0881579ddddc2e12c9f9cb4cba9031a725a70913.gz