summaryrefslogtreecommitdiff
path: root/walk.h
Commit message (Collapse)AuthorAgeFilesLines
* Restored the interval_t time and added a new "period" debugging command.John Wiegley2008-08-021-2/+2
| | | | | | 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.
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-8/+8
| | | | | | | | This means transactions can only have day-level granularity -- which has always been the case from an data file point of view. The advantage to this restriction is that reports will now be immune from daylight savings related bugs, where a transaction falls to the wrong side of a --monthly report, for example.
* Change many uses of for+iterator to use Boost.Foreach.John Wiegley2008-07-311-14/+7
|
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-8/+0
| | | | | | | 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-2/+2
| | | | | 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-5/+5
| | | | | | 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.
* Moved around and renamed a very large amount of code in order to rationalizeJohn Wiegley2008-07-291-274/+275
| | | | the way that value expressions extract information from journal objects.
* Value expression architecture is now rewritten, but the functionality of theJohn Wiegley2008-07-291-12/+14
| | | | | | | 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.
* 'make check' is now working again. Also, conversion from amount_t to/fromJohn Wiegley2008-07-271-2/+2
| | | | | | | double has been disabled, because I am no longer packaging the gdtoa library with Ledger (because double conversion really has nothing to do with what Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006, under a sub-directory of the same name.
* A large body of work to get the register report printing again, but stillJohn Wiegley2008-07-271-99/+277
| | | | 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-4/+5
| | | | if you wish to see memory usage statistics along with a top-level trace.
* --verify works again, but the memory totals at the end still need work.John Wiegley2008-07-261-87/+252
|
* A great deal of reorganization to restore the old parsing code (since theJohn Wiegley2008-07-221-3/+3
| | | | newer XML stuff was pulled).
* Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-30/+20
| | | | 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-22/+21
|
* Reworked the way date/times are handled.John Wiegley2008-04-131-13/+11
|
* Further refinement of commodity lot information.John Wiegley2008-04-131-0/+16
|
* *** empty log message ***John Wiegley2008-04-131-24/+34
|
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-2/+2
|
* Added new --descend option.John Wiegley2008-04-131-19/+80
|
* *** empty log message ***John Wiegley2008-04-131-0/+8
|
* Added much better error location.John Wiegley2008-04-131-11/+5
|
* Began support for improved commodity handling.John Wiegley2008-04-131-2/+0
|
* Further improvements to lot pricing.John Wiegley2008-04-131-3/+0
|
* Checked in all major updates.John Wiegley2008-04-131-6/+9
|
* Restructed the code that it can build and be used as a shared library.John Wiegley2008-04-131-16/+44
| | | | | The command-line version is still statically bound in the build process by default (for the sake of speed).
* See ChangeLogJohn Wiegley2008-04-131-1/+2
|
* (subtotal_transactions::operator()): Changed the usage of theJohn Wiegley2008-04-131-2/+12
| | | | | | temporary `values' map so that account names are always properly sorted in the subtotaled output view. As it was, they were being reported in account creation order.
* (sort_transactions::post_accumulated_xacts): Created this function soJohn Wiegley2008-04-131-2/+8
| | | | | that interval_transactions has a way to post sorted xacts without calling flush().
* (transaction_xdata_t): Added a `ptr' void *, for general use. TheJohn Wiegley2008-04-131-1/+2
| | | | reconcile_transactions handler uses it.
* Changed truncate_entries so that --head and --tail can be used at theJohn Wiegley2008-04-131-4/+4
| | | | same time.
* Added the new transaction handler `truncate_entries' which can be usedJohn Wiegley2008-04-131-3/+21
| | | | | | to trim a number of entries from the beginning or end of a transction stream. (push_to_transactions_list): Removed unneeded "handler" argument.
* (push_to_transactions_list): Added a new transaction handler, whichJohn Wiegley2008-04-131-0/+14
| | | | simply adds the received transactions to a transctions_list container.
* updated to 2.02John Wiegley2008-04-131-0/+6
|
* updated to version 2.0John Wiegley2008-04-131-0/+580
|
* changesJohn Wiegley2008-04-131-485/+0
|
* fixed several segfaults (using new option-scrambler test harness)John Wiegley2004-09-271-2/+4
|
* corrected the way that transaction handlers are flushedJohn Wiegley2004-09-261-2/+4
|
* sorting optimizationJohn Wiegley2004-09-251-12/+25
|
* added support for "equity" in main.pyJohn Wiegley2004-09-241-8/+1
|
* added a custom transaction formatter, format_entries, used by "print"John Wiegley2004-09-241-5/+6
|
* changed ledger.h to journal.h; moved adding of autoxact hookJohn Wiegley2004-09-231-1/+1
|
* fixed a bug with interval reportingJohn Wiegley2004-09-231-1/+1
|
* shored up error checking of value expressionsJohn Wiegley2004-09-231-2/+9
|
* the "bal" command mostly works now in main.py; added a finalize_entry hookJohn Wiegley2004-09-201-60/+11
|
* some changes in the way formatting strings are handled; for simplicityJohn Wiegley2004-09-181-6/+29
|
* changed the management of "xdata" in walk.hJohn Wiegley2004-09-171-163/+147
|
* interval_t objects now play nicely with python. see the bottom of main.pyJohn Wiegley2004-09-101-7/+5
|
* slight changed semantics of item_handler<T>, to play better with Boost.PythonJohn Wiegley2004-09-101-2/+0
|
* switch from using deque back to list; affects speed by up to 30%!John Wiegley2004-09-061-8/+23
|