manatee-anything 0.0.2 → 0.0.3
raw patch · 6 files changed
+38/−10 lines, 6 filesdep ~manatee-coresetup-changed
Dependency ranges changed: manatee-core
Files
- Manatee/Plugin/Anything/Anything.hs +3/−2
- Manatee/Plugin/Anything/AnythingBufferHistory.hs +1/−1
- Manatee/Plugin/Anything/AnythingIrc.hs +1/−1
- Manatee/Plugin/Anything/AnythingLocate.hs +4/−4
- Setup.hs +18/−0
- manatee-anything.cabal +11/−2
Manatee/Plugin/Anything/Anything.hs view
@@ -72,12 +72,13 @@ ,("Open RFC", search encodeUrl "http://www.ietf.org/rfc/rfc") ,("Open goo.gl link", search encodeUrl "http://goo.gl/") ]- where search encodeFun url client = mkDaemonSignal client NewTab (NewTabArgs "PageBrowser" (url ++ encodeFun keyword))+ where search encodeFun url client = + mkDaemonSignal client NewTab (NewTabArgs "PageBrowser" (url ++ encodeFun keyword) []) -- | Open uri. anythingOpenUri :: String -> Client -> IO () anythingOpenUri uri client = - mkDaemonSignal client NewTab (NewTabArgs "PageBrowser" uri)+ mkDaemonSignal client NewTab (NewTabArgs "PageBrowser" uri []) -- | Concat keywords by "+". concatKeywords :: String -> String
Manatee/Plugin/Anything/AnythingBufferHistory.hs view
@@ -85,4 +85,4 @@ -- | Open buffer. anythingBufferHistoryOpenBuffer :: PageType -> String -> Client -> IO () anythingBufferHistoryOpenBuffer pageType pagePath client =- mkDaemonSignal client NewTab (NewTabArgs pageType pagePath)+ mkDaemonSignal client NewTab (NewTabArgs pageType pagePath [])
Manatee/Plugin/Anything/AnythingIrc.hs view
@@ -56,4 +56,4 @@ -- | Open uri. anythingIrcJoinChannel :: String -> Client -> IO () anythingIrcJoinChannel info client = - mkDaemonSignal client NewTab (NewTabArgs "PageIrc" info)+ mkDaemonSignal client NewTab (NewTabArgs "PageIrc" info [])
Manatee/Plugin/Anything/AnythingLocate.hs view
@@ -103,7 +103,7 @@ (maybeError (fileInfoGetContentType info) "anythingInteractiveDirectorySearch - fileInfoGetContentType.") (fileInfoGetFileType info)- (formatFileSizeForDisplay $ toInteger $ fileInfoGetSize info)) + (formatFileSizeForDisplay (toInteger $ fileInfoGetSize info) 2)) $ (\x -> if filterDir then filter (\x -> fileInfoGetFileType x == FileTypeDirectory) x@@ -144,14 +144,14 @@ -- | Open file. anythingLocateActionOpenFile :: FilePath -> Client -> IO () anythingLocateActionOpenFile path client = - mkDaemonSignal client NewTab (NewTabArgs "PageEditor" path)+ mkDaemonSignal client NewTab (NewTabArgs "PageEditor" path []) -- | Open directory. anythingLocateActionOpenDirectory :: FilePath -> Client -> IO () anythingLocateActionOpenDirectory path client = - mkDaemonSignal client NewTab (NewTabArgs "PageFileManager" path)+ mkDaemonSignal client NewTab (NewTabArgs "PageFileManager" path []) -- | Play directory. anythingLocateActionPlayDirectory :: FilePath -> Client -> IO () anythingLocateActionPlayDirectory path client = - mkDaemonSignal client NewTab (NewTabArgs "PagePlayer" path)+ mkDaemonSignal client NewTab (NewTabArgs "PagePlayer" path [])
Setup.hs view
@@ -1,3 +1,21 @@+-- Author: Andy Stewart <lazycat.manatee@gmail.com>+-- Maintainer: Andy Stewart <lazycat.manatee@gmail.com>+-- +-- Copyright (C) 2010 Andy Stewart, all rights reserved.+-- +-- This program is free software: you can redistribute it and/or modify+-- it under the terms of the GNU General Public License as published by+-- the Free Software Foundation, either version 3 of the License, or+-- any later version.+-- +-- This program is distributed in the hope that it will be useful,+-- but WITHOUT ANY WARRANTY; without even the implied warranty of+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+-- GNU General Public License for more details.+-- +-- You should have received a copy of the GNU General Public License+-- along with this program. If not, see <http://www.gnu.org/licenses/>.+ import Distribution.Simple main = defaultMain
manatee-anything.cabal view
@@ -1,11 +1,20 @@ name: manatee-anything-version: 0.0.2+version: 0.0.3 Cabal-Version: >= 1.6 license: GPL-3 license-file: LICENSE copyright: (c) 2009 ~ 2010 Andy Stewart synopsis: Multithread interactive input/search framework for Manatee description: manatee-anything is interactive plugin for Manatee (Haskell/Gtk+ Integrated Live Environment)+ . + Manual look <http://haskell.org/haskellwiki/Manatee>+ .+ Screenshot at <http://goo.gl/MkVw>+ .+ IRC channel: + .+ irc.freenode.net 6667 <##manatee>+ . author: Andy Stewart maintainer: Andy Stewart <lazycat.manatee@gmail.com> stability: provisional@@ -20,7 +29,7 @@ Library build-depends: base >= 4 && < 5, gtk >= 0.12.0, containers >= 0.3.0.0, text >= 0.7.1.0,- gio >= 0.12.0, filepath >= 1.1.0.3, manatee-core >= 0.0.2, dbus-client >= 0.3 && < 0.4,+ gio >= 0.12.0, filepath >= 1.1.0.3, manatee-core >= 0.0.3, dbus-client >= 0.3 && < 0.4, network >= 2.2.1.5, utf8-string >= 0.3.4, proc >= 0.0.8, mtl >= 1.1.0.2, stm >= 2.1.2.0, unix >= 2.4.0.0, regex-tdfa >= 1.1.2, bytestring, GoogleSuggest >= 0.0.3, dataenc, dbus-core, split