Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hdbc/convertible
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed Oct 26, 2011
2 parents 744d92d + d0b89d2 commit 63c6820
Show file tree
Hide file tree
Showing 17 changed files with 95 additions and 587 deletions.
510 changes: 0 additions & 510 deletions COPYING

This file was deleted.

18 changes: 0 additions & 18 deletions COPYRIGHT

This file was deleted.

8 changes: 4 additions & 4 deletions Data/Convertible.hs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

{- |
Module : Data.Convertible.Base
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Base.hs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

{- |
Module : Data.Convertible.Base
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Instances.hs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

{- |
Module : Data.Convertible.Instances
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Instances/C.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{- |
Module : Data.Convertible.Instances.C
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand All @@ -10,11 +10,11 @@
Numeric instances for Convertible for C types. See comments in
"Data.Convertible.Instances.Num".
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}
module Data.Convertible.Instances.C()
where
Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Instances/Map.hs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{- |
Module : Data.Convertible.Instances.Map
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Portability: portable
Instances to convert between Map and association list.
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Instances/Num.hs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{- |
Module : Data.Convertible.Instances.Num
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Portability: portable
Numeric instances for Convertible.
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
These instances perform conversion between numeric types such as Double, Int, Integer,
Rational, and the like. Here are some notes about the conversion process:
Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Instances/Time.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{- |
Module : Data.Convertible.Instances.Time
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand All @@ -13,11 +13,11 @@ At present, this module does not do full input validation. That is, it is possi
to get an exception rather than a Left result from these functions if your input is
invalid, particularly when converting from the old-style System.Time structures.
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

Expand Down
8 changes: 4 additions & 4 deletions Data/Convertible/Utils.hs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

{- |
Module : Data.Convertible.Utils
Copyright : Copyright (C) 2009 John Goerzen
License : LGPL
Copyright : Copyright (C) 2009-2011 John Goerzen
License : BSD3
Maintainer : John Goerzen <jgoerzen@complete.org>
Stability : provisional
Expand Down
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2009 - 2011 John Goerzen
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

* Neither the name of John Goerzen nor the names of the
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12 changes: 6 additions & 6 deletions convertible.cabal
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Name: convertible
Version: 1.0.10.0
License: LGPL
Version: 1.0.11.0
License: BSD3
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Copyright: Copyright (c) 2009-2010 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING, utils/genCinstances.hs,
Copyright: Copyright (c) 2009-2011 John Goerzen
license-file: LICENSE
extra-source-files: LICENSE, utils/genCinstances.hs,
Makefile,
testsrc/TestInfrastructure.hs,
testsrc/TestMap.hs,
Expand Down Expand Up @@ -50,7 +50,7 @@ flag time_gte_113

library
if flag(splitBase)
Build-Depends: base>=3 && <5, old-time, time>=1.1.2.4 && <=1.2.0.3,
Build-Depends: base>=3 && <5, old-time, time>=1.1.2.4 && <=1.2.0.5,
bytestring, containers, old-locale
if flag(time_gte_113)
Build-Depends: time>=1.1.3
Expand Down
37 changes: 23 additions & 14 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,30 @@ The original source can always be found at:
The Darcs repository for this program can be accessed with:
git clone git://git.complete.org/convertible

Copyright (C) 2005-2010 John Goerzen <jgoerzen@complete.org>
Copyright (c) 2009 - 2011 John Goerzen
All rights reserved.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

On Debian systems, the complete text of the GNU Lesser General
Public License can be found in `/usr/share/common-licenses/LGPL'.
* Neither the name of John Goerzen nor the names of the
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion testsrc/TestInfrastructure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}
module TestInfrastructure where
import qualified Test.QuickCheck as QC
Expand Down
4 changes: 2 additions & 2 deletions testsrc/TestMap.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

module TestMap where
Expand Down
4 changes: 2 additions & 2 deletions testsrc/TestNum.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

module TestNum where
Expand Down
4 changes: 2 additions & 2 deletions testsrc/TestTime.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{-
Copyright (C) 2009 John Goerzen <jgoerzen@complete.org>
Copyright (C) 2009-2011 John Goerzen <jgoerzen@complete.org>
All rights reserved.
For license and copyright information, see the file COPYRIGHT
For license and copyright information, see the file LICENSE
-}

module TestTime where
Expand Down

0 comments on commit 63c6820

Please sign in to comment.