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
44561c1c1d
Further refinement of commodity lot information.
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
68813448cb
Added support for unlimited factoids.
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
a597b0fb5e
Further improvements to lot pricing.
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
e75bb1f71f
*** empty log message ***
2008-04-13 02:41:26 -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
d021582d28
(parse_and_report): Set ledger::terminus in main.cc, instead of
...
relying on static initialization of valexpr.cc.
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
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
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
f8a62c444f
made several of the buffers used non-static
2004-09-26 23:48:31 -04:00
John Wiegley
26de701a4e
corrected the deviation report (-D) when -V is also being used
2004-09-25 17:59:14 -04:00
John Wiegley
66bc51db6d
added pysample.dat, which provides a more realistic example of using Python
2004-09-25 03:30:23 -04:00
John Wiegley
f84f8dbd5d
fixed support for multiple argument passing to Python functions
2004-09-25 02:34:29 -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
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
a7ea33a8ec
passing --enable-python to configure is now required for python support
2004-09-20 04:07:02 -04:00
John Wiegley
5429792edc
the "bal" command mostly works now in main.py; added a finalize_entry hook
2004-09-20 03:25:28 -04:00
John Wiegley
79b664f6f0
changed the management of "xdata" in walk.h
2004-09-17 04:38:24 -04:00
John Wiegley
f2162bf7ee
further python integration improvements
2004-09-14 06:36:16 -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
ff4589caae
added support for ValueExpr objects to python.
2004-09-10 20:08:07 -04:00
John Wiegley
e1d6c4bff2
interval_t objects now play nicely with python. see the bottom of main.py
2004-09-10 18:38:52 -04:00