Commit Graph

6989 Commits

Author SHA1 Message Date
Simon Michael
bd8f1ae70e site: doc: use relative doc version links, fixing local preview
[ci skip]
2018-12-03 14:34:02 -08:00
Simon Michael
439dcd2dea web: note hackage warning
[ci skip]
2018-12-03 14:05:01 -08:00
Simon Michael
1e8e97f63c doc: fix version messages in 0.27 and 1.11 docs
[ci skip]
2018-12-03 13:56:33 -08:00
Simon Michael
be3891234c doc: fix wrong 1.12 doc links
[ci skip]
2018-12-03 09:36:08 -08:00
Simon Michael
e97d9b13e0 doc: remove wrong "dev" suffix on 1.12 docs 2018-12-03 09:35:40 -08:00
Simon Michael
0c5e1797a5 doc: clarify unused m4 macro
[ci skip]
2018-12-03 09:35:09 -08:00
Simon Michael
4046344425 doc: relnotes: 1.12: issue links
[ci skip]
2018-12-03 09:30:10 -08:00
Simon Michael
2f8aa8d536 make: changes-*: add markdown line breaks after first lines
[ci skip]
2018-12-03 09:27:19 -08:00
Simon Michael
5cfe5456d6 make: note IDEA ^M issue
[ci skip]
2018-12-03 09:26:51 -08:00
Simon Michael
e0983d00b1 doc: relnotes: break after first line in 1.12 notes
[ci skip]
2018-12-03 09:22:04 -08:00
Simon Michael
ef0f4cd4d2 shake: disable pandoc's tex math extension to silence relnote warning
[ci skip]
2018-12-03 09:21:05 -08:00
Simon Michael
d710ea113f site: download: bump hledger-iadd version
[ci skip]
2018-12-03 06:19:41 -08:00
Simon Michael
506d1a4b61 install: bump hledger-iadd version
[ci skip]
2018-12-03 06:18:56 -08:00
Simon Michael
d264a14249 site: download: update for 1.12
[ci skip]
2018-12-02 21:18:59 -08:00
Simon Michael
9eb0a75242 doc: add 1.12 manuals snapshot 2018-12-02 17:39:08 -08:00
Simon Michael
f46014384d install: bump versions 2018-12-02 17:26:31 -08:00
Simon Michael
40713ee7aa update embedded manuals 2018-12-02 17:26:18 -08:00
Simon Michael
67d7c82e9f bump version to 1.12 2018-12-02 17:20:34 -08:00
Simon Michael
91da79d089 doc: release notes 2018-12-02 17:15:00 -08:00
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