summaryrefslogtreecommitdiff
path: root/main.cc
Commit message (Collapse)AuthorAgeFilesLines
* First round of work to get the balance report working again.John Wiegley2008-08-041-76/+63
|
* When doing a command-line tag search, search for :tag:, not just tag.John Wiegley2008-08-041-0/+2
|
* Regular expressions are working again, such that very basic register reportsJohn Wiegley2008-08-031-2/+108
| | | | are now possible.
* Rearranged the code a bit, breaking walk.cc into several different files:John Wiegley2008-08-031-269/+274
| | | | | | | | | | 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-7/+5
|
* More infrastructure work toward getting journal objects to provide their ownJohn Wiegley2008-08-021-2/+2
| | | | information in an abstract manner.
* Restored the interval_t time and added a new "period" debugging command.John Wiegley2008-08-021-0/+25
| | | | | | You can use 'ledger period "daily in june"' to find out how Ledger will parse that date string, plus up to the first 20 dates it encounters in the range. Note that the 'end' displayed is currently exclusive.
* Added a new 'format' debugging command, which dissects the formattingJohn Wiegley2008-08-011-0/+5
| | | | expression in its argument.
* Improved the output from some debugging commands.John Wiegley2008-08-011-17/+38
| | | | | | | | | 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
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-22/+3
| | | | | | | complicated string of pointers, it's now just a global block of text that gets appended to as the error is being thrown up, and can be displayed at the catch point if desired. There are almost no cases where a thrown exception will not result in an error message being displayed to the user.
* A new binary_cache_t object has been creating to manage saving and restoring aJohn Wiegley2008-07-311-0/+4
| | | | | Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now.
* Enabled a huge number of warning flags for g++ in acprep, and fixed them allJohn Wiegley2008-07-301-1/+1
| | | | | | except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with.
* The register report has begun printing real data, although not all the piecesJohn Wiegley2008-07-291-2/+0
| | | | are in place yet and the formatting is still off.
* The next value expression scheme is working, but the individual accessorJohn Wiegley2008-07-291-0/+2
| | | | functions for each of the journal objects has yet to be ported.
* Moved around and renamed a very large amount of code in order to rationalizeJohn Wiegley2008-07-291-2/+2
| | | | the way that value expressions extract information from journal objects.
* Value expression architecture is now rewritten, but the functionality of theJohn Wiegley2008-07-291-16/+12
| | | | | | | 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-18/+28
| | | | getting everything back up to what it was (plus the new code written for 3.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-132/+97
| | | | fails due to the fact that 2.x value expression syntax is not restored.
* The --verify option is now working properly again. Use "--verify --verbose"John Wiegley2008-07-261-0/+25
| | | | if you wish to see memory usage statistics along with a top-level trace.
* Parsing now works again. And there was much rejoicing.John Wiegley2008-07-241-1/+4
|
* A great deal of reorganization to restore the old parsing code (since theJohn Wiegley2008-07-221-6/+2
| | | | newer XML stuff was pulled).
* Report an error if the user forgets to pass an argument to --trace.John Wiegley2008-07-221-1/+8
|
* Added the var_t helper class, which can be seen in the beginningJohn Wiegley2008-07-211-8/+15
| | | | implementation of register_command in main.cc.
* Re-enabled almost all of the code in main.cc.John Wiegley2008-07-201-26/+20
|
* Things are at least compiling and linking again, but we're still far fromJohn Wiegley2008-07-201-4/+6
| | | | having a functional binary.
* Everything but main.cc is compiling again (but with much #if 0'd code).John Wiegley2008-07-201-41/+16
|
* I have walked further along the road less compiled by...John Wiegley2008-07-201-3/+1
|
* Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-382/+316
| | | | report, session, parts of xpath, main, journal, option.
* Some basic fixes to get things almost running, although we still can't parseJohn Wiegley2008-07-191-0/+8
| | | | my personal ledger file yet.
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-4/+10
|\
| * Moved an auto_ptr up into main, since the memory it governs must still beJohn Wiegley2008-07-171-4/+10
| | | | | | | | available to the exception handlers that come immediately after it.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-23/+68
|/
* Made separate modules for the csv command, since the prior method wasJohn Wiegley2008-04-131-4/+4
| | | | not fully correct.
* Reworked the way date/times are handled.John Wiegley2008-04-131-11/+5
|
* *** empty log message ***John Wiegley2008-04-131-3/+32
|
* Several fixes to lot price handling.John Wiegley2008-04-131-51/+57
|
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-5/+3
|
* *** empty log message ***John Wiegley2008-04-131-1/+2
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* Added much better error location.John Wiegley2008-04-131-13/+50
|
* Added a DATETIME value type.John Wiegley2008-04-131-47/+76
|
* *** empty log message ***John Wiegley2008-04-131-9/+11
|
* Began support for improved commodity handling.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-131-2/+0
|
* Checked in all major updates.John Wiegley2008-04-131-4/+30
|
* *** empty log message ***John Wiegley2008-04-131-2/+0
|
* *** empty log message ***John Wiegley2008-04-131-2/+13
|
* Made several changes to the parsing infrastructure to allow passingJohn Wiegley2008-04-131-1/+3
| | | | | the "config_t" object around. This is needed for parsing option settings in the initialization file.
* Removed Python integration support.John Wiegley2008-04-131-30/+0
|