Commit graph

15 commits

Author SHA1 Message Date
John Wiegley
bb9cfdd04c (derive_new_entry): Changed behavior of the "entry" command when a
matching entry or acount cannot be found.  Now it generates a close
approximation in all cases, and never an error message unless
something unresolvable has happened.
2008-04-13 05:48:43 -04:00
John Wiegley
d09da94a93 (derive_new_entry): Added an error check if only a payee is specified
for "entry" but the payee wasn't found.  (This came from the mailing
list, thanks guys).
2008-04-13 02:41:21 -04:00
John Wiegley
ce3491c99f Removed Python integration support. 2008-04-13 02:41:21 -04:00
John Wiegley
e1d0dbf220 Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build
process by default (for the sake of speed).
2008-04-13 02:41:21 -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
6777a8519a (derive_new_entry): Backed out a change which caused the "from"
account to be incorrectly determined.
2008-04-13 02:41:16 -04:00
John Wiegley
1f433a129f (derive_new_entry): If the "entry" command can't figure out which
account to draw from, and if there is a "basket account" (defined with
"A" in a textual ledger), use that.
2008-04-13 02:41:15 -04:00
John Wiegley
4e822d213f (derive_new_entry): If no argument were given but the payee, assume
the user wants to see the same transaction as last time.
2008-04-13 02:41:14 -04:00
John Wiegley
37ae9bf0c2 added missing headers 2008-04-13 02:40:57 -04:00
John Wiegley
cb15e764eb (derive_new_entry): Simplified some code. (derive_new_entry): If no
commodity was specified for an amount, and none was figured out from
previous transactions, then use the default commodity (which is
specified using "D <SYMBOL>" in the ledger file).
2008-04-13 02:40:49 -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
2c7593ae29 fix to entry 2004-09-24 00:23:27 -04:00
John Wiegley
1416f3b978 a bit more refactoring 2004-09-23 21:54:11 -04:00