[darcs-devel] darcs patch: rewrite ColourPrinter with a policy data... (and 4 more)

ptp at lysator.liu.se ptp at lysator.liu.se
Mon Apr 4 13:10:51 PDT 2005


I have fixed the IO thing.

But I experienced a strange thing.  I pulled two of these
patches into darcs-unstable, 'rewrite ColourPrinter...' and
'use unsafePerformIO...', unrecorded them and tried to
record --all.  Darcs took forever on the record and I got
tired of waiting.  I have never before seen this behaviour
with _record_.


Sun Apr  3 21:02:23 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * rewrite ColourPrinter with a policy data type (fixes RT#302)
  - better control of color and escaping
  - colored strings are escaped too
  - policy is determined with only synchronous IO

Mon Apr  4 14:19:04 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * propagate policy data all the way down to no_escape in ColourPrinter

Mon Apr  4 14:25:07 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * make escaping of output controllable with environment variables
  DARCS_DONT_ESCAPE_ANYTHING  turns off all escaping
  DARCS_DONT_ESCAPE_ISPRINT   use systems locale (works for single-byte)
  DARCS_DONT_ESCAPE_8BIT      works for UTF-8

Mon Apr  4 16:36:56 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * use unsafePerformIO to get policy in ColourPrinter

Mon Apr  4 17:26:59 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * add control of color in ColourPrinter with environment variables

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 143744 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20050404/d86c71c5/attachment.bin


More information about the darcs-devel mailing list