[darcs-users] darcs patch: Resolve issue1366: remove direct use of libncurses.

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Tue Mar 10 18:38:19 UTC 2009


Hi Eric.

On Thu, Mar 5, 2009 at 7:46 PM, Eric Kow <kowey at darcs.net> wrote:
> Hi Dmitry,
>
> Do you have a brief moment to review this and make sure nothing
> got taken out in the process that shouldn't have been?

Sorry. I have missed this one :(

Please feel free to send me a reminder if I do not reply in a day or two.

Regards,
  Dmitry

>
> It looked good to me, but I wasn't being thorough
>
> Thanks!
>
> On Tue, Mar 03, 2009 at 21:10:47 +1100, Trent W.Buck wrote:
>> Tue Mar  3 21:04:55 EST 2009  Trent W. Buck <trentbuck at gmail.com>
>>   * Resolve issue1366: remove direct use of libncurses.
>>   Using libncurses directly is only done if the Haskell Terminfo library
>>   is not available.  Since Haskeline will soon be a required dependency,
>>   and Haskeline requires Terminfo, this compile-time option disappears.
>
>
> Content-Description: A darcs patch for your repository!
>>
>> New patches:
>>
>> [Resolve issue1366: remove direct use of libncurses.
>> Trent W. Buck <trentbuck at gmail.com>**20090303100455
>>  Ignore-this: 864ff4049521bf0797054a2dfc5fc727
>>  Using libncurses directly is only done if the Haskell Terminfo library
>>  is not available.  Since Haskeline will soon be a required dependency,
>>  and Haskeline requires Terminfo, this compile-time option disappears.
>> ] hunk ./GNUmakefile 21
>>  GHCFLAGS_src__Darcs__SelectChanges.o = $(filter-out -auto-all,$(GHCFLAGS))
>>  GHCFLAGS_src__SHA1.o = $(GHCFLAGS) -no-auto-all -funfolding-use-threshold20
>>  GHCFLAGS_src__SHA1.p_o = $(GHCFLAGS_src__SHA1.o)
>> -ifeq ($(HAVE_CURSES),True)
>> -GHCFLAGS_src__Darcs__External.o = $(GHCFLAGS)
>> -ifeq ($(HAVE_TERMIO_H),True)
>> -# This termio bit is a grim hack for Solaris 10 (at least).
>> -# Without it, SGTTY isn't declared.  Something in the ghc C headers
>> -# which get included before term.h in the generated C is clobbering
>> -# it.  (If you edit that C and put the curses.h and term.h first, the
>> -# error goes away.)
>> -GHCFLAGS_src__Darcs__External.o += '-\#include <termio.h>'
>> -endif
>> -GHCFLAGS_src__Darcs__External.o += '-\#include <curses.h>' '-\#include <term.h>'
>> -endif
>>
>>  # All the Haskell source files used to build Darcs, but NOT other
>>  # Haskell sources used for e.g. unit testing.  This is done by finding
>> hunk ./configure.ac 591
>>  AC_ARG_ENABLE(libcurses, [  --without-curses        do not use libcurses])
>>  AC_ARG_ENABLE(terminfo, [  --without-terminfo        do not use Haskell terminfo])
>>
>> -HAVE_CURSES=False
>>  HAVE_TERMINFO=False
>> hunk ./configure.ac 592
>> -if test "$with_libcurses" != "no"; then
>> -  # term.h is documented to require curses.h and actually needs it on
>> -  # Solaris, for instance, though not on GNU/Linux.
>> -  AC_CHECK_HEADER(term.h,
>> -      [AC_SEARCH_LIBS(tgetent, [curses ncurses], [HAVE_CURSES=True])], ,
>> -      [#include <curses.h>
>> -      ])
>> -fi
>>
>>  if test "$HAVE_CURSES" != "True"; then
>>    if test "$with_terminfo" != "no"; then
>> hunk ./darcs.cabal 110
>>  flag terminfo
>>    description: Use the terminfo package for enhanced console support.
>>
>> -flag curses
>> -  description: Use libcurses for enhances console support.
>> -  default:     False
>> -
>>  flag type-witnesses
>>    description: Use GADT type witnesses.
>>    default:     False
>> hunk ./darcs.cabal 389
>>      build-depends:    terminfo == 0.3.*
>>      cpp-options:      -DHAVE_TERMINFO
>>
>> -  if flag(curses)
>> -    extra-libraries:  curses
>> -    cpp-options:      -DHAVE_CURSES
>> -
>>    if flag(haskeline)
>>      build-depends:    haskeline == 0.6.*
>>      cpp-options:      -DHAVE_HASKELINE
>> hunk ./darcs.cabal 522
>>      build-depends:    terminfo == 0.3.*
>>      cpp-options:      -DHAVE_TERMINFO
>>
>> -  if flag(curses)
>> -    extra-libraries:  curses
>> -    cpp-options:      -DHAVE_CURSES
>> -
>>    if flag(haskeline)
>>      build-depends:    haskeline == 0.6.*
>>      cpp-options:      -DHAVE_HASKELINE
>> hunk ./darcs.cabal 629
>>      build-depends:    terminfo == 0.3.*
>>      cpp-options:      -DHAVE_TERMINFO
>>
>> -  if flag(curses)
>> -    extra-libraries:  curses
>> -    cpp-options:      -DHAVE_CURSES
>> -
>>    if flag(color)
>>      x-use-color:
>>
>> hunk ./src/Darcs/External.hs 40
>>  import Control.Concurrent ( forkIO, newEmptyMVar, putMVar, takeMVar )
>>  import Control.Exception ( bracket, try, finally )
>>  import Data.Char ( toUpper )
>> -#if defined (HAVE_MAPI) || defined (HAVE_CURSES) && ! defined (HAVE_TERMINFO)
>> +#if defined (HAVE_MAPI)
>>  import Foreign.C ( CString, withCString )
>>  #endif
>>  #ifdef HAVE_MAPI
>> hunk ./src/Darcs/External.hs 49
>>  #endif
>>  #ifdef HAVE_TERMINFO
>>  import System.Console.Terminfo( tiGetNum, setupTermFromEnv, getCapability )
>> -#elif HAVE_CURSES
>> -import Foreign.C ( CChar, CInt )
>> -import Foreign.Ptr ( Ptr )
>> -import Foreign.Marshal.Alloc (allocaBytes)
>>  #endif
>>  import System.Posix.Files ( createLink )
>>  import System.Directory ( createDirectoryIfMissing )
>> hunk ./src/Darcs/External.hs 684
>>    - Terminal type determined by TERM env. variable.
>>    -}
>>  getTermNColors :: IO Int
>> -
>>  #ifdef HAVE_TERMINFO
>>  getTermNColors = do
>>    t <- setupTermFromEnv
>> hunk ./src/Darcs/External.hs 690
>>    return $ case getCapability t $ tiGetNum "colors" of
>>      Nothing -> (-1)
>>      Just x -> x
>> -
>> -#elif HAVE_CURSES
>> -
>> -foreign import ccall "tgetnum" c_tgetnum :: CString -> IO CInt
>> -foreign import ccall "tgetent" c_tgetent :: Ptr CChar -> CString -> IO CInt
>> -
>> -termioBufSize :: Int
>> -termioBufSize = 4096
>> -
>> -#ifndef USE_COLOR
>> -getTermNColors = return (-1)
>>  #else
>> hunk ./src/Darcs/External.hs 691
>> -getTermNColors = do term <- getEnv "TERM"
>> -                    allocaBytes termioBufSize (getTermNColorsImpl term)
>> -                 `catch` \_ -> return (-1)
>> -#endif
>> -
>> -getTermNColorsImpl :: String -> Ptr CChar -> IO Int
>> -getTermNColorsImpl term buf = do rc <- withCString term $
>> -                                       \termp -> c_tgetent buf termp
>> -                                 x <- if (rc /= 1) then return (-1)  else withCString "Co" $ \capap -> c_tgetnum capap
>> -                                 return $ fromIntegral x
>> -
>> -#else
>> -
>>  getTermNColors = return (-1)
>> hunk ./src/Darcs/External.hs 692
>> -
>>  #endif
>>
>>  viewDoc :: Doc -> IO ()
>> changepref test
>> runghc Setup configure -ftype-witnesses && runghc Setup build && runghc Setup test tests network
>> ghc --make Setup && ./Setup configure -ftype-witnesses && ./Setup build && ./Setup test tests network
>>
>> Context:
>>
>> [remove escape of latex special chars in ShowRepo help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302011145
>>  Ignore-this: a95061b2f9e7617202528a75f9873beb
>> ]
>> [put back latex-unfriendly example in SetPref help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302011047
>>  Ignore-this: 67711e3851547eda9c94be15ac50c7a4
>> ]
>> [change to conforming quoting in Record help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302011007
>>  Ignore-this: e7387e0f498251abcfb4c630d60611f4
>> ]
>> [put back latex-unfriendly markers in MarkConflicts help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302010908
>>  Ignore-this: deb902ee57073540318c8ff5894e8f91
>> ]
>> [remove latex escapes from Dist help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302010809
>>  Ignore-this: b2823e6b46e01c6396b4bfd71a8ea284
>> ]
>> [remove latex formatting from AmendRecord help text
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302010737
>>  Ignore-this: 398f3d83e976d7346eda50c51a420a4a
>> ]
>> [escape latex special chars from command help text in manual
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302010403
>>  Ignore-this: 8c5edf5481981ba4ce52dc8364984157
>>  This is an ugly hack. It doesn't cope with "formatted ascii text", but it
>>  is an improvement until the help texts can be formatted with reST or
>>  something similar.
>> ]
>> [put each command usage in new paragraph in manual
>> Tommy Pettersson <ptp at lysator.liu.se>**20090302010210
>>  Ignore-this: badb1b750850b52c7611e7fd14b124f5
>> ]
>> [Add an executable to darcs.cabal to build unit tests
>> Reinier Lamers <tux_rocker at reinier.de>**20090228123756
>>  Ignore-this: 1a7851ac63c0b7c3728cc39dc68634f
>> ]
>> [fix error on homepage.
>> David Roundy <droundy at darcs.net>**20090228171403
>>  Ignore-this: fe3009d341e976bf2fc4caaa2f95e6604a25bc27
>> ]
>> [Sunset the external-bytestring flag (it goes out after 2009-07).
>> Eric Kow <kowey at darcs.net>**20090221143824
>>  Ignore-this: c77361850cc00b3cf4c53fd160d2ff7d
>> ]
>> [Simplify flag names to just refer to hackage names.
>> Eric Kow <kowey at darcs.net>**20090221143626
>>  Ignore-this: cacef1b5d92923d5011b97e9afad51e6
>> ]
>> [Cabal: require utf8-string by default.
>> Eric Kow <kowey at darcs.net>**20090217153111
>>  Ignore-this: e9f37c379b46a403ccd9f6359aa8d92e
>>  The user can go back to the internal utf8-string binding with cabal configure -f-utf8-string
>> ]
>> [Remove unused import.
>> Trent W. Buck <trentbuck at gmail.com>**20090225035946
>>  Ignore-this: d2a12457ca82d1aa2c72f5f7c1759a0f
>>  Cleans up after this patch:
>>
>>  Fri Feb 20 23:43:22 EST 2009  Christian Kellermann <Christian.Kellermann at nefkom.net>
>>    * show patch names on push/pull only when using 'l'
>> ]
>> [Avoid "unused import" warning.
>> Trent W. Buck <trentbuck at gmail.com>**20090223071349]
>> [Fix FTBFS on Windows.
>> Trent W. Buck <trentbuck at gmail.com>**20090223070906]
>> [Restore 'or later' in doc warning about GHC 6.4 and control characters.
>> Eric Kow <kowey at darcs.net>**20090221150133
>>  Ignore-this: 33523246b21116821fec97e672c6ed0
>>
>>  The 'or later' was removed in the following changelog patch:
>>  Sun Dec  4 15:13:12 GMT 2005  Tommy Pettersson <ptp at lysator.liu.se>
>>    * add changelog entries
>>
>>  I believe the removal was accidental.
>> ]
>> [Note GHC 6.6 as the new build requirement.
>> Eric Kow <kowey at darcs.net>**20090221145431
>>  Ignore-this: 1c6a25fb6908487ba0ac6dc937f8e6bf
>> ]
>> [Explain #ifdef HAVE_HTTP in check for _darcs/prefs/post.
>> Eric Kow <kowey at darcs.net>**20090221141553
>>  Ignore-this: 1e75f1230c4bfc79f3c7a83f364ed003
>> ]
>> [show patch names on push/pull only when using 'l'
>> Christian Kellermann <Christian.Kellermann at nefkom.net>**20090220124322
>>  Ignore-this: ac72d63dd8880257d851f99c7b8682ff
>> ]
>> [Remove "unused import/definition" warnings with -fzlib.
>> Trent W. Buck <trentbuck at gmail.com>**20090220073544
>>  Ignore-this: 55400327516c0a2b3fcd95f911bd187a
>> ]
>> [Only import things if they are needed.
>> Trent W. Buck <trentbuck at gmail.com>**20090220033734
>>  Ignore-this: ab0558b58e4ccf6cd4deba1e66ba2df
>> ]
>> [Typo: have_HTTP should be HAVE_HTTP.
>> Trent W. Buck <trentbuck at gmail.com>**20090220033456
>>  Ignore-this: a9f418e6fe39d705e994b96e90d5711f
>> ]
>> [Add a sunset notice to our UTF8 module
>> Eric Kow <kowey at darcs.net>**20090204165922
>>  Ignore-this: e29bed6a8fa818419eee49ea17e9caa6
>> ]
>> [Replace Autoconf.hs with consistent use of CPP.
>> Trent W. Buck <trentbuck at gmail.com>**20090219064516
>>  Ignore-this: 2ff5eedd03d98cc0544260305a0c9ea0
>>
>>  It's annoying how recording a patch causes a bunch of unrelated
>>  modules like SHA1 to be recompiled, simply because they use *other*
>>  variables exported by Autoconf.
>>
>>  Since everything is now available via processor definitions, and these
>>  definitions are already used in several places, let's just use them
>>  everywhere and remove Autoconf entirely.
>> ]
>> [Replace our (///) function with filepath's (</>) in Darcs.Resolution
>> Eric Kow <kowey at darcs.net>**20090218104812
>>  Ignore-this: 152445b2470967ccdd7664150495fa3f
>> ]
>> [Remove unused Slurpy parameter from with_selected_*.
>> Petr Rockai <me at mornfall.net>**20090214065119
>>  Ignore-this: fd563444400705972b8be84e3946f966
>> ]
>> [resolve issue1361: specify required includes for curl in cabal file
>> Reinier Lamers <tux_rocker at reinier.de>**20090215123415
>>  Ignore-this: 2581d04c7534d750575dd4732911fb8f
>> ]
>> [Explain why readFile is in the haskell policy test.
>> Eric Kow <kowey at darcs.net>**20090213165322
>>  Ignore-this: 1a796f69b6bdcf32c7a98bffd46d73f2
>> ]
>> [add suggested fix to readFile policy warning
>> Simon Michael <simon at joyful.com>**20090212183255
>>  Ignore-this: f8430012bbc4113a5e6b17c22409b59f
>> ]
>> [Work around weird haddock error.
>> Eric Kow <kowey at darcs.net>**20090212201348
>>  Ignore-this: 5cca0eef7b7490490bb2163804cee30
>> ]
>> [haddock typo
>> Simon Michael <simon at joyful.com>**20090212193131]
>> [Cabal: Fix haddock generation.
>> Petr Rockai <me at mornfall.net>**20090212191024
>>  Ignore-this: 564aff636fba5684b7e37410f14859d7
>>
>>  Haddock parses the sources, but does not pass the -D options, and without
>>  these, ThisVersion.hs is not compilable. Adding fallback definitions fixes
>>  that...
>> ]
>> [Fix test failure by ratifying the offending readFile.
>> Petr Rockai <me at mornfall.net>**20090212193035
>>  Ignore-this: 347a2b873062a30e7dcea0471619078f
>> ]
>> [Ratify readFile in list_authors
>> Eric Kow <kowey at darcs.net>**20090212194225
>>  Ignore-this: 1b7c130f1be5980dd1925451f080edad
>> ]
>> [Export read_pending from Darcs.Repository.Internal.
>> Petr Rockai <me at mornfall.net>**20090212151601
>>  Ignore-this: ec52212b33309fa92b273a9b5f69b9d1
>> ]
>> [Resolve issue1347: Check for unsafeMMapFile if mmap use enabled.
>> Dave Love <fx at gnu.org>**20090211164509
>>  Ignore-this: a6f2807ea7e6d25ce1b2228936170720
>> ]
>> [doc: Fix a typo and some trailing whitespace.
>> Eric Kow <kowey at darcs.net>**20090210202059
>>  Ignore-this: 261c2ce84c1f9c28128789efe55909a8
>> ]
>> [MS Windows specific docs
>> kari at hoijarvi.org**20090207164149
>>  Ignore-this: beae9c64645056a474e74a3b395967
>> ]
>> [document .authorspellings in show authors --help
>> Simon Michael <simon at joyful.com>**20090208004517
>>  Ignore-this: 37cca0a913105b1d2f767f9c2f729bd5
>> ]
>> [add help to authorspellings file
>> Simon Michael <simon at joyful.com>**20090208003225
>>  Ignore-this: 5d404d6958cb66ae38ebb2fae29bae2c
>> ]
>> [small authorspellings fix
>> Simon Michael <simon at joyful.com>**20090208002825
>>  Ignore-this: 1ac99c082d857dfabcce2275b7bc93e4
>> ]
>> [add list_authors-style canonicalizing to the show authors command
>> Simon Michael <simon at joyful.com>**20090207232835
>>  Ignore-this: deac150ed2e2de58442e8fd398c9b14e
>> ]
>> [add .authorspellings file appropriate for our repo
>> Simon Michael <simon at joyful.com>**20090207235751
>>  This .authorspellings file is equivalent to the old hard-coded
>>  spellings in list_authors.hs. With this in place, darcs show authors
>>  gives the same output as list_authors.
>> ]
>> [canonical authors may be defined in an .authorspellings file
>> Simon Michael <simon at joyful.com>**20090207221321
>>  Example:
>>
>>  Joe Blogg <a at b.c>
>>  -- authors containing d at e.f or d at g.h or matching just "sue" are Sue Bragg
>>  Sue Bragg <d at e.f>, d at g.h, ^sue$
>>
>> ]
>> [configuring author spelling variations was complicated, now easier
>> Simon Michael <simon at joyful.com>**20090207204248]
>> [Update tests/network/changes.sh (we don't use $DARCS for ages now).
>> Petr Rockai <me at mornfall.net>**20090206061737
>>  Ignore-this: 22da10c3a4233e61e337de8f1bffad43
>> ]
>> [Update shell_harness to work with new Distribution.ShellHarness.
>> Eric Kow <kowey at darcs.net>**20090205184707
>>  Ignore-this: 345ec618b597a2b454e0a137d750bff2
>> ]
>> [Cabal: In test, use the darcs binary in the build directory.
>> Petr Rockai <me at mornfall.net>**20090205120452
>>  Ignore-this: a335d9c1dfc54d33ca87816e2a9ccde8
>> ]
>> [Interestingly, witnesses also need send_email.c on win32.
>> Petr Rockai <me at mornfall.net>**20090205110142
>>  Ignore-this: a8c4d4add08b1b54040eb8f4c4f256e5
>> ]
>> [Look for diff & sendmail at runtime, not compile time.
>> Petr Rockai <me at mornfall.net>**20090204091320
>>  Ignore-this: 37900b4856a324cd423b57b7f933d701
>> ]
>> [One more witnesses build fix (-lz).
>> Petr Rockai <me at mornfall.net>**20090204170848
>>  Ignore-this: 95fd79f9685632429da47de0c9e856d
>> ]
>> [Remove a redundant clause from the Cabal file."
>> Judah Jacobson <judah.jacobson at gmail.com>**20090203165258
>>  Ignore-this: baa557fd2d2a9993daa53b9da525909f
>> ]
>> [Tell Cabal about send_email.c on Windows.
>> Judah Jacobson <judah.jacobson at gmail.com>**20090203165206
>>  Ignore-this: cf720fe0a9ed812a348726e84a72b7a
>> ]
>> [Don't use the bytestring-mmap package on Windows.
>> Judah Jacobson <judah.jacobson at gmail.com>**20090203164824
>>  Ignore-this: 360f890524bfe0f5d4dac2f17af3ed6a
>> ]
>> [Handle empty files in mmapFilePS. Also cater for FD shortage.
>> Petr Rockai <me at mornfall.net>**20090204172953
>>  Ignore-this: a7cad4f4aa1aed12b7f121ea4c5aa591
>> ]
>> [doc: Correct path to darcs cache on Windows
>> Eric Kow <kowey at darcs.net>**20090131211156
>>  Ignore-this: 235c6883a132fd41dbe958224134cac
>> ]
>> [System.Posix is also needed by witnesses on win32.
>> Petr Rockai <me at mornfall.net>**20090203140001
>>  Ignore-this: 7c331bb358cc5e4a56b602443486b76c
>> ]
>> [Cabal: Do not make absence of a diff tool fatal.
>> Petr Rockai <me at mornfall.net>**20090203155656
>>  Ignore-this: 89c3337030556b9ca4a945d82283d356
>> ]
>> [Pass -DWIN32 when compiling witnesses, on win32.
>> Petr Rockai <me at mornfall.net>**20090203132055
>>  Ignore-this: 7054bba42feb211424a4762ab7106897
>> ]
>> [Outsource the (optional) mmap support to bytestring-mmap.
>> Petr Rockai <me at mornfall.net>**20090128173825
>>  Ignore-this: b497434fc44b93c41252f83464f08db2
>> ]
>> [Relax regex and parsec dependencies in darcs.cabal.
>> Petr Rockai <me at mornfall.net>**20090128151230
>>  Ignore-this: b8e46f9551c0dac608ba3584ccb725bc
>> ]
>> [Cabal: Look around for diff and sendmail properly.
>> Petr Rockai <me at mornfall.net>**20090128141151
>>  Ignore-this: fd299a492c38fca04c791884226e63d9
>> ]
>> [Update push-formerly-pl.sh test for issue1333
>> Eric Kow <kowey at darcs.net>**20090128145030
>>  Ignore-this: a4d765ab6b212e4bbedb14093a680054
>> ]
>> [Canonize Don Stewart, Petr Rockai, Benedikt Schmidt and Spencer Janssen
>> Eric Kow <kowey at darcs.net>**20090128142742
>>  Ignore-this: 94e76427b82465a7ddfea79b39b54c33
>> ]
>> [Resolve issue1333: Improve "cannot push to current repository" warning.
>> Petr Rockai <me at mornfall.net>**20090128094353
>>  Ignore-this: 1cc9fe3631f323a9a66639f5a1cee8ce
>> ]
>> [autoconf: Fix definition of SENDMAIL macro when sendmail is not found
>> Eric Kow <kowey at darcs.net>**20090127155329
>>  Ignore-this: 9799e7838d1a1843f562ad14c08aa337
>> ]
>> [autoconf: Define BIGENDIAN instead of setting it.
>> Eric Kow <kowey at darcs.net>**20090127140114
>>  Ignore-this: 65855789f62b42c4cc84b14f714ff086
>>  The new Autoconf.hs just checks if BIGENDIAN is defined, not its value.
>> ]
>> [Relax a few version constraints in darcs.cabal.
>> Petr Rockai <me at mornfall.net>**20090126154834
>>  Ignore-this: d3c7c92513dfffe14fc501d8e84c679d
>>
>>  These should be reasonably safe, as they only cover part of what has been
>>  previously accepted by configure.
>> ]
>> [Add missing doublequotes to multiple tests.
>> Petr Rockai <me at mornfall.net>**20090126151705
>>  Ignore-this: eb8553ec6ea036f49fee4b9bc20d8f04
>> ]
>> [Accept issue1266: warn on init inside a repo.
>> Trent W. Buck <trentbuck at gmail.com>**20090126011404
>>  Ignore-this: abf7526335f0975340a9a6d06df63470
>> ]
>> [Have autoconf forget about .hs.in.
>> Trent W. Buck <trentbuck at gmail.com>**20090126125644
>>  Ignore-this: 4fa6a3ce806c726dcaec5771d3059c8b
>> ]
>> [Drop autogeneration of Autoconf.hs, use CPP instead.
>> Petr Rockai <me at mornfall.net>**20090125175413
>>  Ignore-this: 5ba936527bad6d85bedf125b01f884d5
>> ]
>> [Produce -DPACKAGE_VERSION="..." programatically in Setup.lhs.
>> Petr Rockai <me at mornfall.net>**20090124215200
>>  Ignore-this: 6c3b0010d7de2397a7d81056523399dd
>> ]
>> [Replace ThisVersion.hs generation within Setup with some simple CPP.
>> Petr Rockai <me at mornfall.net>**20090124215149
>>  Ignore-this: 4a6a9baf2e0d016616d98ee9774c01f4
>> ]
>> [Add -fglasgow-exts to Darcs.Patch.Show
>> Eric Kow <kowey at darcs.net>**20090125221422
>>  Ignore-this: 38fa728c6dd08d8be30712b79b56f634
>>  This probably broke when we moved it from the cabal file to Darcs.Show
>> ]
>> [Remove stale import from Darcs.Commands.ShowRepo
>> Eric Kow <kowey at darcs.net>**20090125215507
>>  Ignore-this: 85cc913ca9532b3aec3c6ce616b896d1
>> ]
>> [Flip the repo test over to Cabal.
>> Petr Rockai <me at mornfall.net>**20090124223836
>>  Ignore-this: fc99853532cadcc9a9a77a2e26e2b077
>> ]
>> [A grand unified pwd hack.
>> Petr Rockai <me at mornfall.net>**20090125182013
>>  Ignore-this: edfd791d6780e3b01e5158895e7903a1
>>
>>  I have replaced all pwd occurances with a call to hspwd, and I am using runghc
>>  to do so. This might be slow-ish, but should be reasonably portable. Moreover,
>>  I am experimentally removing the IFS='' hack and adding missing doublequotes to
>>  some places (and to some where they are not needed by POSIX but who knows). I
>>  believe IFS='' is equivalent to adding proper quoting to expansions (ie $DIR ->
>>  "$DIR").
>> ]
>> [Refactor version machinery in Setup.lhs.
>> Petr Rockai <me at mornfall.net>**20090124211015
>>  Ignore-this: 590b4c7825cd858dfc2faa60d9440697
>>
>>  Sanctify the notion that 97, 98 and 99 are special in a darcs version
>>  number. Assign fancy names to them, for prettier darcs --version.
>> ]
>> [Resolve issue1310: create merged \darcsCommand{add}.
>> Trent W. Buck <trentbuck at gmail.com>**20090124144058
>>  Ignore-this: 945f45d0671c1e5a613ebfb3c4f90f59
>>  This replaces inconsistent use of \haskell{add_description},
>>  \options{add} and \haskell{add_help}.
>> ]
>> [Resolve issue1313: Clickable ToC and xrefs in PDF user manual.
>> Trent W. Buck <trentbuck at gmail.com>**20090125091034
>>  Ignore-this: 29bde3a5a170f5965d10d6c160b2099e
>> ]
>> [Test for strace first.
>> Trent W. Buck <trentbuck at gmail.com>**20090125062905
>>  Ignore-this: 76cbe2cb451d226cfa5cf0b39f43722
>>  This just results in more accurate "it didn't work because ..." output
>>  from "cabal test bugs".
>> ]
>> [(cabal build) build 'witnesses' only with -ftype-witnesses
>> Bertram Felgenhauer <int-e at gmx.de>**20090122224907
>>  Ignore-this: 6d627163a3d4258baf22f34e304bd767
>> ]
>> [(cabal build) add two missing modules to darcs library
>> Bertram Felgenhauer <int-e at gmx.de>**20090122224608
>>  Ignore-this: 6164fef661fa5f31cae007e523012e68
>> ]
>> [Tell the configure script to require haskeline>=0.6.0.
>> Judah Jacobson <judah.jacobson at gmail.com>**20090122214543
>>  Ignore-this: 13e0549a6a2c75eb22f3b75a915908e7
>> ]
>> [use forM_ from the standard library
>> Florent Becker <florent.becker at ens-lyon.org>**20090122125344
>>  Ignore-this: 4d9c0e4b98f9f43a0b519584806ddd1a
>> ]
>> [Remove LANGUAGE GADTs pragma in Darcs.Show (GHC 6.6 compatibility)
>> Eric Kow <kowey at darcs.net>**20090122102846
>>  Ignore-this: 488aa7c372f5deee415ae2bae0c578ac
>> ]
>> [Remove duplication in fields in the .cabal file
>> Duncan Coutts <duncan at haskell.org>**20090122021052
>>  Looks like it was a copy and paste error.
>> ]
>> [Remove unused ghc -threaded flag in library section
>> Duncan Coutts <duncan at haskell.org>**20090122021038
>>  The -threaded flag applies only to linking programs.
>>  Despte this, ghc regects the combinaton of using the -threaded
>>  and profiling flags, even for building a library. New Cabal
>>  versions will ignore the -threaded flag when building programs
>>  but not for libs because that combination is senseless. So there
>>  is a positive benefit to dropping it from the darcs library as
>>  it will let people build a profiling darcs with ghc-6.8 without
>>  having to modify the .cabal file to drop the -threaded flag.
>> ]
>> [Clean up after shell harness.
>> Trent W. Buck <trentbuck at gmail.com>**20090122050123
>>  We were only cleaning .o and .hi files within src.  Doing "make test"
>>  results in some .o and .hi files elsewhere.  We should add these
>>  directories to the "find src" calls above, but this hack is easier to
>>  understand and should suffice until we finish switching to Cabal.
>> ]
>> [Syntax highlighting for new-style NEWS entries.
>> Trent W. Buck <trentbuck at gmail.com>**20090122064107]
>> [NEWS for Darcs 2.2.0.
>> Trent W. Buck <trentbuck at gmail.com>**20090122064014]
>> [Use conventional name "NEWS" for "new in $version" notes.
>> Trent W. Buck <trentbuck at gmail.com>**20090122063959]
>> [Resolve issue1292: re-encode line input from the Haskeline backend.
>> Judah Jacobson <judah.jacobson at gmail.com>**20090121172422
>>  Ignore-this: e6c94db8cbef0f8fa3f3d0011c6ef88f
>>  This patch bumps dependencies to haskeline-0.6.* (which provides the required
>>  functionality) and terminfo-0.3.* (which is required by that version of
>>  Haskeline).  Haskeline is also enabled by default now that non-ASCII line input
>>  works correctly.
>> ]
>> [mv -fglasgow-exts to Darcs.Show
>> gwern0 at gmail.com**20090120150052
>>  Ignore-this: 21000375294de932f303baadba815b8b
>> ]
>> [Remove obsolete import.
>> Trent W. Buck <trentbuck at gmail.com>**20090118014801
>>  Ignore-this: d6bd196c7d088b7e7121637d7c1b1323
>> ]
>> [Refactor initial argument dispatcher.
>> Trent W. Buck <trentbuck at gmail.com>**20090117081533
>>  Ignore-this: fe101e61cc7b46a8c6b4415f08c737b
>> ]
>> [Simplify some of my own code.
>> Trent W. Buck <trentbuck at gmail.com>**20090117015505
>>  Ignore-this: 42a7df5c21ae0416441572380490e127
>> ]
>> [Haddocks for HashedIO
>> florent.becker at ens-lyon.org**20090116170955
>>  Ignore-this: 1c54191a243bd11d6d22d74600251587
>> ]
>> [Haddocks for Cache
>> florent.becker at ens-lyon.org**20090116170931
>>  Ignore-this: 3aa035bd5f805929113a616df9faefb6
>> ]
>> [Haddock for Darcs.External.fetchFile
>> florent.becker at ens-lyon.org**20090116170742
>>  Ignore-this: 96041231ca2800c3fcde4f56ec49e267
>> ]
>> [Refactor: use more guards.
>> Trent W. Buck <trentbuck at gmail.com>**20090115072617
>>  Ignore-this: b41bb970198ed1f42aebdfc63c90e115
>> ]
>> [Resolve issue1311:  Use time zones from GNU coreutils; improve doc.
>> Dave Love <fx at gnu.org>**20090112135012
>>  Ignore-this: 883bc4ccdb1d27fde14ec9c76a4d2a45
>> ]
>> [omit empty line at the end of output in darcs diff
>> Christian Kellermann <Christian.Kellermann at nefkom.net>**20090114110607
>>  Ignore-this: d71a3d5460fbe21244c4eba77dc47885
>> ]
>> [Clean up when previous test crashed.
>> Trent W. Buck <trentbuck at gmail.com>**20090113001345]
>> [Make "make clean" remove microbench.
>> Trent W. Buck <trentbuck at gmail.com>**20090111152130
>>  Put the clean target directly below the build target, so it's harder
>>  to get them out of sync in future.
>> ]
>> [Fix test optimize_relink.sh when no hard linking available
>> Thorkil Naur <naur at post11.tele.dk>**20090113223335
>>  The semicolon in the echo command causes the test to fail with the
>>  message
>>
>>  > optimize_relink.sh: line 37: assuming: command not found
>>
>>  when no hard linking is available.
>> ]
>> [Consistently use sh (not csh) prompts in user manual.
>> Trent W. Buck <trentbuck at gmail.com>**20090111114801
>>
>>  The sh prompt ($) was already used elsewhere in the manual, and I
>>  choose to standardize on it instead of csh (%) because sh (especially
>>  bash) seems more widespread and recognizable as the user shell prompt.
>> ]
>> [resolve issue1270: don't show the motd when --xml-output is given
>> lele at nautilus.homeip.net**20090109090726
>>  Ignore-this: e1dae49ceb510668a1358e2103268cc3
>> ]
>> [Get setpref description in manual.
>> Dave Love <fx at gnu.org>**20090111151941
>>  Ignore-this: 89b0d00a82582d03fdf51cd9822dba65
>> ]
>> [Example for issue1284.
>> Trent W. Buck <trentbuck at gmail.com>**20090111051101]
>> [resolve issue1235: added --summary to obliterate
>> Rob Hoelz <rob at hoelzro.net>**20090110032907]
>> [Haddock for Darcs.Repository.Format
>> Florent Becker <florent.becker at ens-lyon.org>**20090108160035
>>  Ignore-this: f88f0223ebbbe5694845dd1060e6f978
>> ]
>> [Remove stale comment (we now require GHC 6.6)
>> Eric Kow <kowey at darcs.net>**20081231080929
>>  Ignore-this: b19da9fabc8d2e38bccafc84a77fa278
>> ]
>> [do not use concatenation in src/Context.hs
>> Florent Becker <florent.becker at ens-lyon.org>**20090107135552
>>  Ignore-this: 9e86505a445730b7653e75f08e8ff81e
>> ]
>> [Print malicious paths and optional way around them when they cause a failure.
>> David Caldwell <david at porkrind.org>**20090105101628
>>  Ignore-this: cdb706087869e19e046bc0dd424ca38d
>> ]
>> [Fix typo in --dont-restrict-paths documentation.
>> David Caldwell <david at porkrind.org>**20090105024208
>>  Ignore-this: 16197eeef34dedddeda036b47747f234
>> ]
>> [Add --restrict-paths (and --dont-restrict-paths) to "darcs apply".
>> David Caldwell <david at porkrind.org>**20090102101737
>>  Ignore-this: f6ab937573bf0d5397361ddefed902c9
>> ]
>> [Add --restrict-paths (and --dont-restrict-paths) to "darcs pull".
>> David Caldwell <david at porkrind.org>**20090102101726
>>  Ignore-this: dd3bc04632d341be16709e0aee6753ec
>> ]
>> [Revert --restrict-paths removal.
>> David Caldwell <david at porkrind.org>**20090102101705
>>  Ignore-this: 1fba1f9a589aaabb1fa27a268f7c972e
>> ]
>> [Resolve issue1302: set closed bugs to resolved (not resolved-in-unstable).
>> Trent W. Buck <trentbuck at gmail.com>**20090105001351]
>> [make stringify cut the string
>> florent.becker at ens-lyon.org**20090104102125
>>  Ignore-this: e1a0cd83fce5085f60b812d894ca26e7
>>  This avoids choking utilities such as grep (or emacs' internal grep) which parse haskell files line-by-line.
>> ]
>> [make unit's return value depend on all tests
>> Florent Becker <florent.becker at ens-lyon.org>**20090102184930
>>  Ignore-this: fce3636c70bcb4a80413823c88e3ac6a
>> ]
>> [Resolve issue1285: remove "cabal test" intermediaries.
>> Trent W. Buck <trentbuck at gmail.com>**20090103095347]
>> [Resolve issue1206: Countable Nouns.
>> Trent W. Buck <trentbuck at gmail.com>**20090101062452
>>  Use the conventional term "Countable" instead of "Numbered".
>> ]
>> [Improve readability of bug reporting.
>> Trent W. Buck <trentbuck at gmail.com>**20081226120833
>>  Moving "at <location>" to the first line gives the descriptive string
>>  a line all to itself.  For example, darcs show bug:
>>
>>      darcs: bug at src/Darcs/Commands/ShowBug.lhs:57 compiled Nov  4 2008 12:05:43
>>      This is actually a fake bug in darcs.
>> ]
>> [Use imperative mood for primitive matcher help.
>> Trent W. Buck <trentbuck at gmail.com>**20081228114434]
>> [Check GADT witnesses when doing Cabal-based builds.
>> Petr Rockai <me at mornfall.net>**20081228111229]
>> [Fix haddock error
>> Eric Kow <kowey at darcs.net>**20081227204218
>>  Ignore-this: 60f05d20e5f37312f6b477067114fac7
>> ]
>> [Haddock for primitiveMatchers (untested).
>> Trent W. Buck <trentbuck at gmail.com>**20081227141921]
>> [Rewrite primitive matcher examples.
>> Trent W. Buck <trentbuck at gmail.com>**20081227141845]
>> [Rewrite "darcs help --match" output.
>> Trent W. Buck <trentbuck at gmail.com>**20081227141819
>>  Add an introductory paragraph, and put all the examples into a single
>>  code block, since one-line paragraphs are kind hard to read.
>> ]
>> [Delete superfluous "Introduction" headings.
>> Trent W. Buck <trentbuck at gmail.com>**20081227034129
>>  I don't think it's useful to grant a subsection heading to the single
>>  introductory paragraph of a section.
>> ]
>> [Refactor error text for readability.
>> Trent W. Buck <trentbuck at gmail.com>**20081109144007]
>> [Tweak user manual's title page.
>> Trent W. Buck <trentbuck at gmail.com>**20081227011031
>>  It annoyed me that the user manual was just called "Darcs", not "Darcs
>>  User Manual".
>> ]
>> [Improve readability of bug reporting.
>> Trent W. Buck <trentbuck at gmail.com>**20081226104243
>>  Moving "at <location>" to the first line gives the descriptive string
>>  a line all to itself.  For example, darcs show bug:
>>
>>      darcs: bug at src/Darcs/Commands/ShowBug.lhs:57 compiled Nov  4 2008 12:05:43
>>      This is actually a fake bug in darcs.
>> ]
>> [Haddockize developer comment.
>> Trent W. Buck <trentbuck at gmail.com>**20081214041902]
>> [Darcs.ColorPrinter: factor out getPolicy call
>> gwern0 at gmail.com**20081222180227
>>  Ignore-this: aee5b5415ee8bbfe1dac06e240b90080
>>  Less redundancy. 'getPolicy' is being called with the same args, and it's
>>  not like the environmental variables are going to change in between each
>>  call.
>> ]
>> [Make it possible to run just specific tests from cabal commandline.
>> Petr Rockai <me at mornfall.net>**20081223083742
>>
>>  All of `cabal test repair-corrupt bugs/newlines bugs/issue27.sh` should work as
>>  expected. The implementation is not very efficient, but seems to work fine.
>> ]
>> [Neatify "cabal test" option munging in Setup.lhs.
>> Petr Rockai <me at mornfall.net>**20081223080811]
>> [Sort the list of tests that are run by cabal.
>> Petr Rockai <me at mornfall.net>**20081223073642]
>> [Remove now-unused replacePristine.
>> Petr Rockai <me at mornfall.net>**20081210065138]
>> [resolve issue948: rewrite darcsman.
>> Trent W. Buck <trentbuck at gmail.com>**20081221081934
>>
>>  Significant changes are:
>>
>>   - Avoid duplicating groups from TheCommands.
>>   - Due to growing command_helps, list commands in SYNOPSIS.
>>   - Use subsections (.SS) for groups.
>>   - Include (with fancy markup!) command arguments.
>>   - Include darcs help --match.
>>   - Copy-and-paste description from darcs.cabal.
>>   - Remove AUTHORS section as suggested by man-pages(7).
>>   - Declare my copyright.
>>
>> ]
>> [Tweak punctuation in "darcs help --match".
>> Trent W. Buck <trentbuck at gmail.com>**20081221080949
>>
>>  Manpages treat apostrophes in the first line specially.  Use `TeX
>>  style' quotes instead, so this string can be included in the manpage.
>>
>>  Also omit mention of &&, || and ! until I find time to clarify that
>>  they are aliases for the human-readable and, or and not.
>> ]
>> [TAG 2.2.0
>> Petr Rockai <me at mornfall.net>**20090115150916]
>> Patch bundle hash:
>> bc35da8f120a038bb5d2d6f2bfc1e45b422feeb5
>
>> _______________________________________________
>> darcs-users mailing list
>> darcs-users at darcs.net
>> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
>
> --
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmwAgEACgkQBUrOwgisBPmWNgCgqD1tFqTwCftmD4pSGusNOloQ
> UHoAn3OCVZtfNS2RWk/oOoTcxRXdEsGk
> =ookH
> -----END PGP SIGNATURE-----
>
>


More information about the darcs-users mailing list