John Wiegley
9ec136db90
*** empty log message ***
2008-04-13 02:41:32 -04:00
John Wiegley
f9b874e1cb
Added elision styles.
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
a5aff9eee9
Several fixes to lot price handling.
2008-04-13 02:41:31 -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
b1a04923fe
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
2964dd15b2
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
4f83a2bf8f
Added new --descend option.
2008-04-13 02:41:30 -04:00
John Wiegley
49ae3b65d5
*** empty log message ***
2008-04-13 02:41:30 -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
b737cd8e6d
Added a DATETIME value type.
2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
2ebfddf401
Began support for improved commodity handling.
2008-04-13 02:41:28 -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
a2423f99db
*** empty log message ***
2008-04-13 02:41:27 -04:00
John Wiegley
96acdec7b9
(value_expr_t::compute): Added new 'act_date' and 'eff_date' value
...
expressions, for getting at the explicit actual and effective dates of
a transaction or entry. For accounts, these both refer to the present
moment.
2008-04-13 02:41:27 -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
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