Permalink
Switch branches/tags
hledger-web-1.10 hledger-web-1.9.2 hledger-web-1.9.1 hledger-web-1.9 hledger-web-1.5.1 hledger-web-1.5 hledger-web-1.4 hledger-web-1.3.2 hledger-web-1.3.1 hledger-web-1.3 hledger-web-1.2 hledger-web-1.1 hledger-web-1.0.1 hledger-web-1.0 hledger-web-0.27 hledger-web-0.26 hledger-web-0.25.1 hledger-web-0.25 hledger-web-0.24.1 hledger-web-0.24 hledger-web-0.23.3 hledger-web-0.23.2 hledger-web-0.23.1 hledger-web-0.23 hledger-web-0.21.3 hledger-web-0_19 hledger-web-0_17_1 hledger-web-0_16_5 hledger-web-0_16_4 hledger-web-0_16_3 hledger-web-0_16_2 hledger-web-0_15_3 hledger-web-0_15_1 hledger{,-vty,-chart}-0_15_1,_hledger-web-0_15_2 hledger-ui-1.10.1 hledger-ui-1.10 hledger-ui-1.9.1 hledger-ui-1.9 hledger-ui-1.5 hledger-ui-1.4 hledger-ui-1.3.1 hledger-ui-1.3 hledger-ui-1.2 hledger-ui-1.1.2 hledger-ui-1.1.1 hledger-ui-1.1 hledger-ui-1.0.5 hledger-ui-1.0.4 hledger-ui-1.0.3 hledger-ui-1.0.2 hledger-ui-1.0.1 hledger-ui-1.0 hledger-ui-0.27.5 hledger-ui-0.27.4 hledger-ui-0.27.3 hledger-ui-0.27.2 hledger-ui-0.27.1 hledger-ui-0.27 hledger-lib-1.10 hledger-lib-1.9.1 hledger-lib-1.9 hledger-lib-1.5.1 hledger-lib-1.5 hledger-lib-1.4 hledger-lib-1.3.2 hledger-lib-1.3.1 hledger-lib-1.3 hledger-lib-1.2 hledger-lib-1.1 hledger-lib-1.0.1 hledger-lib-1.0 hledger-lib-0.27.1 hledger-lib-0.27 hledger-lib-0.26 hledger-lib-0.25.1 hledger-lib-0.25 hledger-lib-0.24.1 hledger-lib-0.24 hledger-lib-0.23.3 hledger-lib-0.23.2 hledger-lib-0.23.1 hledger-lib-0.23 hledger-irr-0.1.1.4 hledger-irr-0.1.1.3 hledger-irr-0.1.1.2 hledger-irr-0.1.1.1 hledger-irr-0.1.1 hledger-api-1.10 hledger-api-1.9.1 hledger-api-1.9 hledger-api-1.5 hledger-api-1.4 hledger-api-1.3.1 hledger-api-1.3 hledger-api-1.2 hledger-api-1.1 hledger-api-1.0 hledger-1.10 hledger-1.9.1 hledger-1.9
Nothing to show
Commits on Aug 15, 2018
  1. lib: more compact show instance for Amounts (#812)

    simonmichael committed Aug 15, 2018
    Amount's default show instance hid important details, making eg test
    failures hard to understand. Showing full detail required increasing
    the debug level which was inconvenient.
    
    Now it has a single show instance which shows more information, is
    fairly compact, and is pretty-printable with pretty-show.
    Ellipses (..) in the output indicate where fields are
    - not shown in full detail, and/or
    - shown in pseudo syntax (double quoted) to work with pretty-show.
    
    ghci> usd 1
    OLD:
    Amount {acommodity="$", aquantity=1.00, ..}
    NEW:
    Amount {acommodity = "$", aquantity = 1.00, aprice = NoPrice, astyle = AmountStyle "L False 2 Just '.' Nothing..", amultiplier = False}
    
    MixedAmount's show instance is unchanged, but showMixedAmountDebug
    is affected by this change:
    
    ghci> putStrLn $ showMixedAmountDebug $ Mixed [usd 1]
    OLD:
    Mixed [Amount {acommodity="$", aquantity=1.00, aprice=, astyle=AmountStyle {ascommodityside = L, ascommodityspaced = False, asprecision = 2, asdecimalpoint = Just '.', asdigitgroups = Nothing}}]
    NEW:
    Mixed [Amount {acommodity="$", aquantity=1.00, aprice=, astyle=AmountStyle "L False 2 Just '.' Nothing.."}]
Commits on Aug 14, 2018
  1. lib: comment

    simonmichael committed Aug 4, 2018
  2. lib: Fix compile errors in tests

    Jakub Zárybnický authored and simonmichael committed Jun 17, 2018
Commits on Aug 5, 2018
  1. site: home: update from wiki

    simonmichael committed Aug 5, 2018
    [ci skip]
Commits on Aug 3, 2018
  1. lib: followingcomment: parse no comment as "", not "\n"

    simonmichael committed Aug 3, 2018
    Same-line & next-line comments of transactions, postings, etc.
    are now parsed a bit more precisely. Previously parsing no comment
    gave the same result as an empty comment (a single newline); now
    it gives an empty string.
    
    Also, and perhaps as a consequence of the above, when there's no
    same-line comment but there is a next-line comment, we'll insert an
    empty first line, otherwise next-line comments would get moved up to
    the same line when rendered.
    
    Some doctests have been added.
  2. lib: doctests: file pattern arguments, more informative output

    simonmichael committed Aug 3, 2018
    Limiting to just the file(s) you're interested can make doctest start
    much quicker. With a big caveat: you can limit the starting files,
    but it will also test all other local files those import.
  3. lib: doctests: add --verbose and --slow flags to executable

    simonmichael committed Aug 3, 2018
    --slow turns off doctest's --fast flag, which skips reloading between
      tests.
    --verbose shows progress output as tests are run, if doctest 0.16.0+
      is installed (and I believe will be harmless otherwise)
  4. tools: make functest: also run unit tests

    simonmichael committed Aug 3, 2018
    The main unit tests are now included in the functional test suite
    (via hledger's test command), so make functest covers more.
    
    [ci skip]
Commits on Aug 2, 2018
  1. lib: fail when file to include is in stack of 'include' files

    jbweston authored and simonmichael committed Aug 2, 2018
  2. lib,rewrite: simplify transactionModifierToFunction

    simonmichael committed Jul 31, 2018
    This removes transactionModifierToFunction's extra query parameter;
    the rewrite command sets it in the TransactionModifier instead, which
    I think is equivalent. I had to change one functional test, but it
    seems correct now, so perhaps it wasn't working right before ?