This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 02 Jun, 2018 1 commit
    • quasicomputational's avatar
      Be more efficient about globbing · 950f6d1a
      quasicomputational authored
      Before, we were walking the directory tree recursively
      unconditionally. Now we check if the pattern is recursive before doing
      that, and also only check the directory's full listing if a glob
      pattern is involved at all, so literal patterns are more efficient.
      950f6d1a
  2. 29 May, 2018 1 commit
  3. 25 May, 2018 12 commits
  4. 19 May, 2018 1 commit
    • quasicomputational's avatar
      Don't break when data-dir is null. · d0c3defe
      quasicomputational authored
      PR #5284 changed things around, and now matchDirFileGlob will break if
      it's passed a null directory, which happens to be the default value
      for data-dir. Its call sites have been fixed to check for this and to
      substitute '.' for an empty path, which is the desired behaviour; in
      addition, matchDirFileGlob itself will now warn about this if it's
      detected, so that new broken call sites can't sneak in.
      
      Fixes #5318.
      d0c3defe
  5. 17 May, 2018 2 commits
  6. 15 May, 2018 1 commit
  7. 09 May, 2018 4 commits
  8. 08 May, 2018 1 commit
    • quasicomputational's avatar
      Allow ** wildcards in globs. · 5e83ef26
      quasicomputational authored
      These are inspired by a plan described in a comment in #2522, and only
      implement a quite limited form of recursive matching: only a single **
      wildcard is accepted, it must be the final directory, and, if a **
      wildcard is present, the file name must include a wildcard.
      
      Or-patterns are not implemented, for simplicity.
      
      Closes #3178, #2030.
      5e83ef26
  9. 28 Apr, 2018 1 commit
  10. 26 Apr, 2018 8 commits
  11. 23 Apr, 2018 1 commit
  12. 19 Apr, 2018 5 commits
  13. 17 Apr, 2018 1 commit
  14. 16 Apr, 2018 1 commit