aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Search.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-29XMonad.Actions.Search: fix whitespace & tabsgwern01-46/+43
Ignore-this: 894e479ccc46160848c4d70c2361c929 darcs-hash:20090129025246-f7719-506048f42e66e4f0ecc52e3dd8dc5c9b8b29da56.gz
2009-01-28xmonad-action-search-intelligent-searchenginesMichal Trybus1-13/+101
Changed the XMonad.Action.Search to use a function instead of String to prepare the search URL.Added a few useful functions used to connect many search engines together and do intelligent prefixed searches (more doc in haddock)The API has not changed with the only exception of search function, which now accepts a function instead of String. darcs-hash:20090128101938-efd8c-51eb8a2555919254dd0a3f45ade51551a5b078dd.gz
2008-12-20hlintify XUtils, XSelection, Search, WindowGogwern01-5/+5
Ignore-this: 7e877484e3cd8954b74232ea83180fa9 darcs-hash:20081220153302-f7719-750549ea12a24a7364f4be71894720700f98f6a7.gz
2008-11-06documentation: XMonad.Util.Search.hs, add EZConfig keybindings examplesean.escriva1-0/+16
darcs-hash:20081106171707-29414-80491e6712d2817887b7530ca2d6b992326f3a41.gz
2008-10-31Search.hs: +hackage search, courtesy of byorgeygwern01-2/+6
Ignore-this: 24db0ceed49f8bd37ce98ccf8f8ca2ab darcs-hash:20081031214937-f7719-06cff30d637e6065e6684557420feabe769b600d.gz
2008-10-08Actions.Search: add a few search enginesintrigeri1-2/+23
Add Debian {package, bug, tracking system} search engines, as well as Google Images and isohunt. darcs-hash:20081008104033-35915-a13f29b012ccf7cfc88c12ce28ff5369a3fa1157.gz
2008-07-01adding thesaurus.reference.com and Google Labs Code Search searchesbrian1-3/+11
darcs-hash:20080701090142-8cb90-179047a6b8aa7c55d60c5adfb138b50a4a103b28.gz
2008-06-20Actions/Search.hs: export SearchEngine constructorBrent Yorgey1-1/+1
darcs-hash:20080620212016-bd4d7-5a2934cc2e2738c78b3a6ae0eb3662a2eaeefd55.gz
2008-06-07Actions.Search.hs: switch inappropriate use of getShellCompl for a ↵gwern01-3/+3
historyCompletion 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. darcs-hash:20080607071331-f7719-1d06bd99864e561bec53dd8ab0a4742ac801a1bf.gz
2008-05-19revamp Search.hs to export a replacement for simpleEnginegwern01-35/+35
It's called searchEngine now, and is a wrapper around the SearchEngine type. Different type as well darcs-hash:20080519190912-f7719-3c66bdaa2b029ea48020f0fa26026408ff97eca5.gz
2008-05-18add site name in search prompt dialogzhen.sydow1-24/+26
darcs-hash:20080518101357-3cf16-338933be87cc99ab30b1341b1fe0d652e2628496.gz
2008-05-13add youtube to search engineszhen.sydow1-2/+6
darcs-hash:20080513212508-3cf16-7b4ce8ca8bbe1e9a3b9b3172974c38d9a2b80eb1.gz
2008-04-02Actions/Search.hs: add dictionary.com searchBrent Yorgey1-10/+14
darcs-hash:20080402150521-bd4d7-fe7567e79447a04e3b049b0d77aa97c8a3567262.gz
2008-04-01Search.hs: remove an argument from selectSearch and promptSearchgwern01-43/+57
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. darcs-hash:20080401013947-f7719-866c590c5d7c109718ed54fcdee0313550bbef40.gz
2008-03-24XMonad.Actions.Search: add Google Maps searchBrent Yorgey1-1/+5
darcs-hash:20080324143348-bd4d7-47c776a0eb91b385c9afabcc98a72e5366d346ed.gz
2008-03-16Search.hs: try to add a more descriptive typegwern01-2/+3
darcs-hash:20080316215728-f7719-c3c8ea6ab46a743ff02f909bd867d5878053988b.gz
2008-03-16Search.hs: haddock fmtgwern01-12/+12
This removes whitespace in source code snippets. Because Haddock renders quoted source code as monospaced unwrappable text, the excess whitespace meant you would have to scroll horizontally, unpleasantly. darcs-hash:20080316213914-f7719-9e03305d976a466e956b9e49181ac816a257b84c.gz
2008-01-31Search.hs: haddock cleanupBrent Yorgey1-35/+32
darcs-hash:20080131161948-bd4d7-2b3b51f5698ee4755402db7984406fa3c585fe76.gz
2008-01-31Added a handy tip to the documentation of XMonad.Actions.Searchv.dijk.bas1-1/+47
The tip explains how to use the submap action to create a handy submap of keybindings for searching. darcs-hash:20080131122620-4237f-af8af65fe7f3189e5d6d9c6b162afdf214765756.gz
2008-01-28Search.hs: add documentation and two more search engines (MathWorld and ↵Brent Yorgey1-23/+52
Google Scholar) darcs-hash:20080128190443-bd4d7-3bec2a9b8b692536ab7628ba05cef6b192926240.gz
2008-01-13Action.Search: small haddock fixesAndrea Rossato1-1/+2
darcs-hash:20080113092646-32816-c32187d1dcc7ad6fa157223a7df0e24163b97077.gz
2007-12-24XMonad.Actions.Search: haddock fixAndrea Rossato1-1/+1
darcs-hash:20071224171115-32816-436db837dd3e304190836e0633b78b1ce17a193f.gz
2007-12-24Search.hs: +docs, and export simpleEngine so users can define their owngwern01-11/+47
darcs-hash:20071224043828-f7719-f2a71c09140d2cab2fa751342bbd3416c69274d8.gz
2007-12-24Search.hs: mv into Actions/ per IRC suggestiongwern01-2/+2
darcs-hash:20071224043735-f7719-8590b54e3ee001be953ae37a0177370fbe2d6cfa.gz
2007-12-22Search.hs: add hoogleBrent Yorgey1-2/+4
darcs-hash:20071222184912-bd4d7-e7bd40a137ab360c88a92b64f413536a699294c1.gz
2007-12-22Refactor Search.hsSpencer Janssen1-43/+29
darcs-hash:20071222044714-a5988-0c4a07c1f51845086668bf5536fb6f365e204441.gz
2007-12-22Search.hs: +imdb & amazon engines for unk_redgwern01-3/+11
darcs-hash:20071222035837-f7719-b8095cedd1787f569dca705228ee2827fd66f028.gz
2007-12-20Search.hs: cleanup and refactorgwern01-29/+31
darcs-hash:20071220174001-f7719-3e10f70144f41e02c0e51b434c561c0a366a49dc.gz
2007-12-17Util/Search.hs: a few updates/fixesBrent Yorgey1-3/+6
* fix shadowing warning (ghc 6.8.2 complains) * export a few more of the functions * re-de-obfuscate generated URLs by not escaping alphanumerics or punct. darcs-hash:20071217222930-bd4d7-6b3809c471754bb03ad6f3658f9e8c7c7d2865a2.gz
2007-12-15Util.Search: import escapeURIString, and fall back on the ugly const false ↵gwern01-4/+26
hack to avoid copy-pasting even more darcs-hash:20071215211638-f7719-8d0d1d832a8a4c1f059e043e6beb2d4834bfde8f.gz
2007-12-15Remove network dependency, potentially breaking XMonad.Util.SearchSpencer Janssen1-3/+1
darcs-hash:20071214231859-a5988-d1a859a979fb4f07d068a4688abb48d54966f1f9.gz
2007-12-14Search.hs: fix shadowing warning and haddock errorsBrent Yorgey1-2/+4
darcs-hash:20071214163119-bd4d7-1307134ac9e109a8912985e25c060474c1722a52.gz
2007-12-13+XMonad.Util.Search: new modulegwern01-0/+78
This module is intended to provide helpful functions for easily running web searchs; just hit a bound key, enter your query, and up opens a new tab/browser/window with the search results. In theory anyway; the Wikipedia and Google ones work fine for me, but the Internet Archive's docs on how to do don't necessarily seem to be correct. If you were, like me, previously running shell commands to call Surfraw or similar shell scripts to do the same thing, you can now scrap them and replace them. There aren't too many search engines defined here; new ones would be good, and they're easy to add! darcs-hash:20071213205159-f7719-a0c0378f1e82af4c0b7126382ef1375fbb607dfc.gz