Commit graph

52 commits

Author SHA1 Message Date
John Wiegley
af8eeb34db Added baseline test for --quantity 2009-06-18 16:18:35 +01:00
John Wiegley
6dd362dfde Added baseline tests for --print,register-format 2009-06-18 16:12:27 +01:00
John Wiegley
8d97adec7b Restored --plot-amount-format, --plot-total-format 2009-06-18 16:08:43 +01:00
John Wiegley
8dbf458e14 Restored --prices-format options 2009-06-18 01:50:06 +01:00
John Wiegley
1fd4387b67 Restored pricesdb command and --pricesdb-format option 2009-06-18 01:49:49 +01:00
John Wiegley
47d237e18b Restored --input-date-format option 2009-06-18 01:36:24 +01:00
John Wiegley
141e60c7a7 Added baseline test for --real 2009-06-18 01:26:08 +01:00
John Wiegley
95be19dd28 Added baseline test for --period 2009-06-18 01:24:05 +01:00
John Wiegley
15193ffb3b Added a baseline test for balance assignments 2009-06-13 17:44:12 +01:00
John Wiegley
9c5c1eb776 Renamed the fixated-prices test 2009-06-13 17:42:24 +01:00
John Wiegley
d2062bb54c Temporarily disable the opt-forecast-while test 2009-05-26 23:43:47 -05:00
John Wiegley
16c77af9c9 If 2+ child accounts are shown, show the parent
Also, also show a final balance if there are multiple accounts
displayed, even if that final balance is zero.
2009-03-15 21:31:06 -04:00
John Wiegley
d0963ece02 If a balance report is multi-lined, print a total 2009-03-15 04:14:03 -04:00
John Wiegley
77faaa926f Rewrote the balance report again, to fix --depth 2009-03-08 04:15:48 -04:00
John Wiegley
31d6430c78 Fixed another time-sensitive unit test 2009-03-02 21:38:13 -04:00
John Wiegley
1c7de0f9e4 Added "fixated commodity pricing"
If you put '=' before an annotated commodity's price, it will cause any
future market valuation of that commodity to use that price, and ignore
whatever changes may have happened since in the market price.  This can
be useful if you are tracking gas expenses based on a standard rate
which, although it changes over time, should not adjust the historical
valuation of how much the gas cost at the time it was purchased:

    2009/01/01 Payee
        Expenses:Gas                100 GAL {=$2}
        Liabilities:MasterCard        $-200
2009-03-02 16:39:26 -04:00
John Wiegley
a2ed6bc95d Patched some date-sensitive tests 2009-03-02 04:49:03 -04:00
John Wiegley
56693fab9b Separator in "balance" now part of format string 2009-02-27 16:23:36 -04:00
John Wiegley
f881bf1319 Fix to amount unreduction (aka, 120m -> 2h) 2009-02-27 15:23:38 -04:00
John Wiegley
316b854676 Fixed a buffer overrun 2009-02-27 01:46:16 -04:00
John Wiegley
20077db3c8 Fixed the pager test to be more portable 2009-02-24 21:43:04 -04:00
John Wiegley
f13709f71a Be smarter about printing uncommoditized amounts 2009-02-24 15:13:21 -04:00
John Wiegley
38dd1b8655 Fixed an issue involving costs and reduced values 2009-02-24 13:29:08 -04:00
John Wiegley
48a8bbc0ee Added several baseline tests regarding lot details 2009-02-24 03:42:25 -04:00
John Wiegley
cb751913ef Fixed a minor bug in handling of automated xacts
There was a if statement with an inverse boolean meaning, which caused
some automated transaction postings to have a null amount.
2009-02-23 19:20:57 -04:00
John Wiegley
944c63e6f2 The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap.  This contains the real changeset.
2009-02-23 19:07:30 -04:00
John Wiegley
310e339464 Added several more option baseline tests 2009-02-23 17:40:40 -04:00
John Wiegley
4a43c22172 Restore the --gain option, for showing gain/loss 2009-02-23 15:47:09 -04:00
John Wiegley
a61901a092 Added baseline test for --revalued-only 2009-02-23 02:28:26 -04:00
John Wiegley
9f53efbf5f Many fixes to both --market and --exchange 2009-02-23 01:51:23 -04:00
John Wiegley
de6de07bac Many fixes to --market and --exchange
Also, --exchange now accepted multiple, comma-separated commodities.
2009-02-22 22:23:02 -04:00
John Wiegley
2d56d9bc3a Added more option baseline tests 2009-02-22 04:51:11 -04:00
John Wiegley
cebc1da256 Restored the --invert option 2009-02-22 04:51:08 -04:00
John Wiegley
ff68783348 Added more option baseline tests 2009-02-21 22:04:41 -04:00
John Wiegley
c7cf9ef0ff Added variant baseline tests relating to --empty 2009-02-21 20:52:51 -04:00
John Wiegley
5d50d895bf Added several more baseline tests 2009-02-21 02:24:41 -04:00
John Wiegley
f4e13f3458 Added --start-of-week option, used with --weekly
For example, --start-of-week=monday can be used to report weeks that
begin on Mondays.
2009-02-21 02:20:08 -04:00
John Wiegley
d0ac3a2e4e Added a new --exact option
The purpose of this option is that usually when you do a --monthly
periodic report, you see dates ranges from the first day of each month,
to the last day.  With --exact, the first day of each range will be the
date of the first transaction found in that range, and likewise with the
end of the range.  Essentially it "contracts" the reported period dates
to reflect the exact begin and end dates.
2009-02-21 02:14:53 -04:00
John Wiegley
4ff8087815 Restored the --deviation option 2009-02-21 00:48:12 -04:00
John Wiegley
23725ffafb Restored --forecast, now also --forecast-while 2009-02-21 00:12:22 -04:00
John Wiegley
3c18d3054f Restored the --base option 2009-02-20 23:42:48 -04:00
John Wiegley
fc349389e3 Restored the --budget option 2009-02-20 23:12:23 -04:00
John Wiegley
96ff798736 Added more option baseline tests 2009-02-20 20:30:43 -04:00
John Wiegley
8ed4f3562f Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
John Wiegley
96782df17c Enabled --current option 2009-02-20 19:10:34 -04:00
John Wiegley
8483ea16e2 Added more option baseline tests 2009-02-20 18:36:47 -04:00
John Wiegley
b94512e4cc Added several more option baseline tests 2009-02-20 18:15:43 -04:00
John Wiegley
a13cafa2f7 Added more option baseline tests 2009-02-20 16:36:49 -04:00
John Wiegley
95a3788fa7 Restored the --basis option 2009-02-20 15:41:49 -04:00
John Wiegley
04bbf2ba96 Added test for --balance-format 2009-02-20 15:41:49 -04:00