Commit graph

36 commits

Author SHA1 Message Date
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
f86e81732c (parse_value_term): Added support for general @name functions. This
used to mean Python functions, now it will be used for all further
value expression functions.  Right now this means the new @min(x,y)
and @max(x,y) functions.
2008-04-13 02:41:25 -04:00
John Wiegley
a8012940f4 Removed Python integration support. 2008-04-13 02:41:21 -04:00
John Wiegley
f691735c6c 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
d949440872 Added support for a Y flag which matches against a transaction's
PENDING state (as opposed to X, which checks only CLEARED).  Now it
should be possible to query for all combinations of PENDING, CLEARED
or UNCLEARED.
2008-04-13 02:41:20 -04:00
John Wiegley
00fe8bc815 Added a `terminus' global, which if set marks the "current time" as
seen by the value expression logic.  This has the effect of changing
valexprs that test against the current time, such as for calculating
the market value of commodities.
2008-04-13 02:41:20 -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
83f0d1455b Added the capability for value expression regexps targetted at
specific parts of a transaction: c// (entry code), p// (payee), w//
(short account name), W// (full account name), and e// (transaction
note).
2008-04-13 02:40:59 -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
8c8c9a01e7 accept multiple arguments passed to an interpreted function (more work tbd) 2004-09-24 23:45:32 -04:00
John Wiegley
84259bde51 changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
John Wiegley
be18ab2f1a more error checking and robustness mods 2004-09-23 07:05:03 -04:00
John Wiegley
c57a2e74b8 shored up error checking of value expressions 2004-09-23 06:34:27 -04:00
John Wiegley
a013b520ba python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
John Wiegley
63367e3aac the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
John Wiegley
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
1091f0d07b slight cleanup 2004-08-23 02:11:58 -04:00
John Wiegley
6d5333b896 use value_t instead of balance_pair_t; gains for 10% binary, 2% textual 2004-08-21 23:18:45 -04:00
John Wiegley
000bfe1cec only compute the cost when it differs from the amount 2004-08-21 15:55:03 -04:00
John Wiegley
ac604d8902 minor changes 2004-08-20 18:46:52 -04:00
John Wiegley
55d58940ce speed improvements; my "bal" script is cut to a third 2004-08-17 22:18:38 -04:00
John Wiegley
18ec7d0539 removed header inclusion (not ready yet) 2004-08-17 20:32:35 -04:00
John Wiegley
bf8c4a74a1 small changes 2004-08-17 20:32:14 -04:00
John Wiegley
fadab59e87 changes to value expressions, and to how the display predicate is computed 2004-08-17 18:19:25 -04:00
John Wiegley
325cf53ea7 several significant speed improvements (removed excessive copying of strings) 2004-08-17 04:57:38 -04:00
John Wiegley
b20ddba1d5 added error checking 2004-08-12 20:57:44 -04:00
John Wiegley
7610aec86d added support for interval reporting; changed some option flags 2004-08-12 20:06:06 -04:00
John Wiegley
a77c20a772 many more formatting changes 2004-08-11 22:54:42 -04:00
John Wiegley
7a1d0d4614 new debug code; automated transactions now use value expression predicates 2004-08-10 17:54:47 -04:00
John Wiegley
05b2cc46fd fixed account display bug 2004-08-09 17:32:20 -04:00
John Wiegley
c6c0179545 got more reports working again 2004-08-07 21:03:25 -04:00
John Wiegley
5db1e1165b improvements to transaction formatting 2004-08-06 21:38:27 -04:00
John Wiegley
50f75e0a5c added support for account sorting 2004-08-05 21:47:53 -04:00
John Wiegley
1741c80fe4 rewrote the way registers are computed -- again 2004-08-04 03:12:26 -04:00
Renamed from expr.h (Browse further)