John Wiegley
d58797e98c
The -B, -G, -V reports now show rounding amounts
...
This way, if the running total is off by a penny or two due to rounding
of one or more commodities in the account, the user will see it.
This commit also reorganizes the testing code a bit, which I did after
adding the ninth test series (ConfirmTests), to validate the new
rounding code.
2009-02-26 03:16:39 -04:00
John Wiegley
55a6d588ff
Allow uncommoditized amounts to +/- with an amount
...
Thus, you can say "$100 + 10" to increase it by $10.
2009-02-25 23:40:15 -04:00
John Wiegley
20077db3c8
Fixed the pager test to be more portable
2009-02-24 21:43:04 -04:00
John Wiegley
e012917ceb
Created some new Python scripts under python/
2009-02-24 19:33:03 -04:00
John Wiegley
1799ed3a2a
Moved python/*.cc files into src/
...
This is because soon, I intend to have real Python source files in
python/.
2009-02-24 16:08:49 -04:00
John Wiegley
f13709f71a
Be smarter about printing uncommoditized amounts
2009-02-24 15:13:21 -04:00
John Wiegley
b72568270b
Added a new regression test for 13965214
2009-02-24 14:34:22 -04:00
John Wiegley
38dd1b8655
Fixed an issue involving costs and reduced values
2009-02-24 13:29:08 -04:00
John Wiegley
d525db35d8
Restored the use of Python unit tests
2009-02-24 13:16:28 -04:00
John Wiegley
07fcc3a08a
Build Python module using automake, not setup.py
2009-02-24 12:48:11 -04:00
John Wiegley
ba1f1fe70e
Renamed a regression test, for consistency's sake
2009-02-24 12:29:11 -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
a0a014b334
Allow $FILE in regression test error output match
2009-02-23 17:39:52 -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
e124811d8a
Added --exchange (-x) option
...
This is like -V, except it lets you specify the goal commodity to report
in terms of, for example:
reg -x CAD
2009-02-22 04:51:11 -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
014a4bdbf3
Run regression and baseline tests using --verify
2009-02-21 04:12:52 -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
John Wiegley
40f2ff6d6f
Added several new regression tests
2009-02-20 15:41:49 -04:00
John Wiegley
42f94d2b8b
Added several new baseline tests
2009-02-20 15:41:49 -04:00
John Wiegley
740cd8e8f1
Added feature baseline tests
...
These are like regression tests to confirm the basic functionality of
every Ledger feature. Also, made the release-distcheck target less
sensitive.
2009-02-20 13:31:01 -04:00
John Wiegley
3826cb1bee
Re-enabled parsing of timelog data
2009-02-19 15:50:24 -04:00
John Wiegley
bc2983928d
Compilation verification code only with debugging
...
Previously, --verify would work even if the sources were built with
default options. However, in the interests of performance, --verify is
now only available if --enable-debug was passed to configure.
2009-02-16 17:15:52 -04:00
John Wiegley
d0a664d102
Fixed several unused value and param warnings
2009-02-16 16:55:18 -04:00
John Wiegley
59aefb5a3b
Inverted the default display mode for balance reports. Use -n to collapse
...
them, as this fits better with what -n does for register reports.
2009-02-08 05:18:46 -04:00
John Wiegley
d1f13be1d2
Fixed some incorrect #includes.
2009-02-07 19:48:29 -04:00
John Wiegley
7b24e8f8e3
Moved some files around.
2009-02-05 21:18:25 -04:00