summaryrefslogtreecommitdiff
path: root/journal.cc
Commit message (Collapse)AuthorAgeFilesLines
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-150/+0
| | | | is in doc/, etc.
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-1/+2
| | | | | | | | 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-29/+19
|
* A new binary_cache_t object has been creating to manage saving and restoring aJohn Wiegley2008-07-311-19/+8
| | | | | Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now.
* Moved around and renamed a very large amount of code in order to rationalizeJohn Wiegley2008-07-291-574/+5
| | | | the way that value expressions extract information from journal objects.
* 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-30/+30
| | | | 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-0/+1
|
* Parsing now works again. And there was much rejoicing.John Wiegley2008-07-241-142/+206
|
* More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-241-6/+12
| | | | that value expressions must work, there are a lot of details involved.
* More work toward getting my ledger data to parse.John Wiegley2008-07-221-2/+3
|
* 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
|