Hello community, here is the log from the commit of package ghc-blaze-html for openSUSE:Factory checked in at 2018-07-24 17:13:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-blaze-html (Old) and /work/SRC/openSUSE:Factory/.ghc-blaze-html.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-blaze-html" Tue Jul 24 17:13:41 2018 rev:13 rq:623732 version:0.9.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-blaze-html/ghc-blaze-html.changes 2018-05-30 12:23:55.468972234 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-blaze-html.new/ghc-blaze-html.changes 2018-07-24 17:13:46.246634080 +0200 @@ -1,0 +2,19 @@ +Wed Jul 18 14:26:16 UTC 2018 - [email protected] + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Fri Jul 13 14:32:23 UTC 2018 - [email protected] + +- Update blaze-html to version 0.9.1.1. + - 0.9.1.1 (2018-06-12) + * Fix generated source code on Hackage + + - 0.9.1.0 + * Add `u` element to HTML5 + * Add `role` attribute to HTML5 + * Bump HUnit dependency to 1.6 + * Bump QuickCheck dependency to 2.11 + +------------------------------------------------------------------- @@ -94 +112,0 @@ - Old: ---- blaze-html-0.9.0.1.tar.gz New: ---- blaze-html-0.9.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-blaze-html.spec ++++++ --- /var/tmp/diff_new_pack.e96YwU/_old 2018-07-24 17:13:47.782636074 +0200 +++ /var/tmp/diff_new_pack.e96YwU/_new 2018-07-24 17:13:47.786636079 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-blaze-html # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name blaze-html %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.9.0.1 +Version: 0.9.1.1 Release: 0 Summary: A blazingly fast HTML combinator library for Haskell License: BSD-3-Clause ++++++ blaze-html-0.9.0.1.tar.gz -> blaze-html-0.9.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/CHANGELOG new/blaze-html-0.9.1.1/CHANGELOG --- old/blaze-html-0.9.0.1/CHANGELOG 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/CHANGELOG 2018-06-12 16:15:06.000000000 +0200 @@ -1,5 +1,14 @@ # Changelog +- 0.9.1.1 (2018-06-12) + * Fix generated source code on Hackage + +- 0.9.1.0 + * Add `u` element to HTML5 + * Add `role` attribute to HTML5 + * Bump HUnit dependency to 1.6 + * Bump QuickCheck dependency to 2.11 + - 0.9.0.1 * Fix CHANGELOG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/blaze-html.cabal new/blaze-html-0.9.1.1/blaze-html.cabal --- old/blaze-html-0.9.0.1/blaze-html.cabal 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/blaze-html.cabal 2018-06-12 16:14:40.000000000 +0200 @@ -1,5 +1,5 @@ Name: blaze-html -Version: 0.9.0.1 +Version: 0.9.1.1 Homepage: http://jaspervdj.be/blaze Bug-Reports: http://github.com/jaspervdj/blaze-html/issues License: BSD3 @@ -64,13 +64,20 @@ Ghc-options: -Wall Other-modules: + Text.Blaze.Html + Text.Blaze.Html.Renderer.String + Text.Blaze.Html.Renderer.Text + Text.Blaze.Html.Renderer.Utf8 Text.Blaze.Html.Tests Text.Blaze.Html.Tests.Util + Text.Blaze.Html5 + Text.Blaze.Html5.Attributes + Util.Sanitize Util.Tests Build-depends: - HUnit >= 1.2 && < 1.6, - QuickCheck >= 2.4 && < 2.10, + HUnit >= 1.2 && < 1.7, + QuickCheck >= 2.4 && < 2.12, containers >= 0.3 && < 0.6, test-framework >= 0.4 && < 0.9, test-framework-hunit >= 0.3 && < 0.4, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/src/Text/Blaze/Html5/Attributes.hs new/blaze-html-0.9.1.1/src/Text/Blaze/Html5/Attributes.hs --- old/blaze-html-0.9.0.1/src/Text/Blaze/Html5/Attributes.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/src/Text/Blaze/Html5/Attributes.hs 2018-06-12 16:13:18.000000000 +0200 @@ -146,6 +146,7 @@ , rel , required , reversed + , role , rows , rowspan , sandbox @@ -2705,6 +2706,24 @@ -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:249 +-- +-- | Combinator for the @role@ attribute. +-- +-- Example: +-- +-- > div ! role "bar" $ "Hello." +-- +-- Result: +-- +-- > <div role="bar">Hello.</div> +-- +role :: AttributeValue -- ^ Attribute value. + -> Attribute -- ^ Resulting attribute. +role = attribute "role" " role=\"" +{-# INLINE role #-} + +-- WARNING: The next block of code was automatically generated by +-- src/Util/GenerateHtmlCombinators.hs:249 -- -- | Combinator for the @rows@ attribute. -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/src/Text/Blaze/Html5.hs new/blaze-html-0.9.1.1/src/Text/Blaze/Html5.hs --- old/blaze-html-0.9.0.1/src/Text/Blaze/Html5.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/src/Text/Blaze/Html5.hs 2018-06-12 16:13:18.000000000 +0200 @@ -111,6 +111,7 @@ , title , tr , track + , u , ul , var , video @@ -2005,6 +2006,24 @@ -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 +-- +-- | Combinator for the @\<u>@ element. +-- +-- Example: +-- +-- > u $ span $ toHtml "foo" +-- +-- Result: +-- +-- > <u><span>foo</span></u> +-- +u :: Html -- ^ Inner HTML. + -> Html -- ^ Resulting HTML. +u = Parent "u" "<u" "</u>" +{-# INLINE u #-} + +-- WARNING: The next block of code was automatically generated by +-- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\<ul>@ element. -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/src/Text/Blaze/XHtml5/Attributes.hs new/blaze-html-0.9.1.1/src/Text/Blaze/XHtml5/Attributes.hs --- old/blaze-html-0.9.0.1/src/Text/Blaze/XHtml5/Attributes.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/src/Text/Blaze/XHtml5/Attributes.hs 2018-06-12 16:13:18.000000000 +0200 @@ -146,6 +146,7 @@ , rel , required , reversed + , role , rows , rowspan , sandbox @@ -2705,6 +2706,24 @@ -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:249 +-- +-- | Combinator for the @role@ attribute. +-- +-- Example: +-- +-- > div ! role "bar" $ "Hello." +-- +-- Result: +-- +-- > <div role="bar">Hello.</div> +-- +role :: AttributeValue -- ^ Attribute value. + -> Attribute -- ^ Resulting attribute. +role = attribute "role" " role=\"" +{-# INLINE role #-} + +-- WARNING: The next block of code was automatically generated by +-- src/Util/GenerateHtmlCombinators.hs:249 -- -- | Combinator for the @rows@ attribute. -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/src/Text/Blaze/XHtml5.hs new/blaze-html-0.9.1.1/src/Text/Blaze/XHtml5.hs --- old/blaze-html-0.9.0.1/src/Text/Blaze/XHtml5.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/src/Text/Blaze/XHtml5.hs 2018-06-12 16:13:18.000000000 +0200 @@ -111,6 +111,7 @@ , title , tr , track + , u , ul , var , video @@ -2005,6 +2006,24 @@ -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 +-- +-- | Combinator for the @\<u>@ element. +-- +-- Example: +-- +-- > u $ span $ toHtml "foo" +-- +-- Result: +-- +-- > <u><span>foo</span></u> +-- +u :: Html -- ^ Inner HTML. + -> Html -- ^ Resulting HTML. +u = Parent "u" "<u" "</u>" +{-# INLINE u #-} + +-- WARNING: The next block of code was automatically generated by +-- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\<ul>@ element. -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/src/Util/GenerateHtmlCombinators.hs new/blaze-html-0.9.1.1/src/Util/GenerateHtmlCombinators.hs --- old/blaze-html-0.9.0.1/src/Util/GenerateHtmlCombinators.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/src/Util/GenerateHtmlCombinators.hs 2018-06-10 13:15:41.000000000 +0200 @@ -412,7 +412,7 @@ , "pre", "progress", "q", "rp", "rt", "ruby", "samp", "script" , "section", "select", "small", "span", "strong", "style", "sub" , "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th" - , "thead", "time", "title", "tr", "ul", "var", "video" + , "thead", "time", "title", "tr", "u", "ul", "var", "video" ] , leafs = -- http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#void-elements @@ -446,7 +446,7 @@ , "onsubmit", "onsuspend", "ontimeupdate", "onundo", "onunload" , "onvolumechange", "onwaiting", "open", "optimum", "pattern", "ping" , "placeholder", "preload", "pubdate", "radiogroup", "readonly", "rel" - , "required", "reversed", "rows", "rowspan", "sandbox", "scope" + , "required", "reversed", "role", "rows", "rowspan", "sandbox", "scope" , "scoped", "seamless", "selected", "shape", "size", "sizes", "span" , "spellcheck", "src", "srcdoc", "start", "step", "style", "subject" , "summary", "tabindex", "target", "title", "type", "usemap", "value" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-html-0.9.0.1/tests/Text/Blaze/Html/Tests.hs new/blaze-html-0.9.1.1/tests/Text/Blaze/Html/Tests.hs --- old/blaze-html-0.9.0.1/tests/Text/Blaze/Html/Tests.hs 2017-01-30 17:56:16.000000000 +0100 +++ new/blaze-html-0.9.1.1/tests/Text/Blaze/Html/Tests.hs 2018-06-10 13:15:41.000000000 +0200 @@ -57,6 +57,8 @@ , HtmlTest "<img src=\"&\">" $ img ! src "&" + , HtmlTest "<u>hello</u>" $ H.u "hello" + -- Pre-escaping cases , HtmlTest "<3 Haskell" $ preEscapedToMarkup ("<3 Haskell" :: String)
