[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 15:18:39 UTC 2010
The following commit has been merged in the master branch:
commit 19fb9a40882f7f23df327c8c91f512fd217f6356
Author: John Goerzen <jgoerzen at complete.org>
Date: Sun Dec 3 11:02:07 2006 +0100
Renamed MissingH.Time to System.Time.Utils
diff --git a/COPYRIGHT b/COPYRIGHT
index 37bb849..08775e1 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -174,7 +174,7 @@ The code was obtained from
http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/md5/
----------------------------------------------------
-MissingH.Time.ParseDate is from
+System.Time.Utils.ParseDate is from
http://www.dtek.chalmers.se/~d00bring/projects.html
Copyright (c) Björn Bringert
diff --git a/MissingH.cabal b/MissingH.cabal
index 8c85d21..bb5732a 100644
--- a/MissingH.cabal
+++ b/MissingH.cabal
@@ -25,7 +25,7 @@ Exposed-Modules: Data.String, System.IO, System.IO.Binary, Data.List.Utils,
Data.Quantity,
Data.Map.Utils, System.Path, System.Path.NameManip,
System.Path.FilePath, System.Path.WildMatch, System.Path.Glob,
- MissingH.Time, MissingH.Time.ParseDate,
+ System.Time.Utils, System.Time.Utils.ParseDate,
Network.Utils,
Network.FTP.Client,
Network.FTP.Client.Parser,
diff --git a/MissingH/Time/ParseDate.hs b/MissingH/Time/ParseDate.hs
index 7bd833a..c4c4a18 100644
--- a/MissingH/Time/ParseDate.hs
+++ b/MissingH/Time/ParseDate.hs
@@ -1,5 +1,5 @@
{- |
- Module : MissingH.Time.ParseDate
+ Module : System.Time.Utils.ParseDate
Copyright : (c) by Björn Bringert
License : GPL2
@@ -9,7 +9,7 @@
Utility for parsing dates.
-}
-module MissingH.Time.ParseDate (parseCalendarTime) where
+module System.Time.Utils.ParseDate (parseCalendarTime) where
import Control.Monad
import Data.Char (isSpace)
diff --git a/debian/copyright b/debian/copyright
index 37bb849..08775e1 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -174,7 +174,7 @@ The code was obtained from
http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/md5/
----------------------------------------------------
-MissingH.Time.ParseDate is from
+System.Time.Utils.ParseDate is from
http://www.dtek.chalmers.se/~d00bring/projects.html
Copyright (c) Björn Bringert
diff --git a/src/Data/Progress/Meter.hs b/src/Data/Progress/Meter.hs
index 05f0ac3..7576759 100644
--- a/src/Data/Progress/Meter.hs
+++ b/src/Data/Progress/Meter.hs
@@ -54,7 +54,7 @@ import Control.Concurrent.MVar
import Control.Concurrent
import Control.Monad(when)
import Data.String
-import MissingH.Time
+import System.Time.Utils
import Data.Quantity
import System.IO
import Control.Monad(filterM)
diff --git a/src/Data/Progress/Tracker.hs b/src/Data/Progress/Tracker.hs
index f139f31..9b403cc 100644
--- a/src/Data/Progress/Tracker.hs
+++ b/src/Data/Progress/Tracker.hs
@@ -59,7 +59,7 @@ module Data.Progress.Tracker (
where
import Control.Concurrent.MVar
import System.Time
-import MissingH.Time
+import System.Time.Utils
import Data.Ratio
{- $introduction
diff --git a/src/System/IO/HVFS.hs b/src/System/IO/HVFS.hs
index acf7d9b..e151076 100644
--- a/src/System/IO/HVFS.hs
+++ b/src/System/IO/HVFS.hs
@@ -63,7 +63,7 @@ module System.IO.HVFS(-- * Implementation Classes \/ Types
where
import System.IO.HVIO
-import MissingH.Time
+import System.Time.Utils
import System.IO
import System.IO.Error
import System.IO.PlafCompat
@@ -88,7 +88,7 @@ Here is an example from the HVFS source:
> do s <- vGetFileStatus fs fp
> return $ epochToClockTime (withStat s vModificationTime)
-See 'MissingH.Time.epochToClockTime' for more information.
+See 'System.Time.Utils.epochToClockTime' for more information.
-}
withStat :: forall b. HVFSStatEncap -> (forall a. HVFSStat a => a -> b) -> b
withStat s f =
diff --git a/src/System/IO/HVFS/Utils.hs b/src/System/IO/HVFS/Utils.hs
index c276963..02a944a 100644
--- a/src/System/IO/HVFS/Utils.hs
+++ b/src/System/IO/HVFS/Utils.hs
@@ -44,7 +44,7 @@ module System.IO.HVFS.Utils (recurseDir,
where
import System.IO.HVFS
-import MissingH.Time
+import System.Time.Utils
import System.IO.PlafCompat
import Text.Printf
import System.Time
diff --git a/src/System/IO/WindowsCompat.hs b/src/System/IO/WindowsCompat.hs
index 01896f4..88b6d7d 100644
--- a/src/System/IO/WindowsCompat.hs
+++ b/src/System/IO/WindowsCompat.hs
@@ -66,7 +66,7 @@ import System.Posix.Types
import Data.Bits
import System.IO.StatCompat
import System.IO.PosixConsts
-import MissingH.Time
+import System.Time.Utils
import System.Directory
-- these types aren't defined here
diff --git a/MissingH/Time.hs b/src/System/Time/Utils.hs
similarity index 98%
rename from MissingH/Time.hs
rename to src/System/Time/Utils.hs
index 7151046..2ec6e4b 100644
--- a/MissingH/Time.hs
+++ b/src/System/Time/Utils.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
{- |
- Module : MissingH.Time
+ Module : System.Time.Utils
Copyright : Copyright (C) 2004-2005 John Goerzen
License : GNU GPL, version 2 or above
@@ -31,7 +31,7 @@ dates.
Written by John Goerzen, jgoerzen\@complete.org
-}
-module MissingH.Time(
+module System.Time.Utils(
timelocal,
timegm,
timeDiffToSecs,
diff --git a/testsrc/Timetest.hs b/testsrc/Timetest.hs
index c1997aa..7f5c993 100644
--- a/testsrc/Timetest.hs
+++ b/testsrc/Timetest.hs
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
module Timetest(tests) where
import Test.HUnit
-import MissingH.Time
+import System.Time.Utils
import System.Time
base =CalendarTime {ctYear = 2005, ctMonth = January, ctDay = 21,
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list