Skip to content
Snippets Groups Projects
  1. Nov 05, 2018
  2. Apr 25, 2018
    • Alec Theriault's avatar
      Replace 'attoparsec' with 'parsec' (#799) · 79c71591
      Alec Theriault authored and Alex Biehl's avatar Alex Biehl committed
      * Remove attoparsec with parsec and start fixing failed parses
      
      * Make tests pass
      
      * Fix encoding issues
      
      The Haddock parser no longer needs to worry about bytestrings. All
      the internal parsing work in haddock-library happens over 'Text'.
      
      * Remove attoparsec vendor
      
      * Fix stuff broken in 'attoparsec' -> 'parsec'
      
      * hyperlinks
      * codeblocks
      * examples
      
      Pretty much all issues are due to attoparsec's backtracking failure
      behaviour vs. parsec's non-backtracking failure behaviour.
      
      * Fix small TODOs
      
      * Missing quote + Haddocks
      
      * Better handle spaces before/after paragraphs
      
      * Address review comments
      79c71591
  3. Mar 27, 2018
    • Alec Theriault's avatar
      @since includes package name (#749) · 978dbc85
      Alec Theriault authored and Alex Biehl's avatar Alex Biehl committed
      * Metadoc stores a package name
      
      This means that '@since' annotations can be package aware.
      
      * Get the package name the right way
      
      This should extract the package name for `@since` annotations the
      right way. I had to move `modulePackageInfo` around to do this and,
      in the process, I took the liberty to update it.
      
      Since it appears that finding the package name is something that can
      fail, I added a warning for this case.
      
      * Silence warnings
      
      * Hide package for local 'since' annotations
      
      As discussed, this is still the usual case (and we should avoid being
      noisy for it).
      
      Although this commit is large, it is basically only about threading a
      'Maybe Package' from 'Haddock.render' all the way to
      'Haddock.Backends.Xhtml.DocMarkup.renderMeta'.
      
      * Bump binary interface version
      
      * Add a '--since-qual' option
      
      This controls when to qualify since annotations with the package they
      come from. The default is always, but I've left an 'external' variant
      where only those annotations coming from outside of the current
      package are qualified.
      
      * Make ParserSpec work
      
      * Make Fixtures work
      
      * Use package name even if package version is not available
      
      The @since stuff needs only the package name passed in, so it
      makes sense to not be forced to pass in a version too.
      978dbc85
  4. Mar 14, 2018
  5. Mar 10, 2018
  6. Mar 02, 2018
    • Alec Theriault's avatar
      Support unicode operators, proper modules · 44b1d875
      Alec Theriault authored
      Unicode operators are a pretty big thing in Haskell, so supporting linking them
      seems like it outweighs the cost of the extra machinery to force Attoparsec to
      look for unicode.
      
      Fixes #458.
      44b1d875
  7. Feb 01, 2018
  8. Jul 31, 2017
  9. May 13, 2017
  10. Dec 21, 2015
  11. May 27, 2015
  12. Jan 22, 2015
  13. Dec 12, 2014
  14. Dec 10, 2014
    • Mateusz Kowalczyk's avatar
      Update doctest parts of comments · d453ce0d
      Mateusz Kowalczyk authored
      d453ce0d
    • Mateusz Kowalczyk's avatar
      Allow the parser to spit out meta-info · 12a066d9
      Mateusz Kowalczyk authored
      Currently we only use it only for ‘since’ annotations but with these
      patches it should be fairly simple to add new attributes if we wish to.
      
      Closes #26. It seems to work fine but due to 7.10 rush I don't have the
      chance to do more exhaustive testing right now. The way the meta is
      output (emphasis at the end of the whole comment) is fairly arbitrary
      and subject to bikeshedding.
      
      Note that this makes test for Bug310 fail due to interface version bump:
      it can't find the docs for base with this interface version so it fails.
      There is not much we can do to help this because it tests for ’built-in’
      identifier, not something we can provide ourselves.
      12a066d9
  15. Nov 16, 2014
  16. Nov 08, 2014
  17. Nov 04, 2014
  18. Nov 03, 2014
  19. Sep 18, 2014
  20. Aug 15, 2014
  21. Jul 28, 2014
  22. Jun 25, 2014
  23. Jun 18, 2014
Loading