summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2010-02-14loc.hs: hlintifygwern0
Ignore-this: c447928ce68d0a968b55af3539c979fa darcs-hash:20100213231537-f7719-a5c1073d4a25076f08de63521bc37f5833fc7a5b
2010-01-18Correct warnings with ghc-6.12Adam Vogt
Ignore-this: a48ed095b72aedec9eeb88781ace66dc Changes include: - compatibility with base-4 or 3 (base-2 untested) by using extensible-exceptions. This adds an additional dependency for users of ghc<6.10) - list all dependencies again when -ftesting (change in Cabal-1.8.0.2) - remove unnecessary imports - suppress -fwarn-unused-do-bind, with appropriate Cabal-1.8 workaround, described here: http://www.haskell.org/pipermail/xmonad/2010-January/009554.html darcs-hash:20100118181532-1499c-5c496678ef76f2f50b43b0fc4582cfef7c237654
2008-09-11add W.shiftMaster, fix float/tile-reordering bugDevin Mullins
darcs-hash:20080911053909-78224-d050fdbedac4eb39a96f30ec0679a9b67d274091
2008-05-12add currentTag convenience functionDevin Mullins
darcs-hash:20080511224258-78224-93d0cc4af977965e2e27e96efb67a6f362ebbbc1
2008-03-23more testsDon Stewart
darcs-hash:20080323003436-cba2c-f896cff759d6413571b6c32f2a78f64e6399feea
2008-03-23some tests for the size increment handling in Operations.hsDon Stewart
darcs-hash:20080322234952-cba2c-5bc18928813ea1674988a6857a15eedde696bf7d
2008-03-22more properties for splitting horizontally and verticallyDon Stewart
darcs-hash:20080322201835-cba2c-df24122dea6b44f14c6e20ce94a79708d3a8e777
2008-03-22test message handling of Full layoutDon Stewart
darcs-hash:20080322192728-cba2c-661520de0c39367c99077e9487e0ff1054c4f024
2008-03-22QuickCheck properties to fully specify the Tall layout, and its messagesDon Stewart
darcs-hash:20080322041801-cba2c-7b768f19071ebe953f51577d3111d53b6afb3bb4
2008-03-22add hpc generation scriptDon Stewart
darcs-hash:20080322041640-cba2c-63c9e0a162cea3ea3eb919516c7875f2beecd29d
2008-03-22add QuickCheck property for Full: it produces one window, it is fullscreen, ↵Don Stewart
and it is the current window darcs-hash:20080322002026-cba2c-3642c7cb7aab09cd86ab0e7c7ac43840f0c7f1a6
2008-03-22QC for pureLayout. confirm pureLayout . Tall produces no overlapsDon Stewart
darcs-hash:20080322001229-cba2c-b9d9ced9a89cde9f5399f25355b6d43514a5bdc0
2008-03-22reenable quickcheck properties for layouts (no overlap, fullscreen)Don Stewart
darcs-hash:20080321234015-cba2c-56ead600613e43978a996f82991d6e5a6f4ca962
2008-03-10add property for ensureTags behaviour on hidden workspacesDon Stewart
darcs-hash:20080310182557-cba2c-9e539e452dbcb111fc47098dd762811c8334d4d8
2008-03-07more general properties for view, greedyViewDon Stewart
darcs-hash:20080307181657-cba2c-cbce57144f581da1aa34ef78dcadba41f7207a5d
2008-03-07bit more code coverageDon Stewart
darcs-hash:20080307180905-cba2c-723aab5ae3ca821207bdc70dbd05a8da8d1822ea
2008-02-27more tests. slightly better test coverageDon Stewart
darcs-hash:20080227180113-cba2c-74897f1ccbdc69956bd99c9a90aa3b11c469a4fe
2008-02-27test geometry settingDon Stewart
darcs-hash:20080227175554-cba2c-e4615f2c9c25cea28ab0abbdb2ce9291247069c4
2008-02-25incorrect invariant test for greedyViewDon Stewart
darcs-hash:20080225180350-cba2c-95b57af5f105496a17148c49578ae83d1e0f0a35
2008-01-19Roll testing into the main executable, use Cabal to build the testsSpencer Janssen
darcs-hash:20080119091215-a5988-8f5f48e8c40a0f39abdf6ffe4d4dc938ab8c7ef1
2007-11-01HierarchifySpencer Janssen
darcs-hash:20071101180846-a5988-25ba1c9ce37a35c1533e4075cc9494c6f7dd5ade
2007-11-01This is a massive update, here's what has changed:Spencer Janssen
* Read is no longer a superclass of Layout * All of the core layouts have moved to the new Layouts.hs module * Select has been replaced by the new statically typed Choose combinator, which is heavily based on David Roundy's NewSelect proposal for XMonadContrib. Consequently: - Rather than a list of choosable layouts, we use the ||| combinator to combine several layouts into a single switchable layout - We've lost the capability to JumpToLayout and PrevLayout. Both can be added with some effort darcs-hash:20071101064318-a5988-c07c434c7a1108078d6123a4b36040ed6597772b
2007-10-22Replace 'findIndex' with 'findTag', which more accurately describes what the ↵Brent Yorgey
function does. I realize this is a big change, but the name 'findIndex' was confusing for me, since I expected it to return some sort of integer. What it actually does, of course, is return a workspace tag, which might be more general than an index. Of course, this change breaks several contrib modules; I'll submit a patch to make the change there as well. darcs-hash:20071022204105-bd4d7-9f5d5b8ce00c61b4830fde329f528b2d79af2fa6
2007-10-15Whitespace fixes for Properties.hsSpencer Janssen
darcs-hash:20071015022757-a5988-8e5172ea769e1c99abf1cc7f7630f3aa9dd68856
2007-10-06The empty line isntcomment.Ferenc Wagner
There is a separate filter for that case. darcs-hash:20071006191231-e7ae2-b8b0c7acd3cdf6119ef6d40cc08f8d054838c306
2007-10-06add mapWorkspace testsDevin Mullins
(just completely duplicated the two mapLayout tests :) darcs-hash:20071006073129-78224-d1303612fd8e2f9ede740831b031a88914ee833a
2007-10-06comment out type error'd propertyDon Stewart
darcs-hash:20071006102225-cba2c-50bba511cd0c7de03f86b98547ca7114b1592375
2007-10-06add floating propertyDon Stewart
darcs-hash:20071006100654-cba2c-bd3552becda4ce11803c40285685230c41bcce66
2007-10-05Add mapLayoutSpencer Janssen
darcs-hash:20071004234537-a5988-504015d5c938a232d1355c0f3c602cf366c20aea
2007-10-04extract Properties module for re-use by contrib testsDevin Mullins
I want to reuse Properties' Arbitrary instance (as well as the T and NonNegative types) in an upcoming set of SwapWorkspaces QC props. `module Main where import Main` doesn't work too well. :) If this patch is accepted, the darcs 'test' pref should be modified to "-itests tests/Main.hs". darcs-hash:20071004075852-78224-6f84d89566894e33266a7c3b4d0cde5be7ec2918
2007-10-01Add StackSet.allWindowsSpencer Janssen
darcs-hash:20071001163959-a5988-243d115545b70eafcaaedd9440ddf525ea15aa32
2007-09-30deeper test for differentiate. back to 100% coverageDon Stewart
darcs-hash:20070930075018-cba2c-48c2b170e452ef6db4957c1088ef9ab4d42a7505
2007-09-30properties for tag renamingDon Stewart
darcs-hash:20070930074641-cba2c-f0ba43bf6d62f372dfee8dfdadf4fe66677e0510
2007-09-30test lookupWorkspace more deeplyDon Stewart
darcs-hash:20070930073822-cba2c-7b661e5bdbdcf99b64f785897af2ecc4278471ea
2007-09-29100% coverage of alternative branchesDon Stewart
darcs-hash:20070928235745-cba2c-c8d9bd87100da803d11d00300bfd6486bbc29911
2007-09-29add some more properties for failure casesDon Stewart
darcs-hash:20070928233230-cba2c-291d995afedb1c3d1cf1ac4f8e69170b24029551
2007-09-20add (unused) Layout to StackSet.David Roundy
darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab
2007-09-28add prop for 'differentiate'Don Stewart
darcs-hash:20070927231928-cba2c-84668ba6dab69541e063eaabf57724c13a28a916
2007-09-28new QC properties: floating a window is reversible, screens includes current ↵Don Stewart
screen darcs-hash:20070927220431-cba2c-1f2e67435aec367ee45d0bcbf1e9178f83ff8a71
2007-09-27Add 3 QC properties for focusMaster: local, idempotent, preserves invariantDon Stewart
darcs-hash:20070927214401-cba2c-4d5e8646bcc9d21b844f56e7cea13b9af26de7c1
2007-09-10Fix float behaviour, add shiftWin.Karsten Schoelzel
First, if float is called with window which is on a hidden workspace, then the window will remain on that hidden workspace. Now the focus should change more as expected: float w = (view current) . (shiftWin ws w) where current is the current screen/workspace shiftWin ws w is: - view the workspace w is on - set focus on w - shift ws - set focus back to window it was on that workspace unless w was focused shiftWin was add to StackSet.hs darcs-hash:20070910090329-eb3a1-ae150bf783b36fb4811e92d81b4917066c8733b7
2007-08-15Add greedyView, make it the default action for mod-werSpencer Janssen
darcs-hash:20070815025504-a5988-00ff316a056c48cc07c5e90925702d2ac09ae666
2007-07-28QuickCheck filter preserves orderKarsten Schoelzel
darcs-hash:20070728184534-eb3a1-68bbf44ab26db69a4aa75fb97cb516ebf6c963bb
2007-06-29Move screen details into StackSetSpencer Janssen
darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2
2007-06-26add 2 properties to state where focus goes on delete of focused windowDon Stewart
darcs-hash:20070626040907-9c5c1-397ec2ac01fda2e3f307605bf0f765bbc5724350
2007-06-14make workspace tag not need to be a Num.David Roundy
This change also removes the barely used 'size' field, and replaces it with a tagMember predicate. The idea is to move towards the ability to make the workspace tag be a String, which by default might be "1".."9", but could also be customized to be something meaningful to the user. darcs-hash:20070614140709-72aca-dbc1ce07bf964e4cff69deef95b453a0051ef782
2007-06-12make focus, up and down complete functions.David Roundy
This is a rerun of my change to make (Stack a) never be empty. Gives us more type-safety. darcs-hash:20070612150555-72aca-5f6e43aa33979c71679a73b44d93f9e2b8f9d2a8
2007-06-11Add StackSet.filterSpencer Janssen
darcs-hash:20070611165154-a5988-8c46751ffd4bd03249656e3b467b8e7569c48b09
2007-05-31remove LOC cap (but still print count after tests)Jason Creighton
darcs-hash:20070531043417-b9aa7-ac2c024e0ece4c9119e7e493d37b95e56cdea85d
2007-05-26HEADS UP: change key binding for swapLeft/Right and IncMasterDon Stewart
The use of arrow keys for swapLeft/Right clash with firefox's back button. Use the more intuitive mod-shift-jk for this. (It's a movement operation, after all). This clashes with IncMaster, so we use mod+comma and mod+period for these (i.e. the keys mod < and mod > , to move windows to and from the master area). While we're here, replace the use of the terms 'left' and 'right' for navigation, in comments and identifiers, with 'up' and 'down' instead. Hence mod-j == focusDown. Far more intuitive for people (dons) who live in fullscreen mode and have vim movement wired into their central nervous system. Principle of least VI surprise: movement down or up means using j and k. darcs-hash:20070526111453-9c5c1-3242145ee5b51eb070a7dc3663f0d6cc01671d5c