Commit Graph

5225 Commits

Author SHA1 Message Date
Simon Michael
ab073e01e3 lib: add -P short flag for --pending (#564) 2017-06-15 19:16:39 -07:00
Simon Michael
8b073014e4 lib, cli: -U/--uncleared no longer matches pending things (#564)
Also begin using "marked"/"unmarked" terminology where it's helpful.
2017-06-15 19:16:39 -07:00
Simon Michael
c5d63f03ce lib: clean up status functional tests, document ClearedStatus (#564) 2017-06-15 19:16:39 -07:00
Simon Michael
a14317db3c tests: csv: cleanup #573 2017-06-14 08:54:32 -07:00
Simon Michael
9d33fbee17 tests: csv: fix wrong use of echo #573
echo doesn't normally render \n as a newline. It was working on
some machines and not others, possibly due to a shelltestrunner
quoting bug,
2017-06-14 08:50:12 -07:00
Simon Michael
6de874c544 tests: csv: note some issues #573 2017-06-14 08:50:08 -07:00
Simon Michael
a104aee3a0 tests: csv: fix confusingly wrong numbering 2017-06-13 10:01:22 -07:00
Simon Michael
f633f2bbb1 tools: make addons (& make functest) compiles the add-ons
bin/compile.sh remains in place for discoverability.

Let's see if this causes a Travis meltdown.
2017-06-13 09:39:34 -07:00
Simon Michael
fd74da0836 cli: drop an unnecessary test grouping causing unwanted output 2017-06-09 18:27:04 -07:00
Simon Michael
85e5bd0978 cli: hide successes in hledger package's tests output, also 2017-06-09 18:26:33 -07:00
Justin Le
54d33ce028 show colorized amounts for totals of bs/is/cf (#567) 2017-06-08 10:33:46 -07:00
Simon Michael
995fcbeaf5 examples: clarify b of i amount-in/out alternative example (#570) 2017-06-07 13:29:30 -07:00
Simon Michael
06140ea610 tools: make test: less stack progress output; skip redundant builtin tests 2017-06-07 07:20:25 -07:00
Simon Michael
54915bba61 tools: hide successes in make functest 2017-06-07 07:15:45 -07:00
Justin Le
6857cd64a8 Fixing bs/is/cf --flat regressions (#566)
* fixing bs/is/cf --flat regressions

* fixed Tree forcing for non-period reports
2017-06-07 07:03:13 -07:00
Simon Michael
30a018337c bs: test for #552 2017-06-07 07:02:58 -07:00
Simon Michael
c0e1dc6676 bs: test for #565 2017-06-07 07:00:26 -07:00
Simon Michael
dae17093c3 lib: hide successful hunit tests, to avoid obscuring failed doctests (#568) 2017-06-07 06:42:58 -07:00
Carel Fellinger
da9aa81ec7 Update AutoTransaction.hs
lib: fix unit test some more after 5c095534
2017-06-07 12:56:43 +02:00
Simon Michael
7cc2d86ac0 lib: fix unit tests after 5c095534 2017-06-06 09:43:05 -07:00
Simon Michael
9650e88cc5 tools: travis: also run the hunit unit tests by default
Run at least some unit tests by default again.
The hunit tests are fast and we can run them without any rebuilding.
2017-06-06 09:34:52 -07:00
Simon Michael
1755f71202 bump version/month in all generated docs 2017-06-06 09:22:39 -07:00
Simon Michael
af11cd6243 bump package versions to 1.2.98 (1.3 alpha) 2017-06-06 09:21:51 -07:00
Simon Michael
573b08bb90 tools: make setversion: also update hledger-api package version 2017-06-06 09:20:55 -07:00
Simon Michael
5c09553481 lib: keep amounts aligned when rendering a transaction with posting flags
Related to #563, when rendering a transaction, we reserve two more chars
of width so that amounts remain aligned when there are posting flags.
Affects hledger-ui's transaction screen, print, hledger-rewrite etc.
2017-06-04 21:26:18 -07:00
Simon Michael
1adc636554 lib: show pending posting flags when rendering a transaction (fix #563)
This affects hledger-ui's transaction screen, print, hledger-rewrite etc.
A pending flag on postings is now displayed, just like a cleared flag.
Also there will now be a space between flag and account name.
And it's slightly better at aligning amounts, due to now considering
virtual posting parentheses/brackets or something.
2017-06-04 17:54:57 -07:00
Simon Michael
cd70bb1a86 disable not-yet-implemented test that was breaking travis (#551) 2017-06-04 14:51:25 -07:00
afarrow
26d2fe3827 Fix typo in help docs (#560) 2017-05-31 16:20:21 -07:00
Simon Michael
c9e7bbdc7c clarify recent print changes a bit (#551) 2017-05-30 13:57:52 -07:00
Simon Michael
4f712754e4 lib: test for #551 2017-05-30 13:57:52 -07:00
Simon Michael
aca7c0d93b lib: clarify journalBalanceTransactions 2017-05-30 13:57:52 -07:00
Simon Michael
13c4643a09 tools: make ghci-prof starts GHCI in profiling mode, can use traceStack 2017-05-30 13:57:52 -07:00
Simon Michael
2db81d0d13 doc: tutorial tweaks
[ci skip]
2017-05-30 13:57:52 -07:00
Simon Michael
bec71ba877 finance: catch up on gratipay donations 2017-05-30 13:57:52 -07:00
Simon Michael
d72874da96 finance: those fees are actually paypal's, 2% or $1 max 2017-05-30 13:57:51 -07:00
Christian G. Warden
d39040c634 Add Support for Rewriting Multipler Postings Into Different Commodities (#557)
When generating a new posting as a multiple of an existing posting,
support conversion to a different commodity.  For example, postings in
hours can be used to generate postings in USD.

Automatic transactions generated from rewrite rules use the commodity,
amount style, and transaction price if the rewrite defines a commodity.
2017-05-30 07:30:15 -07:00
Joe Horsnell
35f77ee5e4 Fix trivial typo (#balance-assertions anchor) in CSV docs. (#559) 2017-05-30 07:27:14 -07:00
Christian G. Warden
659b9c9d32 Use pandoc From Stackage Snapshot (#558)
Use pandoc from stackage snapshot when building documentation to ensure
that pandoc and the pandoc filters are built against the same version of
pandoc-types; otherwise, the filters can fail with an obtuse error (see
https://github.com/jgm/pandoc/issues/3217).
2017-05-30 07:26:24 -07:00
Simon Michael
dca7ffc10b doc: journal: meaning of --uncleared, matching tips (#553)
[ci skip]
2017-05-24 19:17:29 -07:00
Simon Michael
34af40024a doc: journal: expand transactions/postings/status sections (#553) 2017-05-24 17:44:32 -07:00
Simon Michael
2f5d950f0e tools: note that shelltest should be a released version 2017-05-24 15:51:33 -07:00
Simon Michael
a6c2f0697d tests: make cashflow.test compatible with released shelltestrunner 2017-05-24 15:46:00 -07:00
Simon Michael
e62e166eb1 doc: contrib guide: clarify mission, other tweaks 2017-05-24 05:02:27 -07:00
Simon Michael
6c95909fa2 stop forcing tree mode for now, need is unclear (fixes #552) 2017-05-23 10:05:04 -07:00
Simon Michael
a5b545c4eb doc: clarify some transaction price details
- remove inaccurate print examples
- note #551
- note Ledger's fixed price syntax
- note how posting order can affect -B
- edits for clarity
2017-05-22 17:52:14 -07:00
Simon Michael
7bc5ef3df0 stack: bump default snapshot to lts-8.15 2017-05-22 15:48:15 -07:00
Simon Michael
f9b89b391e site: download: refine B instructions 2017-05-22 15:48:15 -07:00
Jan Zerebecki
f403b1e709 Fix link to queries (#550) 2017-05-22 07:29:55 -07:00
Simon Michael
5e00d2f31c csv: refactor (#548) 2017-05-14 18:17:56 +09:00
Nicolas Wavrant
309d1ccd59 CsvReader: simplify '-' signs if there exist more than one (#548)
It prevents hledger to crash later, as it fails to read
amount strings containing more than one '-'

Fix #524
2017-05-14 09:34:33 +09:00