summaryrefslogtreecommitdiff
path: root/test/regress
Commit message (Collapse)AuthorAgeFilesLines
* A further simplification of -V and -XJohn Wiegley2010-06-071-6/+6
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.
* Fixed the way prices and costs are print'dJohn Wiegley2010-06-071-2/+2
|
* amount_t::print and value_t::print now use flagsJohn Wiegley2010-06-071-4/+4
|
* A little bit of code cleanupJohn Wiegley2010-06-041-7/+7
|
* Minor optimization of amount_t::operator*John Wiegley2010-06-031-6/+6
|
* Correct display of amounts with keep_precisionJohn Wiegley2010-06-022-1/+178
| | | | Fixes #167 / 1D275740-D1A6-42B7-BDE4-F2F85E30CE8E
* -V/-X options now take price history into accountJohn Wiegley2010-05-301-2/+2
|
* Optimized amount_t::in_place_truncateJohn Wiegley2010-05-261-6/+6
|
* Fixed regression tests relating to b1d6ea876c5fJohn Wiegley2009-11-241-0/+2
|
* Fixed a regression test due to changes in amount.hJohn Wiegley2009-11-201-6/+6
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-6/+6
|
* The new period parser is passing all testsJohn Wiegley2009-11-182-14/+69
|
* Renamed date_interval_t::end to finishJohn Wiegley2009-11-172-6/+6
|
* Automated postings defer amount expression calculationJohn Wiegley2009-11-111-6/+6
| | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before.
* Automated transactions now use report query syntaxJohn Wiegley2009-11-103-3/+3
| | | | This returns their behavior back very close to what 2.x accepts.
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-6/+6
|
* Report sought magnitude when balancing errors occurJohn Wiegley2009-11-051-0/+2
|
* Added a regression test relating to forecastingJohn Wiegley2009-11-021-0/+18
|
* Fixed issues with period strings like "2009/10"John Wiegley2009-11-021-0/+50
|
* Added "reported posts" into account xdataJohn Wiegley2009-11-021-0/+16
| | | | | | | | | This is necessary because sometimes, a post from one account will get reported as though it were in another account (this happens with --budget, to show child account postings within their parent account). In that case, the account needs to remember which postings have been reported as being within it, so that it can add these amounts to its own total in the balance report.
* Added several new regression testsJohn Wiegley2009-11-024-0/+178
|
* Fixed baseline tests relating to earlier changesJohn Wiegley2009-11-021-0/+8
|
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-1/+1
|
* No more trailing spaces in the print reportJohn Wiegley2009-10-282-2/+2
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-251-2/+2
|
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-112-2/+2
| | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT).
* Correctly align amounts formatted as "%12(amount)"John Wiegley2009-06-281-0/+35
|
* The --download option is now fully restoredJohn Wiegley2009-06-261-1/+1
|
* Allow uncommoditized amounts to be used as costsJohn Wiegley2009-06-181-0/+12
|
* Added regression test for period range fixJohn Wiegley2009-06-181-0/+10
|
* The --revalued option now honors the -e terminusJohn Wiegley2009-06-171-1/+1
|
* When --end is used, set a "terminus" dateJohn Wiegley2009-06-161-0/+17
| | | | | | | This means that final balance valuations (with -V or -X) will be done in terms of the date given to --end, rather than based on the current day. Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
* Added test for D943AE0F-44EA-47EE-BA85-AFC513E039EBJohn Wiegley2009-06-161-0/+13
|
* Added test for 5FBF2ED8-EEAA-440E-AED5-67401B107E44John Wiegley2009-06-161-0/+20
|
* Fixed a problem with accounts and trailing spacesJohn Wiegley2009-06-161-0/+21
| | | | | | | This issue is caused by having a single space at the end of a posting that has neither an amount nor a note. Fixes C523E23F-CFAC-4A53-B0C6-21226640E763
* Move amount colorization deeper into the coreJohn Wiegley2009-06-161-0/+81
| | | | | | | | This is necessary in order to redden negative amounts correctly under all circumstances, such as component amounts of a multi-commodity balance. Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933
* Added several new regression testsJohn Wiegley2009-06-163-0/+105
|
* Allow an amount to be zero, even if cost is non-zeroJohn Wiegley2009-06-161-0/+10
| | | | | | | The only real change is that exchanges of zero-amount will not result in any exchange at all, just the "motions". Fixes 6DAB9FE3-1399-4727-9AB1-FE413FB85A03
* Fixed a problem in the 'entry' commandJohn Wiegley2009-06-161-0/+52
| | | | | | It was selecting virtual transactions during auto-posting lookup. Fixes 793F6BF0-9CDE-4741-967A-2CEA697476B4
* Added two new regression testsJohn Wiegley2009-03-152-0/+43
| | | | These prove Simon's recent balance report bugs.
* If 2+ child accounts are shown, show the parentJohn Wiegley2009-03-151-0/+2
| | | | | Also, also show a final balance if there are multiple accounts displayed, even if that final balance is zero.
* Patched some date-sensitive testsJohn Wiegley2009-03-021-1/+1
|
* Separator in "balance" now part of format stringJohn Wiegley2009-02-272-2/+2
|
* Added a new regression test for 13965214John Wiegley2009-02-241-0/+30
|
* Renamed a regression test, for consistency's sakeJohn Wiegley2009-02-241-0/+0
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-2/+2
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Allow $FILE in regression test error output matchJohn Wiegley2009-02-231-2/+2
|
* Restored the --base optionJohn Wiegley2009-02-201-4/+4
|
* Added several more option baseline testsJohn Wiegley2009-02-206-6/+6
|
* Added several new regression testsJohn Wiegley2009-02-206-1/+107
|