summaryrefslogtreecommitdiff
path: root/journal.cc
Commit message (Collapse)AuthorAgeFilesLines
* Things are at least compiling and linking again, but we're still far fromJohn Wiegley2008-07-201-36/+1
| | | | having a functional binary.
* Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-111/+153
| | | | 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-2/+2
| | | | my personal ledger file yet.
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-17/+21
|\
| * Round unbalanced remainders before reporting them, because that will make aJohn Wiegley2008-07-171-0/+3
| | | | | | | | | | whole lot more sense to the user, rather than reporting the internal precision.
| * Check whether this_bal actually finds a matching commodity value, otherwiseJohn Wiegley2008-07-171-17/+19
| | | | | | | | it's a divide by zero.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-68/+72
|/
* When building an auto-entry, copy over details so that the resultingJohn Wiegley2008-04-131-0/+12
| | | | transaction is a mirror of the automated entry's one.
* Made separate modules for the csv command, since the prior method wasJohn Wiegley2008-04-131-0/+21
| | | | not fully correct.
* Reworked the way date/times are handled.John Wiegley2008-04-131-7/+8
|
* Several fixes to lot price handling.John Wiegley2008-04-131-1/+7
|
* Further refinement of commodity lot information.John Wiegley2008-04-131-2/+5
|
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-10/+17
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-131-15/+44
|
* *** empty log message ***John Wiegley2008-04-131-1/+25
|
* Added much better error location.John Wiegley2008-04-131-5/+13
|
* *** empty log message ***John Wiegley2008-04-131-7/+7
|
* *** empty log message ***John Wiegley2008-04-131-3/+5
|
* Began support for improved commodity handling.John Wiegley2008-04-131-5/+16
|
* (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
|