packages/pretty.git
4 years agoMore fixes to travis ci
David Terei [Mon, 22 Dec 2014 07:30:56 +0000 (23:30 -0800)] 
More fixes to travis ci

4 years agomake 1.1.1.3 release v1.1.1.3
David Terei [Mon, 22 Dec 2014 07:25:29 +0000 (23:25 -0800)] 
make 1.1.1.3 release

4 years agoadd back in lost 1.1.1.2 release notes
David Terei [Mon, 22 Dec 2014 07:24:59 +0000 (23:24 -0800)] 
add back in lost 1.1.1.2 release notes

4 years agoFixes to travis and have travis run test-suite
David Terei [Mon, 22 Dec 2014 07:17:24 +0000 (23:17 -0800)] 
Fixes to travis and have travis run test-suite

4 years agoadd cabal sandbox to gitignore
David Terei [Mon, 22 Dec 2014 07:17:22 +0000 (23:17 -0800)] 
add cabal sandbox to gitignore

4 years agoFix cabal build issue with test-suite
David Terei [Mon, 22 Dec 2014 07:16:50 +0000 (23:16 -0800)] 
Fix cabal build issue with test-suite

4 years agoremove bounds on deepseq (fixes #15)
David Terei [Mon, 22 Dec 2014 07:03:26 +0000 (23:03 -0800)] 
remove bounds on deepseq (fixes #15)

4 years agochange doc wording for `ribbonsPerLine` (#14)
David Terei [Wed, 17 Dec 2014 10:06:52 +0000 (02:06 -0800)] 
change doc wording for `ribbonsPerLine` (#14)

4 years agotweaks to travis ci
David Terei [Wed, 17 Dec 2014 10:06:29 +0000 (02:06 -0800)] 
tweaks to travis ci

4 years agofixes to hackage badge in readme
David Terei [Fri, 12 Dec 2014 03:49:40 +0000 (19:49 -0800)] 
fixes to hackage badge in readme

4 years agoupdate readme to include badges
David Terei [Tue, 9 Dec 2014 07:05:05 +0000 (23:05 -0800)] 
update readme to include badges

4 years agoupdate travis config
David Terei [Tue, 9 Dec 2014 07:04:55 +0000 (23:04 -0800)] 
update travis config

4 years agoadd travis support
David Terei [Wed, 17 Sep 2014 06:47:03 +0000 (23:47 -0700)] 
add travis support

5 years agoMerge pull request #13 from ivan-m/add_instances v1.1.1.2
David Terei [Mon, 30 Jun 2014 02:09:09 +0000 (19:09 -0700)] 
Merge pull request #13 from ivan-m/add_instances

Add NFData and Eq instances

5 years agoAdd NFData and Eq instances
Ivan Lazar Miljenovic [Tue, 24 Jun 2014 09:55:22 +0000 (19:55 +1000)] 
Add NFData and Eq instances

Eq instance is based via the default rendering in case of differences in
how they were created.

5 years agoFix paper link.
David Terei [Wed, 13 Nov 2013 04:47:45 +0000 (20:47 -0800)] 
Fix paper link.

5 years agoUpdate pretty cabal file, readme and changelog for 1.1.1.1. pretty-1.1.1.1-release v1.1.1.1
David Terei [Sun, 27 Oct 2013 18:54:55 +0000 (11:54 -0700)] 
Update pretty cabal file, readme and changelog for 1.1.1.1.

5 years agoFix tests for latest quickcheck.
David Terei [Sun, 27 Oct 2013 18:52:51 +0000 (11:52 -0700)] 
Fix tests for latest quickcheck.

5 years agoBump version to 1.1.1.1 and update bug-reports URL
Herbert Valerio Riedel [Sun, 27 Oct 2013 15:53:26 +0000 (16:53 +0100)] 
Bump version to 1.1.1.1 and update bug-reports URL

As `pretty`'s uses GitHub anyway, it makes more sense to
handle bug reports there too.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoMerge branch 'master' of git://github.com/haskell/pretty into ghc-head
Herbert Valerio Riedel [Sun, 27 Oct 2013 15:49:37 +0000 (16:49 +0100)] 
Merge branch 'master' of git://github.com/haskell/pretty into ghc-head

6 years agoTweak tests definition; no functional change
Ian Lynagh [Thu, 14 Feb 2013 16:32:43 +0000 (16:32 +0000)] 
Tweak tests definition; no functional change

Signed-off-by: David Terei <davidterei@gmail.com>
6 years agoRemove use of compose from the testsuite driver
Ian Lynagh [Sun, 17 Feb 2013 23:07:28 +0000 (23:07 +0000)] 
Remove use of compose from the testsuite driver

7 years agoadd tood note
David Terei [Fri, 13 Apr 2012 07:50:55 +0000 (00:50 -0700)] 
add tood note

7 years agoMerge pull request #4 from batterseapower/master
David Terei [Sat, 10 Mar 2012 22:07:33 +0000 (14:07 -0800)] 
Merge pull request #4 from batterseapower/master

Validate failures

7 years agoMerge pull request #5 from pcapriotti/master
David Terei [Thu, 8 Mar 2012 17:21:49 +0000 (09:21 -0800)] 
Merge pull request #5 from pcapriotti/master

Update .gitignore

7 years agoUpdate .gitignore.
Paolo Capriotti [Tue, 6 Mar 2012 10:57:34 +0000 (10:57 +0000)] 
Update .gitignore.

7 years agoFix cabal-file warnings reported by 'cabal check' that caused GHC validate to fail
Max Bolingbroke [Wed, 7 Mar 2012 15:23:43 +0000 (15:23 +0000)] 
Fix cabal-file warnings reported by 'cabal check' that caused GHC validate to fail

7 years agoUpdate tests to pass (by marking some as fail [HACK]) next2
David Terei [Tue, 6 Mar 2012 05:26:34 +0000 (21:26 -0800)] 
Update tests to pass (by marking some as fail [HACK])

7 years agofix up indent code
David Terei [Tue, 6 Mar 2012 04:42:24 +0000 (20:42 -0800)] 
fix up indent code

7 years agoFix up cabal build file.
David Terei [Tue, 6 Mar 2012 04:42:12 +0000 (20:42 -0800)] 
Fix up cabal build file.

7 years agooptimize indent (maybe)
David Terei [Tue, 6 Mar 2012 04:37:34 +0000 (20:37 -0800)] 
optimize indent (maybe)

7 years agoMove 'test' to 'tests'
David Terei [Tue, 6 Mar 2012 04:19:37 +0000 (20:19 -0800)] 
Move 'test' to 'tests'

7 years agoAdd tests from GHC.
David Terei [Tue, 6 Mar 2012 04:19:16 +0000 (20:19 -0800)] 
Add tests from GHC.

7 years agoClean up testing
David Terei [Tue, 6 Mar 2012 04:13:27 +0000 (20:13 -0800)] 
Clean up testing

7 years agoRemove 'a' type variable from RDoc (mistakenly added)
David Terei [Tue, 6 Mar 2012 04:12:59 +0000 (20:12 -0800)] 
Remove 'a' type variable from RDoc (mistakenly added)

7 years agoEdits to testing code
David Terei [Tue, 6 Mar 2012 01:01:49 +0000 (17:01 -0800)] 
Edits to testing code

7 years agoRestructure code base.
David Terei [Mon, 5 Mar 2012 19:53:17 +0000 (11:53 -0800)] 
Restructure code base.

7 years agoRename README -> README.md ghc-7.6 ghc-7.6.1-release ghc-7.6.2-release ghc-7.6.3-release release-1.1.1.0 release-ghc-7.4.1 v1.1.1.0
David Terei [Tue, 10 Jan 2012 00:19:28 +0000 (16:19 -0800)] 
Rename README -> README.md

7 years agoAdd note explaining why we use a different <> ghc-7.4 ghc-7.4.1-release ghc-7.4.2-release pretty-1.1.1.0-release
Johan Tibell [Wed, 4 Jan 2012 18:06:50 +0000 (10:06 -0800)] 
Add note explaining why we use a different <>

7 years agoBump version number for 7.4.1 release
Ian Lynagh [Sun, 11 Dec 2011 22:31:05 +0000 (22:31 +0000)] 
Bump version number for 7.4.1 release

7 years agoUpdate readme to note branches used by development
David Terei [Sun, 6 Nov 2011 23:02:23 +0000 (15:02 -0800)] 
Update readme to note branches used by development

7 years agoRestore missing fixity
David Terei [Sun, 6 Nov 2011 22:57:28 +0000 (14:57 -0800)] 
Restore missing fixity

8 years agoMerge in some GHC pretty module differences and clean up code
David Terei [Thu, 25 Aug 2011 23:18:42 +0000 (16:18 -0700)] 
Merge in some GHC pretty module differences and clean up code

8 years agoAdd IRC convo with Duncan
David Terei [Thu, 25 Aug 2011 20:49:10 +0000 (13:49 -0700)] 
Add IRC convo with Duncan

8 years agoAdd TODO file
David Terei [Thu, 25 Aug 2011 20:45:25 +0000 (13:45 -0700)] 
Add TODO file

8 years agoFix conditional pragma to work with 6.12
David Terei [Tue, 9 Aug 2011 17:42:17 +0000 (10:42 -0700)] 
Fix conditional pragma to work with 6.12

8 years agoMoved CPP into .cabal file not Pragmas
David Terei [Mon, 8 Aug 2011 18:46:54 +0000 (11:46 -0700)] 
Moved CPP into .cabal file not Pragmas

8 years agoUse Safe Haskell
David Terei [Thu, 28 Jul 2011 18:34:10 +0000 (11:34 -0700)] 
Use Safe Haskell

8 years agoFix some spelling mistakes in comments
David Terei [Tue, 19 Jul 2011 19:14:10 +0000 (12:14 -0700)] 
Fix some spelling mistakes in comments

8 years agoMake Text.PrettyPrint the recommended module
David Terei [Tue, 19 Jul 2011 19:10:18 +0000 (12:10 -0700)] 
Make Text.PrettyPrint the recommended module

8 years agoChange metadata of modules
David Terei [Tue, 19 Jul 2011 18:47:02 +0000 (11:47 -0700)] 
Change metadata of modules

8 years agoRemove old redundant files
David Terei [Tue, 19 Jul 2011 18:04:57 +0000 (11:04 -0700)] 
Remove old redundant files

8 years agoMore updates to README and .cabal
David Terei [Tue, 19 Jul 2011 17:55:01 +0000 (10:55 -0700)] 
More updates to README and .cabal

8 years agoUpdate README to new description
David Terei [Tue, 19 Jul 2011 17:46:47 +0000 (10:46 -0700)] 
Update README to new description

8 years agoMore informative description in cabal file
David Terei [Tue, 19 Jul 2011 17:45:23 +0000 (10:45 -0700)] 
More informative description in cabal file

8 years agoAdd a readme file
David Terei [Tue, 19 Jul 2011 17:35:55 +0000 (10:35 -0700)] 
Add a readme file

8 years agoAdd gitignore file
David Terei [Tue, 19 Jul 2011 17:33:40 +0000 (10:33 -0700)] 
Add gitignore file

8 years agoUpdate cabal file for new git location and maintainer ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
David Terei [Tue, 19 Jul 2011 17:33:14 +0000 (10:33 -0700)] 
Update cabal file for new git location and maintainer

8 years agoBump version number
Ian Lynagh [Wed, 6 Jul 2011 15:30:20 +0000 (16:30 +0100)] 
Bump version number

8 years agoUpdate source repo location to be the git repo in .cabal file
Ian Lynagh [Fri, 8 Apr 2011 10:23:03 +0000 (11:23 +0100)] 
Update source repo location to be the git repo in .cabal file

8 years agoshortened too long lines and removed redundant brackets darcs-switchover ghc-darcs-git-switchover
Christian.Maeder@dfki.de [Fri, 10 Dec 2010 16:44:47 +0000 (16:44 +0000)] 
shortened too long lines and removed redundant brackets

8 years agouse replicate for indent, spaces and multi_ch
Christian.Maeder@dfki.de [Fri, 10 Dec 2010 16:25:13 +0000 (16:25 +0000)] 
use replicate for indent, spaces and multi_ch

8 years agoadded sizedText
Christian.Maeder@dfki.de [Fri, 10 Dec 2010 16:13:02 +0000 (16:13 +0000)] 
added sizedText

8 years agoreplaced tabs and removed trailing spaces
Christian.Maeder@dfki.de [Fri, 10 Dec 2010 14:14:07 +0000 (14:14 +0000)] 
replaced tabs and removed trailing spaces

8 years agoAdded instance Monoid Doc where mempty = empty; mappend = (<>)
Bas van Dijk [Fri, 8 Oct 2010 07:23:58 +0000 (07:23 +0000)] 
Added instance Monoid Doc where mempty = empty; mappend = (<>)

8 years agoAdded instance IsString Doc where fromString = text
Bas van Dijk [Fri, 8 Oct 2010 07:20:41 +0000 (07:20 +0000)] 
Added instance IsString Doc where fromString = text

8 years agoBump version number 1.0.1.1 -> 1.0.1.2
Ian Lynagh [Thu, 16 Sep 2010 16:22:49 +0000 (16:22 +0000)] 
Bump version number 1.0.1.1 -> 1.0.1.2

8 years agoFix doc typo; trac #4298
Ian Lynagh [Sun, 12 Sep 2010 17:25:24 +0000 (17:25 +0000)] 
Fix doc typo; trac #4298

9 years agovcat should behave like 'foldr ($$) empty', not 'foldr ($+$) empty', according to...
Benedikt Huber [Thu, 4 Mar 2010 10:24:10 +0000 (10:24 +0000)] 
vcat should behave like 'foldr ($$) empty', not 'foldr ($+$) empty', according to the documentation

9 years agoBump version to 1.0.1.1
Ian Lynagh [Sun, 20 Sep 2009 14:19:46 +0000 (14:19 +0000)] 
Bump version to 1.0.1.1

10 years agoFix "Cabal check" warnings
Ian Lynagh [Tue, 11 Aug 2009 21:59:18 +0000 (21:59 +0000)] 
Fix "Cabal check" warnings

10 years agoRemove unused imports
Ian Lynagh [Tue, 7 Jul 2009 11:58:54 +0000 (11:58 +0000)] 
Remove unused imports

10 years agoRequire Cabal version >= 1.6 2009-06-25
Ian Lynagh [Thu, 22 Jan 2009 01:13:20 +0000 (01:13 +0000)] 
Require Cabal version >= 1.6

10 years agoAdd "bug-reports" and "source-repository" info to the Cabal file
Ian Lynagh [Wed, 21 Jan 2009 18:26:35 +0000 (18:26 +0000)] 
Add "bug-reports" and "source-repository" info to the Cabal file
Also switched to the modern Cabal file format

10 years agoBump version number to 1.0.1.0
Ian Lynagh [Sat, 20 Sep 2008 16:08:35 +0000 (16:08 +0000)] 
Bump version number to 1.0.1.0

11 years agoadd category field 6_10_branch_has_been_forked
Ross Paterson [Sun, 24 Aug 2008 00:30:13 +0000 (00:30 +0000)] 
add category field

11 years agoFix warnings and change a comment that was confusing haddock
Ian Lynagh [Sun, 6 Jul 2008 15:13:35 +0000 (15:13 +0000)] 
Fix warnings and change a comment that was confusing haddock

11 years agoMerge the rest of Benedikt Huber's "Fix HughesPJ developer documentation."
Ian Lynagh [Sun, 6 Jul 2008 13:49:23 +0000 (13:49 +0000)] 
Merge the rest of Benedikt Huber's "Fix HughesPJ developer documentation."

11 years agoMerge the rest of Benedikt Huber's "Fix bug #1337, #2391 1,2"
Ian Lynagh [Sun, 6 Jul 2008 13:30:05 +0000 (13:30 +0000)] 
Merge the rest of Benedikt Huber's "Fix bug #1337, #2391 1,2"

11 years agoAdds a `zeroWidthText' primitive to the library, in order to create text
benedikt.huber@gmail.com [Thu, 26 Jun 2008 16:16:47 +0000 (16:16 +0000)] 
Adds a `zeroWidthText' primitive to the library, in order to create text
which occupies no space (e.g. html or latex tags).

11 years agoAdd a type-sig - fixes validating
Ian Lynagh [Sun, 29 Jun 2008 22:54:20 +0000 (22:54 +0000)] 
Add a type-sig - fixes validating

11 years agofillNB bug, lazy vcat
benedikt.huber@gmail.com [Tue, 24 Jun 2008 11:37:15 +0000 (11:37 +0000)] 
fillNB bug, lazy vcat

11 years agoFix warnings
Ian Lynagh [Fri, 20 Jun 2008 13:51:56 +0000 (13:51 +0000)] 
Fix warnings

11 years agoSpecify build-type: Simple 2008-05-28
Duncan Coutts [Thu, 18 Oct 2007 12:51:04 +0000 (12:51 +0000)] 
Specify build-type: Simple

11 years agoAdd a boring file
Ian Lynagh [Thu, 13 Sep 2007 20:46:54 +0000 (20:46 +0000)] 
Add a boring file

12 years ago--configure-option and --ghc-option are now provided by Cabal 2007-09-13 ghc-6_8_branched_2007-09-03
Ross Paterson [Mon, 4 Jun 2007 11:59:36 +0000 (11:59 +0000)] 
--configure-option and --ghc-option are now provided by Cabal

12 years agoRemove non-pretty-printing stuff (of base), and rename package to "pretty" pretty_2007-05-24
Ian Lynagh [Fri, 18 May 2007 16:37:57 +0000 (16:37 +0000)] 
Remove non-pretty-printing stuff (of base), and rename package to "pretty"

12 years agoadd install-includes: field
Simon Marlow [Thu, 17 May 2007 09:49:48 +0000 (09:49 +0000)] 
add install-includes: field

12 years agocorrect the documentation for newForeignPtr
Simon Marlow [Wed, 16 May 2007 08:20:19 +0000 (08:20 +0000)] 
correct the documentation for newForeignPtr

12 years agoWhen doing safe writes, handle EAGAIN rather than raising an exception
Simon Marlow [Tue, 15 May 2007 11:46:15 +0000 (11:46 +0000)] 
When doing safe writes, handle EAGAIN rather than raising an exception
It might be that stdin was set to O_NONBLOCK by someone else, and we
should handle this case.  (this happens with GHCi, I'm not quite sure why)

12 years agoUse FilePath to make paths when building GHC/Prim.hs and GHC/PrimopWrappers.hs
Ian Lynagh [Mon, 14 May 2007 11:04:09 +0000 (11:04 +0000)] 
Use FilePath to make paths when building GHC/Prim.hs and GHC/PrimopWrappers.hs

12 years agoBuild GHC/Prim.hs and GHC/PrimopWrappers.hs from Cabal
Ian Lynagh [Wed, 9 May 2007 14:26:55 +0000 (14:26 +0000)] 
Build GHC/Prim.hs and GHC/PrimopWrappers.hs from Cabal

12 years agofix imports for non-GHC
Ross Paterson [Sun, 13 May 2007 00:11:38 +0000 (00:11 +0000)] 
fix imports for non-GHC

12 years agoGive an example of how intersection takes elements from the first set
Ian Lynagh [Sat, 12 May 2007 16:02:53 +0000 (16:02 +0000)] 
Give an example of how intersection takes elements from the first set

12 years agofurther clarify the docs for 'evaluate'
Malcolm.Wallace@cs.york.ac.uk [Tue, 8 May 2007 10:11:24 +0000 (10:11 +0000)] 
further clarify the docs for 'evaluate'

12 years agoimprove documentation for evaluate
Simon Marlow [Tue, 8 May 2007 08:17:12 +0000 (08:17 +0000)] 
improve documentation for evaluate

12 years agoFIX: #724 (tee complains if used in a process started by ghc)
Simon Marlow [Mon, 7 May 2007 12:35:37 +0000 (12:35 +0000)] 
FIX: #724 (tee complains if used in a process started by ghc)

Now, we only set O_NONBLOCK on file descriptors that we create
ourselves.  File descriptors that we inherit (stdin, stdout, stderr)
are kept in blocking mode.  The way we deal with this differs between
the threaded and non-threaded runtimes:

 - with -threaded, we just make a safe foreign call to read(), which
   may block, but this is ok.

 - without -threaded, we test the descriptor with select() before
   attempting any I/O.  This isn't completely safe - someone else
   might read the data between the select() and the read() - but it's
   a reasonable compromise and doesn't seem to measurably affect
   performance.

12 years agothe "unknown" types are no longer required
Simon Marlow [Thu, 26 Apr 2007 13:59:31 +0000 (13:59 +0000)] 
the "unknown" types are no longer required

12 years agoMake Control.Exception buildable by nhc98.
Malcolm.Wallace@cs.york.ac.uk [Fri, 4 May 2007 10:55:48 +0000 (10:55 +0000)] 
Make Control.Exception buildable by nhc98.
The nhc98 does not have true exceptions, but these additions should be
enough infrastructure to pretend that it does.  Only IO exceptions will
actually work.

12 years agoTrim imports, remove a cycle
simonpj@microsoft [Thu, 3 May 2007 12:30:10 +0000 (12:30 +0000)] 
Trim imports, remove a cycle

A first attempt at removing gratuitous cycles in the base package.
I've removed the useless module GHC.Dynamic, which gets rid of a cycle;
and trimmed off various unnecesary imports.

This also fixes the IsString import problem.