summaryrefslogtreecommitdiff
path: root/journal.cc
Commit message (Collapse)AuthorAgeFilesLines
* (read_binary_journal): Fixed a tiny memory leak when reading from aJohn Wiegley2008-04-131-1/+1
| | | | binary cache.
* Checked in all major updates.John Wiegley2008-04-131-0/+12
|
* *** empty log message ***John Wiegley2008-04-131-1/+4
|
* (add_entry): Run `entry_finalize_hooks' before finalizing an entry.John Wiegley2008-04-131-3/+4
| | | | | This allows automated entries to add their transactions to the current matching entry before that entry's balance is checked.
* (actual_date, effective_date): Changed an assert for non-NULL to aJohn Wiegley2008-04-131-6/+2
| | | | mere check (it happens with the 'output' command).
* Removed Python integration support.John Wiegley2008-04-131-366/+0
|
* Restructed the code that it can build and be used as a shared library.John Wiegley2008-04-131-5/+5
| | | | | The command-line version is still statically bound in the build process by default (for the sake of speed).
* See ChangeLogJohn Wiegley2008-04-131-3/+24
|
* Support has been added for clearing of individual transactions. SetJohn Wiegley2008-04-131-11/+13
| | | | `ledger-clear-whole-entries' in Emacs to revert to the old behavior.
* (finalize): Improved the logic which auto-computes per unit cost forJohn Wiegley2008-04-131-18/+21
| | | | | | | self-balancing transactions of two different commodity types. Now it doesn't matter how many transactions of each commodity there are, only that only two commodities are involved. Whichever commodity type is used first is the one divided into.
* (export_journal): Added `basket' member for journals, and `beg_line'John Wiegley2008-04-131-1/+7
| | | | and `end_line' for entries (for Python).
* (finalize): If a "basket" account is being used,John Wiegley2008-04-131-13/+63
| | | | | | | | | | | | balance single transaction entries into it. Also, fixed two entry balancing issues. (finalize): If a "catch all" transaction (a transaction with no amount) is present in an entry, it will now balance all unbalanced quantities in the entry. Before its use was much more restricted. (journal_t::add_entry): Set the "journal" pointer before calling the finalize hooks, so that the finalizers have access to the proposed journal the entry wishes to be added to (if it fails, the pointer is cleared).
* Added support for each entry to remember: the file it came from, andJohn Wiegley2008-04-131-2/+11
| | | | | | the beginning and ending character positions of that entry within the file. This makes it possible to reproduce the input exactly, with only the changed entries updated.
* (export_journal): Added `price_db' property to ledger.Journal type.John Wiegley2008-04-131-0/+1
|
* updated to version 2.0John Wiegley2008-04-131-0/+790
|
* changesJohn Wiegley2008-04-131-750/+0
|
* fixed assertionJohn Wiegley2004-09-271-1/+1
|
* made several of the buffers used non-staticJohn Wiegley2004-09-261-1/+3
|
* added support for "equity" in main.pyJohn Wiegley2004-09-241-1/+11
|
* fixed a rather obscure memory bug, which also simplified some codeJohn Wiegley2004-09-241-5/+0
|
* finalizer fixes; removed use of timing.h from main.ccJohn Wiegley2004-09-241-4/+3
|
* changed entry_finalizer scheme to use objects, not just function pointersJohn Wiegley2004-09-241-15/+29
|
* a bit more refactoringJohn Wiegley2004-09-231-113/+0
|
* changed ledger.h to journal.h; moved adding of autoxact hookJohn Wiegley2004-09-231-1/+1
|
* moved entry hooking mechanism to journal_t; further improvements to "entry"John Wiegley2004-09-231-0/+121
|
* more "entry" fixesJohn Wiegley2004-09-231-2/+8
|
* greatly improved the flexibility of the "entry" command; no more bogus 1-linersJohn Wiegley2004-09-231-28/+70
|
* shored up error checking of value expressionsJohn Wiegley2004-09-231-5/+0
|
* the "bal" command mostly works now in main.py; added a finalize_entry hookJohn Wiegley2004-09-201-10/+14
|
* fixes to main.pyJohn Wiegley2004-09-171-1/+17
|
* changed the management of "xdata" in walk.hJohn Wiegley2004-09-171-26/+97
|
* Python fixes; starting adding support for using item_handlers in pythonJohn Wiegley2004-09-081-1/+8
|
* optimize python iterations of entries, transactions; use exceptions moreJohn Wiegley2004-09-081-43/+64
|
* some python code fixesJohn Wiegley2004-09-071-15/+12
|
* modified entry_t::add_transaction and remove_transaction, since now using listsJohn Wiegley2004-09-061-21/+3
|
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-18/+0
|
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-11/+8
|
* a bit of a reorg; still much more to goJohn Wiegley2004-08-291-1/+5
|
* ledger.so (the python module) now builds based on autoconf discoveryJohn Wiegley2004-08-281-15/+67
|
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-0/+546