summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added --no-total optionJohn Wiegley2009-02-204-12/+12
| | | | This simply omits the final total in the balance report, nothing more.
* Added several new regression testsJohn Wiegley2009-02-207-2/+113
|
* Added several new baseline testsJohn Wiegley2009-02-209-7/+318
|
* Don't use auto-widths for widths explicitly givenJohn Wiegley2009-02-202-31/+60
|
* Corrected a column-wise formatting issueJohn Wiegley2009-02-201-2/+2
|
* Updated the pre-commit hookJohn Wiegley2009-02-201-6/+25
| | | | | Now it regenerates the build environment if Makefile.am or configure.ac has changed.
* Added feature baseline testsJohn Wiegley2009-02-203-4/+26
| | | | | | These are like regression tests to confirm the basic functionality of every Ledger feature. Also, made the release-distcheck target less sensitive.
* When clocking out, call total_seconds()John Wiegley2009-02-201-1/+1
|
* Rewrote the equity command, which is working againJohn Wiegley2009-02-208-140/+110
| | | | | | The old implementation used an account formatter, and was very specialized. The new is done as a transaction filter, and works along with everything else, eliminating bugs special to the equity report.
* Added a --strict session optionJohn Wiegley2009-02-197-14/+54
| | | | | | | When enabled, if any accounts or commodities are seen in an uncleared transaction, which were not seen previously in a cleared or pending transaction or a textual directive dealing with accounts or commodities, a warning is generated about the unknown item.
* Simplify account total values before comparisonJohn Wiegley2009-02-193-5/+16
| | | | | | This way, if two account values are BALANCE types containing only a single AMOUNT, then it will do the sorting comparison of the amounts -- since otherwise balances are ignored for the purposes of sorting.
* Fixed another sort issueJohn Wiegley2009-02-191-1/+1
|
* Added some sort-related debugging codeJohn Wiegley2009-02-191-0/+6
|
* A key fix to the ways accounts were sortedJohn Wiegley2009-02-192-9/+18
| | | | Comparing integer < amount was doing the reverse comparison.
* Allow for sorting of the balance reportJohn Wiegley2009-02-196-68/+97
| | | | | | Sorting is repeated at each level of the hierarchy, unless --flat was specified in which case it applies to the entire applicable accounts list.
* Added valexpr vars for accessing item positionJohn Wiegley2009-02-191-0/+23
| | | | | | | | - filename - beg_line - beg_pos - end_line - end_pos
* If a transaction's total is null, return 0 insteadJohn Wiegley2009-02-191-1/+1
|
* Re-enabled parsing of timelog dataJohn Wiegley2009-02-193-109/+115
|
* If a sorting value can't be found, report an errorJohn Wiegley2009-02-191-0/+3
|
* Don't sort or subtotal xacts for account reportsJohn Wiegley2009-02-191-20/+20
|
* If an account's aggregate amount is null, return 0John Wiegley2009-02-191-1/+4
|
* Removed an unnecessary assertJohn Wiegley2009-02-191-1/+0
| | | | It prevented the amount string "$1.00 " from being parsed.
* Use the 'market' function, not 'market_value'John Wiegley2009-02-191-2/+2
|
* Some reformatting of the NEWS fileJohn Wiegley2009-02-191-16/+20
|
* Auto-size register report based on COLUMNSJohn Wiegley2009-02-191-0/+36
|
* Added a new --columns= optionJohn Wiegley2009-02-192-0/+3
|
* The sequence -M -p 2004 now equals -p 2004 -MJohn Wiegley2009-02-194-77/+69
|
* Renamed a debug category to be consistentJohn Wiegley2009-02-191-1/+1
|
* Restored the -j and -J optionsJohn Wiegley2009-02-192-10/+14
|
* Moved init of options to the options themselvesJohn Wiegley2009-02-192-61/+69
|
* Moved an exception, so the report is more generalJohn Wiegley2009-02-191-19/+20
|
* Accept --long-option=valueJohn Wiegley2009-02-191-1/+1
|
* Efficiency fix for the formatting codeJohn Wiegley2009-02-191-9/+12
|
* Exchanged inclusion of report.h for account.hJohn Wiegley2009-02-191-1/+1
| | | | The data sub-library should never depend on the reporting code.
* Improved how register reports are formattedJohn Wiegley2009-02-192-37/+60
| | | | | | | | | | | | As a result, --wide is working again, and --wide-register-format has been removed. Also, the following new options are recognized, for controlling per-column formatting: --date-width NUM --payee-width NUM --account-width NUM --amount-width NUM --total-width NUM
* If an option has been handled, return its valueJohn Wiegley2009-02-191-1/+1
|
* Removed an unnecessary friend declarationJohn Wiegley2009-02-191-4/+0
|
* Moved amount_t::right_justify to simply ::justifyJohn Wiegley2009-02-196-25/+42
|
* Always perform tilde expansion on input pathnamesJohn Wiegley2009-02-181-7/+9
|
* Parse 2004/01 as YYYY/mmJohn Wiegley2009-02-181-0/+3
|
* Fixed use of the -p flag without an intervalJohn Wiegley2009-02-172-4/+5
| | | | | That is, -p 2004/01 is equivalent to "-b 2004/01/01 -e 2004/01/31" again.
* Added --flat option, to flatten the balance reportJohn Wiegley2009-02-177-18/+42
|
* Only display a final balance total if necessaryJohn Wiegley2009-02-173-31/+38
| | | | | In the case where only one top-level account is being reported, there is no reason to duplicate the total balance shown.
* Removed the %*| special char, for %*(" ")John Wiegley2009-02-172-7/+2
|
* The option --cost is now an alias for --basisJohn Wiegley2009-02-172-3/+1
|
* The tools/build script now wants make targetsJohn Wiegley2009-02-171-1/+1
|
* Improved the --collapse filterJohn Wiegley2009-02-173-21/+37
| | | | | | | | | | It now takes the --display and --only predicates into account, so that it never appears to be collapsing single transactions. There are cases where there are multiple transactions, but the display or only predicate filters them out, so that if collapse didn't consider this, the user would wonder why a single transaction was being collapsed -- since they'd never see that collapse saw more than two.
* Changed a debug category to be more accurateJohn Wiegley2009-02-171-4/+4
|
* Rewrote how the balance command displays accountsJohn Wiegley2009-02-175-120/+133
| | | | | | | | The previous method bent over backwards to try and avoid multiple passes through the account tree, but the result was a horribly complicated mess that never ceased to dredge up obscure bugs. The new scheme is a very, very simple two-pass algorithm, with multiple subpasses during the second pass for refining the output based on the report options.
* Added a new tools/build utility scriptJohn Wiegley2009-02-171-0/+17
|