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
Simon Michael
d1a20553e3
ui: fix Any build error with GHC < 8.4
2018-10-24 12:20:52 -07:00
Simon Michael
86b4a9c93d
travis: unconditionally fetch latest stack (1.9.1)
2018-10-24 11:12:47 -07:00
Simon Michael
a1dd7ba871
travis: stop doing something with old "travis" branch
2018-10-24 11:12:47 -07:00
Peter Simons
94b4fa64fe
disregard over-specified version constraints in brick and config-ini
...
These packages work fine with the latest version of their dependencies.
They just don't say so on Hackage.
2018-10-24 10:37:28 -07:00
Simon Michael
7750bbaa36
stack: build with ghc 8.6 & latest nightly by default
2018-10-24 10:35:12 -07:00
Simon Michael
fbf984e2de
stack: update/rename ghc 8.4 config
2018-10-24 10:35:12 -07:00
Simon Michael
05cf6bf4a2
stack: update ghc 8.6 config
2018-10-24 10:35:12 -07:00
Simon Michael
8e92cbfa4e
stack: the ghc 7.10 stack file no longer builds hledger-ui
...
Something I can't figure out has gone wrong with the install plan,
relating to config-ini.
2018-10-24 10:35:12 -07:00
Simon Michael
5945c3c44f
tools: make: reorder build test rules
2018-10-24 10:35:12 -07:00
Peter Simons
027d084878
Drop undecidable Ord instance for ParseError.
...
That code fails to compile with ghc-8.6.1 because the instance is undecidable.
I suppose we could enable the appropriate compiler extension to support it, but
I've found that simply removing the instance causes no problems whatsoever: the
entire repository still compiles fine and it passes all test suites, too.
2018-10-24 10:35:11 -07:00