Commit graph

23 commits

Author SHA1 Message Date
John Wiegley
c17c5dbcaf *** no comment *** 2008-04-13 05:48:43 -04:00
John Wiegley
e6efa8421f Removed --disable-emacs. 2008-04-13 05:48:43 -04:00
John Wiegley
70b3eda8d1 *** no comment *** 2008-04-13 02:41:26 -04:00
John Wiegley
88a895a494 *** no comment *** 2008-04-13 02:41:26 -04:00
John Wiegley
13f375ae58 *** no comment *** 2008-04-13 02:41:26 -04:00
John Wiegley
a2b7e86508 Fixed some compiler complaints. 2008-04-13 02:41:25 -04:00
John Wiegley
2d95c0e2a5 Added a global variable `entry_balance' which contains the balance of
the last attempted entry finalization.
2008-04-13 02:41:24 -04:00
John Wiegley
f43370cae5 Transactions now track their beginning and ending position, as do
entries.  The new format strings %xB %xE %xb %xe can be used to
display those values relative to a transaction.  The Emacs module now
relies on this support to exactly determine where a transaction is,
rather than the Elisp logic it relied on previously.
2008-04-13 02:41:24 -04:00
John Wiegley
4957bd4064 (class transaction_t): Initialize _date_eff to zero. 2008-04-13 02:41:20 -04:00
John Wiegley
ef93067227 (class entry_base_t): Initialize the `journal' pointer to NULL on
object creation.
2008-04-13 02:41:20 -04:00
John Wiegley
eb0525e315 See ChangeLog 2008-04-13 02:41:19 -04:00
John Wiegley
a53f44ecda Support has been added for clearing of individual transactions. Set
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
2008-04-13 02:41:19 -04:00
John Wiegley
ecdc02c5d3 (class entry_base_t): Added beg_line' and end_line' members. 2008-04-13 02:41:13 -04:00
John Wiegley
86941556b8 (class journal_t): Added a "basket" account member, which if set is
the account to which all single-transaction entries are balanced.
2008-04-13 02:41:12 -04:00
John Wiegley
1c7669671c Changes to support building with gcc 2.95. 2008-04-13 02:40:57 -04:00
John Wiegley
ed000a6967 Added support for each entry to remember: the file it came from, and
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.
2008-04-13 02:40:54 -04:00
John Wiegley
a151daddc3 (class journal_t): Added `price_db' member, which is the price
database used to read in historical prices for a given journal.
2008-04-13 02:40:53 -04:00
John Wiegley
c9fb11bd60 updated to version 2.0 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
3038b7cee8 finalizer fixes; removed use of timing.h from main.cc 2004-09-24 04:56:46 -04:00
John Wiegley
4f56735dfa changed entry_finalizer scheme to use objects, not just function pointers 2004-09-24 04:10:39 -04:00
John Wiegley
1416f3b978 a bit more refactoring 2004-09-23 21:54:11 -04:00
John Wiegley
7a19532049 added files 2004-09-23 21:38:29 -04:00