Commit graph

32 commits

Author SHA1 Message Date
John Wiegley
c9d0737b8f Added a note field to entry_t objects. 2008-04-13 05:08:21 -04:00
John Wiegley
04dfda2282 Made separate modules for the csv command, since the prior method was
not fully correct.
2008-04-13 02:41:33 -04:00
John Wiegley
db0ef2e257 *** empty log message *** 2008-04-13 02:41:32 -04:00
John Wiegley
5a93d4819e Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00
John Wiegley
32bdfe20d9 Tons of corrections and fixes to value expressions and lot figures. 2008-04-13 02:41:31 -04:00
John Wiegley
47e2a34176 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
e32d9e64a7 Added much better error location. 2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
96d6d62ad9 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
9db08c4c7d (read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
7901598f1d Checked in all major updates. 2008-04-13 02:41:27 -04:00
John Wiegley
224273fa54 *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
5a8d1fc8ea *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
f2a167e0ed *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
244bbb6d12 Fixed some compiler complaints. 2008-04-13 02:41:25 -04:00
John Wiegley
8916ec2483 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
2df14a5b86 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
7d1f07a2a7 (class transaction_t): Initialize _date_eff to zero. 2008-04-13 02:41:20 -04:00
John Wiegley
251d501c10 (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