aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/GridSelect.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-23Add rearrangers to X.A.GridSelectDmitri Iouchtchenko1-9/+59
Ignore-this: ef0dc68e9b725953e69e7b039fe06e9a darcs-hash:20130123044038-7d114-7a88df05510284aaddcd86c375894079912ed30f.gz
2013-01-23Avoid repainting elements in X.A.GridSelectDmitri Iouchtchenko1-11/+21
Ignore-this: 8e926cebc8d458a06a05f7457ae40b68 darcs-hash:20130123043850-7d114-908a346dd3d8a84cd896fcde1505d41284f01795.gz
2013-01-21Give a name to the initial state in X.A.GridSelectDmitri Iouchtchenko1-14/+14
Ignore-this: 989ae20ccc3d5b1392f0694d5c62e759 darcs-hash:20130121061324-7d114-34eccd0ee4c75b38d6203f4a2ee083cbdeab110e.gz
2013-05-28use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner1-6/+12
Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
2012-05-01Fixed X.A.GridSelect to be consistent in the way it (now) sorts the shownJesper Reenberg1-6/+34
Ignore-this: 1d0991f9fb44e42f5d1c5a4f427ea661 elements when modifying the searchString. The implemented ordering sorts based on how "deep the needle is in the haystack", meaning that searching for "st" in the elements "Install" and "Study" will order them as "Study" and "Install". Previously there was no ordering and when using GridSelect to select workspaces, the ordering was not consistent, as the list of workspaces (if not modified manually) is ordered by last used. In this case either "Study" or "Install" would come first depending on which workspace was last visited. darcs-hash:20120501180415-abfbf-31b5c20e65c1ddb5835c61259d363fd3f67f471b.gz
2011-11-18Export types to improve haddock links.Adam Vogt1-1/+4
Ignore-this: 254c5a6941009701dc444043b0eeace5 darcs-hash:20111118190642-1499c-5861d33fcb55726865d62a67a00c91f68564ae2d.gz
2011-11-15get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner1-2/+2
Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
2011-05-15add-movenext-moveprev-bindingsBen Boeckel1-17/+23
Ignore-this: 2ad1ce1de0c2954b2946551dd62e6b3b Adds default bindings to GridSelect for the moveNext and movePrev motions. darcs-hash:20110515193326-24e3f-6ee8e182ecb4ba179bf038cef88e1d8d78f05e75.gz
2011-05-15Extend GridSelect navigationIlya Portnov1-1/+26
Ignore-this: f2d279b8e46e6eaf3477fdc5cf77be63 Add moveNext and movePrev, which move selection to next/previous item. darcs-hash:20110515154246-c5067-e117b3d5753e868963b36a10d2e17ccc427a97b7.gz
2011-01-20Fix A.Gridselect image links (thanks dobblego)Adam Vogt1-2/+2
Ignore-this: e2b334e13c5900a72daff866270b13db darcs-hash:20110119230113-1499c-af661ea21a9b925d5ec2f2f5ed05497b25b73387.gz
2010-11-16Rename state in A.Gridselect to avoid name shadowing (mtl-2)Adam Vogt1-23/+22
Ignore-this: cd81e11ae9f5372ddd71f0c2b60675d5 darcs-hash:20101115232222-1499c-679e09cc62a0e689dd8025e9c996db2fef0b4b0d.gz
2010-11-02Substring search support for X.A.GridSelect. As keymaps get more complicated ↵Clemens Fruhwirth1-78/+181
to support different styles, the gs_navigate element is fundamentially changed. Ignore-this: 95610ac8eb781cd74f6c3ce9e36ec039 darcs-hash:20101102211213-ed0c4-283fe8b940c07c5bdb72aedbf681f8e450405cfc.gz
2010-10-16Make substring search case insensitiveClemens Fruhwirth1-1/+3
Ignore-this: dce1ae9e4164c24447ae9c79c4557f11 darcs-hash:20101016212904-ed0c4-97eb2fdce04a77c3ea64a65e4bd5074ee6256453.gz
2010-10-16Introduce grayoutAllElements in X.A.GridSelectClemens Fruhwirth1-1/+13
Ignore-this: 78ca0416b12a49965db876c77e02387f darcs-hash:20101016212559-ed0c4-081f1b143a7935f5e1336442c78cf0654c357fe9.gz
2010-10-16Add substring filter to td_elementmapClemens Fruhwirth1-2/+5
Ignore-this: d28b7173095c504ae0e9209303e4468a darcs-hash:20101016183644-ed0c4-224c6bb4365206fa99911254c07861bc97b5f164.gz
2010-10-16Refactor for ad-hoc element and position matching turning td_elementmap into ↵Clemens Fruhwirth1-4/+11
a function using the new td_availSlot and td_elements fields Ignore-this: 85e644a27395e97315efd1ed7a926da8 darcs-hash:20101016183554-ed0c4-b06a89b9c704034777dfa622093d64d25ed507ab.gz
2010-10-16Remove nub from diamondLayer in X.A.GridSelectClemens Fruhwirth1-5/+7
Ignore-this: fe290f3712fa1e122e0123d3f87f418b darcs-hash:20101016183132-ed0c4-9a57a5a4047fc12a15ca000455608b52db8f52d5.gz
2010-10-16Convert access of td_elementmap from field styled to function call styled in ↵Clemens Fruhwirth1-8/+9
X.A.GridSelect Ignore-this: b46942bf7ca0bd451b0b402ea8b01bf7 darcs-hash:20101016164757-ed0c4-15dcefcef583e40f4b8f0cb37518bc70a909dcb4.gz
2010-10-16Make use of field names when constructing TwoDState in X.A.GridSelectClemens Fruhwirth1-8/+7
Ignore-this: 17d947c11e6cb4c64e04fd4754568337 darcs-hash:20101016164151-ed0c4-288ca4d4b5be15053a2ee2486d0e6ef80ece2ac1.gz
2009-12-11X.A.GridSelect: documentation typo fixTomas Janousek1-2/+2
Ignore-this: 521bef2a73a9e969d7a96defb555177b spotted by Justin on IRC darcs-hash:20091211182515-c9ff5-01b20f90615b7f88f1c61f521a2e60f8670777af.gz
2009-12-10A.GridSelect shouldn't grab keys if there are no choices.Adam Vogt1-0/+1
Ignore-this: 48509f780120014a10b32e7289369f32 Thanks thermal2008 in #xmonad for bringing up the corner case when gridselect is run with an empty list of choices. darcs-hash:20091210183038-1499c-b1c6ae201f7ce908ad09274cef7dd10fe83dd5c2.gz
2009-11-12Rename gridselectViewWorkspace to gridselectWorkspace, add another example.Adam Vogt1-3/+7
Ignore-this: 462cf1c7f66ab97a1ce642977591a910 The name should be more general to suggest uses other than just viewing other workspaces. darcs-hash:20091112211435-1499c-f81d9c42117c42149d6fe9e7b0a87e6f3e19e19b.gz
2009-11-09Add gridselectViewWorkspace in X.A.GridSelectDaniel Schoepe1-0/+9
Ignore-this: 5543211e9e3fd325cb798b004635a525 darcs-hash:20091109155815-7f603-3268ca3679728a4493365b98bdfef4066f8fef0f.gz
2009-11-01Inline tupadd function in A.GridSelectAdam Vogt1-4/+1
Ignore-this: 458968154303ab865c304f387d6ac83b darcs-hash:20091101190312-1499c-a5e820382dbbbfca077f99f94e51b98ac3a2e760.gz
2009-10-22Refer to modm as the current modMaskAdam Vogt1-4/+4
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
2009-10-22Clean keymask in GridSelect(solves issue 318)Daniel Schoepe1-2/+4
Ignore-this: 2c315539bf1ae8c427b7856b5fdb2e49 darcs-hash:20091021223404-7f603-1e20667b6fbcc50ada28c9de6059b13914b7357d.gz
2009-10-16More docs formatting in A.GridSelectAdam Vogt1-2/+2
Ignore-this: a0a489c2b65fa2d755b4aca544c3d73a darcs-hash:20091016203132-1499c-00d2fe4ddf6c45555a054a947205c5182c40952d.gz
2009-10-16In A.GridSelect correct haddocksAdam Vogt1-20/+26
Ignore-this: f7f714c42544d9230eb9c9bec86cd36a darcs-hash:20091016171159-1499c-7b4594a01321d4b8cf861a0fe1024e901015e7ee.gz
2009-10-05Rearrange the GSCONFIG class in A.GridselectAdam Vogt1-28/+93
Ignore-this: 875080c8beabb81e19de44f7e60ca19d darcs-hash:20091005023227-1499c-76b8edd76add0171cc2216ac38d8937e03b05cec.gz
2009-10-03Add a GSCONFIG class to overload defaultGSConfig.Adam Vogt1-14/+30
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 darcs-hash:20091003193804-1499c-ae124fc732c4bc956ace090b57681f2463441990.gz
2009-10-04Add a screenshots section in the A.GridSelect haddocksAdam Vogt1-4/+13
Ignore-this: be358c0173df3d02b45526c134604f4e darcs-hash:20091004160816-1499c-b4ab2eac8d068054c52ae83a84e2f551db40f340.gz
2009-10-03Group functions in GridSelect haddock, add an inline screenshot.Adam Vogt1-4/+14
Ignore-this: 3c6f1c5aff4fe197aa965cbda23e1be7 darcs-hash:20091003181927-1499c-47cad25da8ad20cafdf323d4871432d144b26c64.gz
2009-09-30Extended GridSelectJan Vornberger1-9/+24
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) darcs-hash:20090930152741-594c5-5ae95ac1fb5ca2b22d245e9affb21832cc55b313.gz
2009-08-09Replace nextEvent with maskEvent to prevent GridSelect from swallowing ↵Clemens Fruhwirth1-1/+1
unrelated events (such as map/unmap) Ignore-this: 6c3bc2487e4f011e0febe0935c223f2 darcs-hash:20090809131055-ed0c4-983bd18467496e2736ef99904d8fdb5392855517.gz
2009-07-27Revert to old behavior where unmatched keys do not exit the eventloop for ↵Adam Vogt1-3/+2
A.GridSelect Ignore-this: 936cfd1e1b6243ced54e356f8067fac darcs-hash:20090727012302-1499c-4bd45b322d0d86cf6afd00e027a6a40f5647c777.gz
2009-07-26Make direction keybindings configurable in A.GridSelectAdam Vogt1-30/+54
Ignore-this: 9cd675485270ccebec22df72eea40578 darcs-hash:20090726020438-1499c-f1865b69c443ceaa38b54d4fcf5e0c2d9bfe609d.gz
2009-07-05Remove trailing whitespace from many modulesAdam Vogt1-5/+5
Ignore-this: 1e28ff0974578d329bd3d593c1a5125e darcs-hash:20090705201205-1499c-581bd0bb43ab6096eccded6edbd54a7a2007b0d9.gz
2009-04-22Update haddock description for Actions.GridSelectDaniel Schoepe1-2/+2
Ignore-this: db5a2c009f7e88647f168ccb225d6219 darcs-hash:20090422172510-cb1c6-69b4896adbdc1014e1f9b70fe0f15f65529ddd5a.gz
2009-04-10Mouse support for GridSelectDaniel Schoepe1-1/+13
Ignore-this: 38669e39c8676233d71f457c0b697500 GridSelect now allows selecting an element by a click with the left mouse button. darcs-hash:20090409223302-cb1c6-7b62d240e030889ce5e8814e081a1a1986e27cba.gz
2009-04-09Generalize GridSelect to arbitrary elementsDaniel Schoepe1-80/+99
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'). darcs-hash:20090409155704-cb1c6-082fb77e1749c25eab2aeca3db7148b939b11a6d.gz
2009-01-28Easier Colorizers for X.A.GridSelectquentin.moser1-8/+54
Ignore-this: df3e0423824e40537ffdb4bc7363655d darcs-hash:20090128001702-5ccef-d2c340849172f1672f2c71ba9eb043f13924ebc4.gz
2008-12-01Fix boolean operator precedence in GridSelect keybindingsAleksandar Dimitrov1-4/+4
The vim-like hjkl keys were ORed to the key event AND arrow keys. darcs-hash:20081201120928-62c0c-d4e57aca38d45519691a73c1a2f41eb6269239d6.gz
2008-11-22GridSelect.hs: navigate grid with h,j,k,l as well as arrow keyssean.escriva1-4/+4
darcs-hash:20081122084725-29414-872e8669c51462d047d726504e4e34042884ce0b.gz
2008-11-12GridSelect: Export default_colorizerDominik Bruhn1-1/+2
darcs-hash:20081112140005-ae55e-ea4627b98e083a8a02d0d1828149bf20de14fa7e.gz
2008-11-12Simplify code for restriction-calculation and remove compiletime warningsDominik Bruhn1-2/+4
darcs-hash:20081112134630-ae55e-ef7a0d2837203d784d8298f1d65f49bdffc7400f.gz
2008-11-11Simplify handle/eventLoop, introduce findInWindowMap, partial updates for ↵Clemens Fruhwirth1-38/+62
key movements (less flickering) * 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. darcs-hash:20081111100405-ed0c4-bd24b3e2c9ecbf8183582700d73bc61e64b503f5.gz
2008-11-11GridSelect: force cursor stay in visible areaRoman Cheplyaka1-3/+5
darcs-hash:20081111063348-3ebed-734bfca5f5207d2da0cfaf98e67d2fe959bfcb97.gz
2008-11-11GridSelect: fix infiniteness problem with diamondRestrictRoman Cheplyaka1-10/+2
darcs-hash:20081111055350-3ebed-ae3b880139b196938fbc532196dc13ec0c46cd1c.gz
2008-11-11GridSelect: remove tabsRoman Cheplyaka1-61/+61
darcs-hash:20081111053647-3ebed-5450725a6859c12fd9b1625228b5252664254df6.gz
2008-11-10Exported shrinkWhile from Decoration to use in GridSelectRoman Cheplyaka1-11/+0
darcs-hash:20081110191534-3ebed-aad022b55c2e295f1652358de879a40d9f970ac4.gz