Commit Graph

155 Commits

Author SHA1 Message Date
Simon Michael
7fcd45614b add: ui cleanups
- tidier output
- show more help
- suggest . only for recording, not for quitting (though it still works)
- show each transaction after adding it (#52)
- don't parse . as a zero amount
- don't show [] when there's no default
2013-02-23 00:57:16 +00:00
Simon Michael
621a91807e rename actual/effective dates to primary/secondary
The command-line flag is now --date2. Alternate spellings --effective and --aux-date
are accepted for compatibility.
2012-12-06 04:43:41 +00:00
Simon Michael
e75abc4625 parse posting dates, better comment/tag handling, begin using HTF for unit testing 2012-12-06 00:28:23 +00:00
Simon Michael
211327c758 drop obsolete test 2012-12-05 23:38:48 +00:00
Simon Michael
f54e3299b9 94: fix 0.19 regression showing wrong total balance with balance --flat
and distinguish better between account depth and item indent level
2012-12-04 01:07:04 +00:00
Simon Michael
4248df5c6f clarify historical price field and tests 2012-11-20 00:27:43 +00:00
Simon Michael
cbc7661703 87: fix an arithmetic and transaction balancing bug with multiple total-priced amounts 2012-11-12 16:31:43 +00:00
Simon Michael
2b8d759db1 rename developer build to hledgerdev, avoiding confusion with production hledger 2012-10-21 18:23:23 +00:00
Simon Michael
0b96a767b4 support tilde (~) in journal and rules file paths 2012-05-30 08:36:01 +00:00
Simon Michael
074486549a make stats.test and include.test parallelizable 2012-06-29 18:05:12 +00:00
Simon Michael
24546bb910 stats: test display order of included files 2012-06-29 14:41:16 +00:00
Simon Michael
c2365c3541 update status tests 2012-06-29 18:33:45 +00:00
Simon Michael
d4a897306c combine command-line flags like --depth properly with non-flag query patterns 2012-06-29 22:36:30 +00:00
Simon Michael
70572eb837 test comment 2012-03-28 18:17:05 +00:00
Simon Michael
d4a1e51f2c functional test de-hard-codifications 2012-04-13 21:48:29 +00:00
Simon Michael
021d61b285 fix csv reading tests 2012-03-25 22:12:52 +00:00
Simon Michael
cb905a741c new query by tag implementation 2012-05-28 00:27:55 +00:00
Simon Michael
56cf9b21cb fix txn & posting comment parsing & printing; better unit tests 2012-05-15 01:49:05 +00:00
Simon Michael
0580ef69a3 disable/rename tags test 2012-05-27 18:07:58 +00:00
Simon Michael
a58a5f96ad more robust comments & metadata, on postings too, and document as "tags" 2012-05-14 18:52:22 +00:00
xiaoruoruo
ce83876700 metadata parse and show for transaction 2012-04-08 19:13:56 +00:00
Simon Michael
549bae945c metadata test updates 2012-05-06 20:43:48 +00:00
xiaoruoruo
dafa764a07 filter by metadata tag 2012-04-08 20:43:48 +00:00
Simon Michael
ca5d5020e1 prototypical incomestatement and balancesheet commands 2012-04-14 01:34:56 +00:00
Simon Michael
e9f965a2dc disable tests for non-working clear missing accountname component error message 2011-12-30 00:12:38 +00:00
Simon Michael
9bdb170a0a inferred amounts use the cost commodity if known, like ledger (#69) 2012-01-03 08:15:48 +00:00
Simon Michael
41c1fa636a parsing: -B/--cost now ignores P historical prices, like ledger 2012-01-22 20:39:11 +00:00
Simon Michael
1bc4d4b395 refactor: clarify mixed amount normalising a bit 2012-01-01 00:39:13 +00:00
Dmitry Astapov
7426e93ec6 Testcase+fix for commodity being reported more than once per account in balance 2011-12-25 21:21:27 +00:00
Simon Michael
5972ecfdb9 convert test tweaks 2012-01-30 17:18:32 +00:00
Simon Michael
5d7e601cb3 possible add test 2012-01-30 17:18:46 +00:00
Simon Michael
6ca155edc0 convert: don't reverse order of transactions 2011-09-19 03:10:16 +00:00
Simon Michael
2f313663af rename a func. test 2011-09-22 19:30:26 +00:00
Simon Michael
f79b272ff3 balance: ledger compatibility fix: don't elide parent accounts with multiple displayed subaccounts 2011-09-22 20:40:06 +00:00
Simon Michael
ea0cbaea40 docs: clarify D directive's influence on display settings once and for all 2011-09-22 22:23:28 +00:00
Simon Michael
c22e4e85d0 register: be better at showing empty intervals with --empty and a query pattern 2011-09-23 00:09:39 +00:00
Simon Michael
4a7b3b9b74 gather balance tests 2011-09-23 02:04:33 +00:00
Simon Michael
6ddf394119 add: clearer prompts, more validation, use . to end as well 2011-09-23 03:51:45 +00:00
Simon Michael
9b2a5f56e1 only the add and web commands auto-create the journal file 2011-09-23 03:53:14 +00:00
Simon Michael
35f3a4fa00 print, web: always show both dates, ignoring --effective (#42)
Ledger shows only the effective date with --effective, but not vice versa.
print is supposed to be information-preserving so this seems better.
This also fixes the web entries view.
2011-09-23 14:50:20 +00:00
Simon Michael
99e28e5c30 add: simplify filename in func tests 2011-09-30 22:54:22 +00:00
Simon Michael
11f31be37e this test looks wrong, get rid of it 2011-09-03 21:25:13 +00:00
Simon Michael
1de9cc1d80 fix a regression balancing a transaction containing different prices
And try to clarify amount arithmetic a bit more. More to come I expect.
2011-09-03 21:27:37 +00:00
Simon Michael
fa5f09f06a handle multiple filter patterns on the command-line again 2011-09-11 20:37:04 +00:00
Dmitry Astapov
fbf8eda58f One more test for implicit commodity pricing (test-for-failure) 2011-04-25 18:37:59 +00:00
Dmitry Astapov
6314080e14 Test for auto-balancing of transactions with two commodities, when first amount is negative 2011-04-24 22:10:30 +00:00
Simon Michael
8d62452260 parsing: historical price directives may contain a numeric time zone, like ledger; note that the time is ignored 2011-06-01 01:50:04 +00:00
Trygve Laugstøl
63f6bd48f2 tests/parse-ledger-sample.test: Was broken, change from ';' to '#' as comment. 2011-06-03 17:38:45 +00:00
Trygve Laugstøl
45b3a07ea7 cli: Making sure the add test remove the journal before and after the test. 2011-06-10 11:35:06 +00:00
Trygve Laugstøl
6ba1119fdc Making sure all tests call 'bin/hleder' (and not just 'hledger'). 2011-06-14 22:44:21 +00:00