summaryrefslogtreecommitdiff
path: root/report.h
Commit message (Collapse)AuthorAgeFilesLines
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-757/+0
| | | | is in doc/, etc.
* Rearranged some of the options code, enabled -t and -T.John Wiegley2008-08-051-100/+57
|
* Moved the option code for 2.6.1 from option.cc into report.h. It's stillJohn Wiegley2008-08-051-9/+548
| | | | commented out, but now it's nearer the right place for conversion.
* First round of work to get the balance report working again.John Wiegley2008-08-041-3/+2
|
* Regular expressions are working again, such that very basic register reportsJohn Wiegley2008-08-031-7/+16
| | | | are now possible.
* Got pre-compiled headers working again, which are used if --devel is passed toJohn Wiegley2008-08-031-3/+2
| | | | acprep.
* Rearranged the code a bit, breaking walk.cc into several different files:John Wiegley2008-08-031-115/+1
| | | | | | | | | | compare compare_items<T> handler item_handler<T> iterators used to iterators sets of journal objects filters derived from item_handler, they morph the result set output derived from item_handler, these do the printing Also, created a new 'help' files which contains just Ledger's help text.
* Got date, payee and accounts back into the register report.John Wiegley2008-08-031-0/+8
|
* Re-enabled almost all of the old reporting code, which means it compiles nowJohn Wiegley2008-08-021-66/+17
| | | | within the new scheme.
* Formatting now relies exclusively on value expressions.John Wiegley2008-08-021-10/+5
| | | | | | | | | | | | | | | | | | | | What this means is that the utility code, basic math, value expressions, string formatting and option handling are now entirely decoupled from the rest of the code. This decoupling not only greatly simplifies the more basic parts of Ledger, but makes it much easier to test and verify its completeness. For example, when the formatting code %X is seen by the format parser, it turns into a call to the expression function fmt_X, which must be defined when the format string is first compiled against an object. If that object is a transaction, the transaction's scope will be the first to have a chance at providing a definition. If an account is being reported, it will. If neither does, the next scope in sequence -- soon to be the current report -- will, and then the session object that "owns" the current Ledger session. In 2.6, the formatting code new everything about transaction and accounts, and relied on flags to communicate special details between them. Now the transaction will offer the details for its own reporting, while the formatter worries only about strings and how to output them.
* Improved the output from some debugging commands.John Wiegley2008-08-011-1/+1
| | | | | | | | | There are now three commands one can use to interact with value expressions directly: ledger parse EXPR # shows the parse tree resulting from EXPR ledger compile EXPR # shows what the compiled tree looks like ledger eval EXPR # print the resulting value, useful in scripts
* Simplified the format_t code so that it no longer references any particularsJohn Wiegley2008-08-011-5/+112
| | | | about journal objects. This is all done through value expressions now.
* Moved around and renamed a very large amount of code in order to rationalizeJohn Wiegley2008-07-291-1/+1
| | | | the way that value expressions extract information from journal objects.
* Changed the way scopes are structured for an upcoming design change.John Wiegley2008-07-291-4/+2
|
* Value expression architecture is now rewritten, but the functionality of theJohn Wiegley2008-07-291-24/+24
| | | | | | | old system (for example, the meaning of 'a') has yet to be restored. In the new scheme, this will be done by definition a function outside of the value expression logic, rather than the tight coupling between journal innards and value expressions that occurred in 2.x.
* Cleaned up the value expression code a bit before undertaking the real work ofJohn Wiegley2008-07-271-2/+2
| | | | getting everything back up to what it was (plus the new code written for 3.0).
* Merge branch 'master' into v2.7aJohn Wiegley2008-07-271-4/+0
|\
* | Updated all copyright messages to 2003-2008.John Wiegley2008-07-271-1/+1
| |
* | A large body of work to get the register report printing again, but stillJohn Wiegley2008-07-271-12/+129
| | | | | | | | fails due to the fact that 2.x value expression syntax is not restored.
* | --verify works again, but the memory totals at the end still need work.John Wiegley2008-07-261-3/+5
| |
* | Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-67/+182
| | | | | | | | report, session, parts of xpath, main, journal, option.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-21/+21
|/
* Reworked the way date/times are handled.John Wiegley2008-04-131-2/+1
|
* Added a new script that enables use of Ledger as a smart "du".John Wiegley2008-04-131-0/+80