[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmonad
Subject:    [xmonad] [patch] recompile correctly identifying source files in ~/.xmonad/lib
From:       David McLean <gopsychonauts () gmail ! com>
Date:       2012-03-15 23:48:55
Message-ID: CAJnbmRSNaKFB8RqSn2zv8aYG4QfX8m_BeVr3OkJSq4dhaLOdQg () mail ! gmail ! com
[Download RAW message or body]

["recompile_lib.dpatch" (application/octet-stream)]

1 patch for repository http://code.haskell.org/xmonad:

Tue Mar 13 12:52:51 EST 2012  gopsychonauts@gmail.com
  * recompile correctly identifying source files in ~/.xmonad/lib


New patches:

[recompile correctly identifying source files in ~/.xmonad/lib
gopsychonauts@gmail.com**20120313015251
 Ignore-this: 2c0a25931ce89a963cd477940b06d93d
] {
hunk ./XMonad/Core.hs 53
 import Graphics.X11.Xlib
 import Graphics.X11.Xlib.Extras (Event)
 import Data.Typeable
-import Data.List ((\\))
+import Data.List ((\\), isSuffixOf )
 import Data.Maybe (isJust,fromMaybe)
 import Data.Monoid
 
hunk ./XMonad/Core.hs 480
         return (status == ExitSuccess)
       else return True
  where getModTime f = catch (Just <$> getModificationTime f) (\(SomeException _) -> return Nothing)
-       isSource = flip elem [".hs",".lhs",".hsc"]
+       isSource file = any (`isSuffixOf` file) [".hs",".lhs",".hsc"]
        allFiles t = do
             let prep = map (t</>) . Prelude.filter (`notElem` [".",".."])
             cs <- prep <$> catch (getDirectoryContents t) (\(SomeException _) -> return [])
}

Context:

[Drop PlainConfig from HCAR.tex: it doesn't exist in contrib.
Adam Vogt <vogt.adam@gmail.com>**20111211004405
 Ignore-this: f74f35fd01b64009237137faaf3299ca
 
 The code for that moved out to a separate project:
 http://braincrater.wordpress.com/2008/08/28/announcing-xmonad-light/
] 
[HCAR: update module count, date, versions, maintainer
gwern0@gmail.com**20111204025931
 Ignore-this: 4fb9d34c3e38a67d0d61ec09b744104
] 
[Minor updates to supporting files (for 0.10 release).
Adam Vogt <vogt.adam@gmail.com>**20111118231324
 Ignore-this: 412282a6d392063b9b67636735617700
] 
[TAG 0.10
Adam Vogt <vogt.adam@gmail.com>**20111118195722
 Ignore-this: b36d5585229493c07b2de5362942db9b
] 
Patch bundle hash:
fe32d76c0d32f3663fbc02488a534daec343e8a4


_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic