Hello community, here is the log from the commit of package hscolour for openSUSE:Factory checked in at 2016-05-31 12:24:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hscolour (Old) and /work/SRC/openSUSE:Factory/.hscolour.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hscolour" Changes: -------- --- /work/SRC/openSUSE:Factory/hscolour/hscolour.changes 2015-08-23 17:40:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hscolour.new/hscolour.changes 2016-05-31 12:24:20.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jan 27 22:46:23 UTC 2016 - mimi...@gmail.com + +- update to 1.24 +* support anchors for type/data families + +------------------------------------------------------------------- Old: ---- hscolour-1.23.tar.gz New: ---- hscolour-1.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hscolour.spec ++++++ --- /var/tmp/diff_new_pack.C30kxR/_old 2016-05-31 12:24:21.000000000 +0200 +++ /var/tmp/diff_new_pack.C30kxR/_new 2016-05-31 12:24:21.000000000 +0200 @@ -22,7 +22,7 @@ %global ghc_without_dynamic 1 Name: hscolour -Version: 1.23 +Version: 1.24 Release: 0 Summary: Colorise Haskell code License: GPL-2.0 ++++++ hscolour-1.23.tar.gz -> hscolour-1.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hscolour-1.23/Language/Haskell/HsColour/Anchors.hs new/hscolour-1.24/Language/Haskell/HsColour/Anchors.hs --- old/hscolour-1.23/Language/Haskell/HsColour/Anchors.hs 2015-05-11 14:18:07.000000000 +0200 +++ new/hscolour-1.24/Language/Haskell/HsColour/Anchors.hs 2016-01-25 21:09:47.000000000 +0100 @@ -76,8 +76,12 @@ ((Varop,v):_) | not (v`inST`st) -> Just (fix v) _ -> Nothing identifier st t@((Keyword,"foreign"):stream) = Nothing -- not yet implemented +identifier st t@((Keyword,"data"):(Space,_):(Keyword,"family"):stream) + = getConid stream identifier st t@((Keyword,"data"):stream) = getConid stream identifier st t@((Keyword,"newtype"):stream) = getConid stream +identifier st t@((Keyword,"type"):(Space,_):(Keyword,"family"):stream) + = getConid stream identifier st t@((Keyword,"type"):stream) = getConid stream identifier st t@((Keyword,"class"):stream) = getConid stream identifier st t@((Keyword,"instance"):stream)= getInstance stream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hscolour-1.23/Language/Haskell/HsColour/Classify.hs new/hscolour-1.24/Language/Haskell/HsColour/Classify.hs --- old/hscolour-1.23/Language/Haskell/HsColour/Classify.hs 2015-05-11 14:18:07.000000000 +0200 +++ new/hscolour-1.24/Language/Haskell/HsColour/Classify.hs 2016-01-25 21:09:47.000000000 +0100 @@ -126,7 +126,7 @@ ["case","class","data","default","deriving","do","else","forall" ,"if","import","in","infix","infixl","infixr","instance","let","module" ,"newtype","of","qualified","then","type","where","_" - ,"foreign","ccall","as","safe","unsafe"] + ,"foreign","ccall","as","safe","unsafe","family"] keyglyphs = ["..","::","=","\\","|","<-","->","@","~","=>","[","]"] layoutchars = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hscolour-1.23/hscolour.cabal new/hscolour-1.24/hscolour.cabal --- old/hscolour-1.23/hscolour.cabal 2015-05-11 14:18:07.000000000 +0200 +++ new/hscolour-1.24/hscolour.cabal 2016-01-25 21:09:47.000000000 +0100 @@ -1,6 +1,6 @@ Name: hscolour -Version: 1.23 -Copyright: 2003-2015 Malcolm Wallace; 2006 Bjorn Bringert +Version: 1.24 +Copyright: 2003-2016 Malcolm Wallace; 2006 Bjorn Bringert Maintainer: Malcolm Wallace Author: Malcolm Wallace Homepage: http://code.haskell.org/~malcolm/hscolour/ @@ -51,7 +51,7 @@ Main-is: HsColour.hs --ghc-options: -O -W Extensions: CPP - cpp-options: -DMAJOR=1 -DMINOR=22 + cpp-options: -DMAJOR=1 -DMINOR=24