From 37a82b0b11b0214f00cdcd232e33c0a1e9f79361 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel <albert+github@zeitkraut.de> 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. --- src/Text/Pandoc/Readers/Docx/Combine.hs | 13 ++++++++++++- src/Text/Pandoc/Readers/Docx/Fields.hs | 4 ++-- src/Text/Pandoc/Readers/Docx/Lists.hs | 4 ++-- src/Text/Pandoc/Readers/Docx/Parse.hs | 4 ++-- src/Text/Pandoc/Readers/Docx/StyleMap.hs | 13 +++++++++++++ src/Text/Pandoc/Readers/Docx/Util.hs | 13 +++++++++++++ 6 files changed, 44 insertions(+), 7 deletions(-) (limited to 'src/Text/Pandoc/Readers/Docx') diff --git a/src/Text/Pandoc/Readers/Docx/Combine.hs b/src/Text/Pandoc/Readers/Docx/Combine.hs index 108c4bbe5..855675b37 100644 --- a/src/Text/Pandoc/Readers/Docx/Combine.hs +++ b/src/Text/Pandoc/Readers/Docx/Combine.hs @@ -2,7 +2,18 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE PatternGuards #-} {-# LANGUAGE TypeSynonymInstances #-} - +{- | + Module : Text.Pandoc.Readers.Docx.Combine + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Flatten sequences of elements. +-} module Text.Pandoc.Readers.Docx.Combine ( smushInlines , smushBlocks ) diff --git a/src/Text/Pandoc/Readers/Docx/Fields.hs b/src/Text/Pandoc/Readers/Docx/Fields.hs index c3f54560b..c95dcc2a8 100644 --- a/src/Text/Pandoc/Readers/Docx/Fields.hs +++ b/src/Text/Pandoc/Readers/Docx/Fields.hs @@ -1,6 +1,6 @@ {-# LANGUAGE NoImplicitPrelude #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> 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 @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Fields - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/Lists.hs b/src/Text/Pandoc/Readers/Docx/Lists.hs index 72d49c6fa..3cb0917fd 100644 --- a/src/Text/Pandoc/Readers/Docx/Lists.hs +++ b/src/Text/Pandoc/Readers/Docx/Lists.hs @@ -1,6 +1,6 @@ {-# LANGUAGE NoImplicitPrelude #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> 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 @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Lists - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/Parse.hs b/src/Text/Pandoc/Readers/Docx/Parse.hs index 127d93615..843f2cdcd 100644 --- a/src/Text/Pandoc/Readers/Docx/Parse.hs +++ b/src/Text/Pandoc/Readers/Docx/Parse.hs @@ -4,7 +4,7 @@ {-# LANGUAGE ViewPatterns #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> 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 @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Parse - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/StyleMap.hs b/src/Text/Pandoc/Readers/Docx/StyleMap.hs index 6ccda3ccc..bdf7b4df2 100644 --- a/src/Text/Pandoc/Readers/Docx/StyleMap.hs +++ b/src/Text/Pandoc/Readers/Docx/StyleMap.hs @@ -1,4 +1,17 @@ {-# LANGUAGE NoImplicitPrelude #-} +{- | + Module : Text.Pandoc.Readers.Docx.StyleMaps + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu>, + 2015 Nikolay Yakimov <root@livid.pp.ru> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Mappings of element styles (word to pandoc-internal). +-} module Text.Pandoc.Readers.Docx.StyleMap ( StyleMaps(..) , alterMap , getMap diff --git a/src/Text/Pandoc/Readers/Docx/Util.hs b/src/Text/Pandoc/Readers/Docx/Util.hs index 088950d26..f4855efd2 100644 --- a/src/Text/Pandoc/Readers/Docx/Util.hs +++ b/src/Text/Pandoc/Readers/Docx/Util.hs @@ -1,4 +1,17 @@ {-# LANGUAGE NoImplicitPrelude #-} +{- | + Module : Text.Pandoc.Readers.Docx.StyleMaps + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu>, + 2015 Nikolay Yakimov <root@livid.pp.ru> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Docx reader utility functions. +-} module Text.Pandoc.Readers.Docx.Util ( NameSpaces , elemName -- cgit v1.2.3