aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Search.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-03-16fixed argument order to isPrefixOf in a couple of places in X.A.SearchJurgen Doser1-4/+4
Ignore-this: 1a613748778d07de1b459a4268ff8d55 In some places, ((!>), prefixAware, and one place in the documentation), isPrefixOf was used with wrong argument order. In particular, this made combining search engines not work as advertised, for example, the predefined search engine "multi". darcs-hash:20100316122010-89868-46a01544d9e54b8630aff04bcbf131fdb65ef1f5.gz
2009-12-22Actions/Search: added openstreetmapintrigeri1-24/+28
Ignore-this: fafc4680c8b59b7a044d995c1dacec9a darcs-hash:20091222114545-35915-57fbeafca9c63e2cc182b0fc57728a9b0590cd50.gz
2009-12-05XMonad.Actions.Search: finally fixed the internet archive search plugingwern01-4/+1
Ignore-this: c78ecebced9bc8e39e6077ffa9f9f182 darcs-hash:20091205033435-f7719-37e2258a72279fdde3da375e3408218dac567678.gz
2009-12-05XMonad.Actions.Search: in retrospect, a bit silly to make everyone go ↵gwern01-2/+2
through SSL Ignore-this: 452b4e6efb83935fc1063ab695ae074d darcs-hash:20091205033318-f7719-26d70fd5d8a110c880c3277583730a1b49190015.gz
2009-11-03XMonad.Actions.Search: imdb search URL tweak for bug #33gwern01-1/+1
Ignore-this: bae5e6d3ec6c4b6591016ece9dffb202 darcs-hash:20091103222330-f7719-da1c360d882592123e6f82ba0e131b28fbc9ee04.gz
2009-09-21Only use search history for completion in X.A.SearchDaniel Schoepe1-2/+3
Ignore-this: 807fcd4fa14a25ecc9787940f9950736 darcs-hash:20090920221455-7f603-eca315cbb45fe6bc4f34e45a7f9a00f6770119e4.gz
2009-08-08XMonad.Actions.Search: removeColonPrefix shouldn't throw an exception if no :!gwern01-1/+1
Ignore-this: db0a25c0d615c3d8cb6ef31489919d91 darcs-hash:20090808002224-f7719-27d50f4f65324ac26594f0518081817aae17353c.gz
2009-08-08XMonad.Actions.Search: clean up hasPrefix - dupe of Data.List.isPrefixOfgwern01-13/+9
Ignore-this: 3327a19e5aa23af649ce080fc38a7409 darcs-hash:20090808002120-f7719-150bdb6def1f73e6552c81bd7a64414a8177183b.gz
2009-08-08XMonad.Actions.Search: +wiktgwern01-1/+3
Ignore-this: cee8b1325820ea1f513ae18d840b4c48 darcs-hash:20090808000622-f7719-a6bf599e8473818a8d86acc23fb3e85d7bb3cb78.gz
2009-06-29X.A.Search: use the new canonical package URL for hackage searchBrent Yorgey1-1/+1
darcs-hash:20090629192455-1e371-25ce049823f9b9875943bc97d969f511dd113276.gz
2009-06-25X.A.Search: add Google "I'm feeling lucky" searchBrent Yorgey1-3/+7
Ignore-this: 98bbdd4fbf12d7cd9fad6645653cb84b darcs-hash:20090625173751-1e371-12b3cd5bf16ea72ea98a3b0db485f4642bc88e37.gz
2009-06-24Use -fwarn-tabs for test, remove tabsAdam Vogt1-2/+2
Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465 darcs-hash:20090624043831-1499c-2086e714723091fae9e3697df370a0634152f0a4.gz
2009-06-22update callers of safeSpawngwern01-1/+1
Ignore-this: 484eca17b9877f7d587fc5bce8c5ae8a darcs-hash:20090622201423-f7719-e2e02429f80ee2ef794680ebbffda67f1847835c.gz
2009-05-25X.A.Search: add Wolfram|Alpha searchBrent Yorgey1-3/+7
darcs-hash:20090525010419-1e371-ca55ed1b4c67c68e551b170d1db82270eb06341b.gz
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