Commit Graph

6870 Commits

Author SHA1 Message Date
Simon Michael
b22f7944b8 doc: changelog tweak 2018-12-02 17:13:02 -08:00
Simon Michael
2e525f5600 lib: accountdirectivep: update unit tests 2018-12-02 16:41:16 -08:00
Simon Michael
99a04c219f roi: add to commands list 2018-12-02 16:27:36 -08:00
Simon Michael
552783a06b doc: journal: rewrite balance assertions doc a little 2018-12-02 16:22:28 -08:00
Simon Michael
2d51cef88e doc: changelogs 2018-12-02 13:29:00 -08:00
Jesse Rosenthal
1389a64e99 tests: budget: add tests for unassignable accounts. 2018-12-02 13:29:00 -08:00
Jesse Rosenthal
11a5809c5c journal: improve unassignable error. 2018-12-02 13:29:00 -08:00
Jesse Rosenthal
07d0a003a3 journal: fill unassignable list from account names. 2018-12-02 13:29:00 -08:00
Jesse Rosenthal
597b1b8ccd journal: check assignments against unassignable list 2018-12-02 13:29:00 -08:00
Jesse Rosenthal
ff455689a3 journal: add new state field for unassignable accounts
This should eventually include accountnames from transaction
modifiers (if `--auto` is enabled), or periodic transactions (if
`--forecast` is enabled).
2018-12-02 13:29:00 -08:00
Simon Michael
45b8d4c0de make: clarify comment 2018-12-01 16:29:31 -08:00
Simon Michael
df775326d9 lib: add disabled test for proposed #931 solution 2018-11-29 13:44:38 -08:00
Simon Michael
6d0ee6a590 lib: clarify what postingsAsLines does (#931) 2018-11-29 13:32:59 -08:00
Simon Michael
e06e300446 lib: try to pin down what isTransactionBalanced does (#931) 2018-11-29 13:14:49 -08:00
Simon Michael
b2b25d2523 doc: changelogs: tweak descriptions 2018-11-25 21:06:33 -08:00
Simon Michael
a2faa8dfbf journal: doc: move multicommodity assertions doc to right place 2018-11-25 21:05:55 -08:00
Simon Michael
7114da4baf make: new changes-* rules 2018-11-25 21:05:55 -08:00
Simon Michael
309a77d03e stack: update stack.yaml for latest stackage nightly/GHC 8.6.2 2018-11-23 16:07:56 -08:00
Alex Chen
e4cc6f31b9 lib: update periodic transaction entry in journal docs
- also specify the starting date in the example periodic transaction so
  that it lies on the first day of the week (it otherwise does not
  parse)
2018-11-22 14:09:32 -08:00
Alex Chen
83a63a4ef5 lib: minor cleanup in 'periodictransactionp' 2018-11-22 14:09:32 -08:00
Alex Chen
519297051d lib: restore previous period expression parser behaviour (PR #807)
- parse a period expression by first extracting words separated by
  single spaces, then by "re-parsing" this text with 'periodexprp'
- this way, the period expression parsers do not need to know about
  the single- or double-space rules
2018-11-22 14:09:32 -08:00
Alex Chen
880e6e0a32 lib: add a custom parse error for "re-parsing"
- for pretty-printing parse errors thrown from the parsing of excerpts
  of the source text as if they were thrown from the parsing of the
  source text itself
2018-11-22 14:09:32 -08:00
Simon Michael
a711ae60fb journal: doc: more detail on transaction modifiers (#928)
[ci skip]
2018-11-13 18:15:51 -08:00
Simon Michael
b00aa32d7b journal: txn modifier multipliers multiply total-priced amounts (#928)
A different approach: instead of converting to unit prices and fiddling
with the display precision, just multiply the total prices by the same
multiplier (and keep them positive).

This seems a little more natural. I'm not sure if one of these will be
more robust than the other.
2018-11-13 17:50:30 -08:00
Simon Michael
d7919003ae lib: (divide|multiply)[Mixed]AmountAndPrice (#928)
Divide/multiply amounts *and* their total price, if they have one.
Helpful for keeping transactions balanced when transaction modifiers are
multiplying amounts.
2018-11-13 17:43:15 -08:00
Simon Michael
b053942e9b lib: flip the arguments of (divide|multiply)[Mixed]Amount (api change)
Also, start using a mapMixedAmount helper.
2018-11-13 17:28:24 -08:00
Simon Michael
9e8b1612b0 journal: fix txn modifier multipliers with total-priced amounts (#928)
Transaction modifier multipliers have never multiplied total-priced amounts
correctly (and prior to hledger 1.10, this could generate unbalanced
transactions).

Now, the generated postings in this situation will have unit prices,
and an extra digit of display precision. This helps ensure that
the modified transaction will remain balanced. I'm not sure yet if
it's guaranteed.
2018-11-13 16:35:46 -08:00
Simon Michael
4b5b9f46db lib: TransactionModifier: clarify 2018-11-13 16:35:46 -08:00
Simon Michael
80b34ea48d lib: TransactionModifier: cleanup 2018-11-13 11:25:36 -08:00
Simon Michael
cd1d15da8a site: home: update from wiki
[ci skip]
2018-11-13 00:00:03 -08:00
Aiken Cairncross
7da9788f5f Unindent body
Fixes incorrectly indented code block issue (#816) by removing all indentation from `body`.
2018-11-11 11:36:34 -08:00
Simon Michael
ef7d3379ca site: download: combine fedora/RHEL, add copr package
[ci skip]
2018-11-06 04:30:36 -08:00
Simon Michael
12d3ba6fc0 ui: refactor, try to clarify toggles' help
Consistent ordering with most-used toggles first, more intuitive wording
2018-11-04 13:54:20 -08:00
Simon Michael
1e7760a2c7 doc: simplify pull request template, link to more detailed wiki doc
[ci skip]
2018-10-29 16:07:24 -07:00
Simon Michael
7edca3eb04 doc: pull request guidelines tweak
[ci skip]
2018-10-29 12:16:39 -07:00
Simon Michael
efb332cc23 doc: pull request guidelines
[ci skip]
2018-10-29 11:11:07 -07:00
Simon Michael
82446204f9 Update issue templates 2018-10-29 08:43:28 -07:00
Simon Michael
6ffbaf29ff Update issue templates 2018-10-29 08:35:29 -07:00
Simon Michael
7198c45fbe Update issue templates 2018-10-29 08:29:42 -07:00
Simon Michael
c93579c124 Update issue templates 2018-10-29 08:27:50 -07:00
Simon Michael
620e34aaed Update issue templates
First issue template, guiding user support questions elsewhere.
2018-10-29 08:24:05 -07:00
Simon Michael
8c07080ee5 site: home: update from wiki
[ci skip]
2018-10-26 16:32:21 -07:00
Mykola Orliuk
99bfebd1a1 ui: support all results of showGenericSourcePos
Resolves simonmichael/hledger#904
2018-10-26 16:32:16 -07:00
Simon Michael
61e36173b4 appveyor: try ghc 8.6
[ci skip]
2018-10-24 12:55:35 -07:00
Simon Michael
0bb0d8967d appveyor: show stack version
[ci skip]
2018-10-24 12:53:58 -07:00
Simon Michael
8f50e824ed appveyor: use easytest 0.2.1 avoiding unicode output (may help #832) 2018-10-24 12:42:13 -07:00
Simon Michael
162e42db3b stack: use latest easytest 0.2.1 with all GHCs 2018-10-24 12:41:08 -07:00
Simon Michael
5a45666f1e appveyor: use latest stack release 2018-10-24 12:39:05 -07:00
Simon Michael
67f5b1071e travis: fetch stack only if needed again 2018-10-24 12:37:19 -07:00
Simon Michael
62ced48ce7 use easytest 0.2.1 (#883) 2018-10-24 12:30:30 -07:00