From 37a82b0b11b0214f00cdcd232e33c0a1e9f79361 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 4 Feb 2019 22:52:31 +0100 Subject: Add missing copyright notices and remove license boilerplate (#5112) Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. --- test/Tests/Readers/Org/Block.hs | 11 +++++++++++ test/Tests/Readers/Org/Block/CodeBlock.hs | 11 +++++++++++ test/Tests/Readers/Org/Block/Figure.hs | 11 +++++++++++ test/Tests/Readers/Org/Block/Header.hs | 11 +++++++++++ test/Tests/Readers/Org/Block/List.hs | 11 +++++++++++ test/Tests/Readers/Org/Block/Table.hs | 11 +++++++++++ test/Tests/Readers/Org/Directive.hs | 11 +++++++++++ test/Tests/Readers/Org/Inline.hs | 11 +++++++++++ test/Tests/Readers/Org/Inline/Citation.hs | 11 +++++++++++ test/Tests/Readers/Org/Inline/Note.hs | 11 +++++++++++ test/Tests/Readers/Org/Inline/Smart.hs | 11 +++++++++++ test/Tests/Readers/Org/Meta.hs | 11 +++++++++++ test/Tests/Readers/Org/Shared.hs | 11 +++++++++++ 13 files changed, 143 insertions(+) (limited to 'test/Tests/Readers/Org') diff --git a/test/Tests/Readers/Org/Block.hs b/test/Tests/Readers/Org/Block.hs index b1c86eada..f5ea66343 100644 --- a/test/Tests/Readers/Org/Block.hs +++ b/test/Tests/Readers/Org/Block.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Tests parsing of org blocks. +-} module Tests.Readers.Org.Block (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Block/CodeBlock.hs b/test/Tests/Readers/Org/Block/CodeBlock.hs index a54ef6a17..7f50a1c81 100644 --- a/test/Tests/Readers/Org/Block/CodeBlock.hs +++ b/test/Tests/Readers/Org/Block/CodeBlock.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block.CodeBlock + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of org code blocks. +-} module Tests.Readers.Org.Block.CodeBlock (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Block/Figure.hs b/test/Tests/Readers/Org/Block/Figure.hs index bead135e9..2d78bbe9e 100644 --- a/test/Tests/Readers/Org/Block/Figure.hs +++ b/test/Tests/Readers/Org/Block/Figure.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block.Figure + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of org figures. +-} module Tests.Readers.Org.Block.Figure (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Block/Header.hs b/test/Tests/Readers/Org/Block/Header.hs index 913c830d6..e20571b53 100644 --- a/test/Tests/Readers/Org/Block/Header.hs +++ b/test/Tests/Readers/Org/Block/Header.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block.Header + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of org header blocks. +-} module Tests.Readers.Org.Block.Header (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Block/List.hs b/test/Tests/Readers/Org/Block/List.hs index bdab01404..f19d3f171 100644 --- a/test/Tests/Readers/Org/Block/List.hs +++ b/test/Tests/Readers/Org/Block/List.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block.Header + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of org lists. +-} module Tests.Readers.Org.Block.List (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Block/Table.hs b/test/Tests/Readers/Org/Block/Table.hs index 3cb6bb0f0..c8b0a1375 100644 --- a/test/Tests/Readers/Org/Block/Table.hs +++ b/test/Tests/Readers/Org/Block/Table.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Block.Table + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of org tables. +-} module Tests.Readers.Org.Block.Table (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Directive.hs b/test/Tests/Readers/Org/Directive.hs index bf4c2800d..6d6609d4e 100644 --- a/test/Tests/Readers/Org/Directive.hs +++ b/test/Tests/Readers/Org/Directive.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Directive + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Tests parsing of org directives (like @#+OPTIONS@). +-} module Tests.Readers.Org.Directive (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Inline.hs b/test/Tests/Readers/Org/Inline.hs index e5996d4d8..856f01063 100644 --- a/test/Tests/Readers/Org/Inline.hs +++ b/test/Tests/Readers/Org/Inline.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Inline + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Tests parsing of org inlines. +-} module Tests.Readers.Org.Inline (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Inline/Citation.hs b/test/Tests/Readers/Org/Inline/Citation.hs index c7974efa0..d718bba18 100644 --- a/test/Tests/Readers/Org/Inline/Citation.hs +++ b/test/Tests/Readers/Org/Inline/Citation.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Inline.Citation + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of citations in org input. +-} module Tests.Readers.Org.Inline.Citation (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Inline/Note.hs b/test/Tests/Readers/Org/Inline/Note.hs index 1e0a59cb4..086e4fe37 100644 --- a/test/Tests/Readers/Org/Inline/Note.hs +++ b/test/Tests/Readers/Org/Inline/Note.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Inline.Note + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test parsing of footnotes in org input. +-} module Tests.Readers.Org.Inline.Note (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Inline/Smart.hs b/test/Tests/Readers/Org/Inline/Smart.hs index b2889f8fe..7202adc97 100644 --- a/test/Tests/Readers/Org/Inline/Smart.hs +++ b/test/Tests/Readers/Org/Inline/Smart.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Inline.Smart + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Test smart parsing of quotes, apostrophe, etc. +-} module Tests.Readers.Org.Inline.Smart (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Meta.hs b/test/Tests/Readers/Org/Meta.hs index b17a05fe1..2843bf0d0 100644 --- a/test/Tests/Readers/Org/Meta.hs +++ b/test/Tests/Readers/Org/Meta.hs @@ -1,5 +1,16 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} +{- | + Module : Tests.Readers.Org.Meta + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Tests parsing of org meta data (mostly lines starting with @#+@). +-} module Tests.Readers.Org.Meta (tests) where import Prelude diff --git a/test/Tests/Readers/Org/Shared.hs b/test/Tests/Readers/Org/Shared.hs index ea2a97e49..f26442621 100644 --- a/test/Tests/Readers/Org/Shared.hs +++ b/test/Tests/Readers/Org/Shared.hs @@ -1,4 +1,15 @@ {-# LANGUAGE NoImplicitPrelude #-} +{- | + Module : Tests.Readers.Org.Shared + Copyright : © 2014-2019 Albert Krewinkel + License : GNU GPL, version 2 or above + + Maintainer : Albert Krewinkel + Stability : alpha + Portability : portable + +Helper functions used by other org tests. +-} module Tests.Readers.Org.Shared ( (=:) , org -- cgit v1.2.3