summaryrefslogtreecommitdiff
path: root/valexpr.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rather than just aborting, report an intelligent error if the comma operatorJohn Wiegley2008-07-171-4/+10
| | | | | is missing one of its operands in a value expression. This kind of reporting still needs to be done for all the other operators as well.
* Moved the sequencing of a call to node.reset, since the intervening expressionJohn Wiegley2008-07-171-1/+1
| | | | can throw an exception which would leave us with an unexpected NULL pointer.
* *** empty log message ***John Wiegley2008-04-131-2/+8
|
* Added elision styles.John Wiegley2008-04-131-18/+13
|
* Reworked the way date/times are handled.John Wiegley2008-04-131-21/+22
|
* Several fixes to lot price handling.John Wiegley2008-04-131-1/+2
|
* Further refinement of commodity lot information.John Wiegley2008-04-131-2/+4
|
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-356/+370
|
* *** empty log message ***John Wiegley2008-04-131-3/+7
|
* *** empty log message ***John Wiegley2008-04-131-9/+10
|
* Added new --descend option.John Wiegley2008-04-131-0/+14
|
* *** empty log message ***John Wiegley2008-04-131-60/+119
|
* *** empty log message ***John Wiegley2008-04-131-0/+33
|
* Added much better error location.John Wiegley2008-04-131-30/+299
|
* Added a DATETIME value type.John Wiegley2008-04-131-26/+89
|
* *** empty log message ***John Wiegley2008-04-131-16/+80
|
* Began support for improved commodity handling.John Wiegley2008-04-131-0/+7
|
* Began support for improved commodity handling.John Wiegley2008-04-131-13/+13
|
* Added support for unlimited factoids.John Wiegley2008-04-131-6/+3
|
* (read_binary_journal): Fixed a tiny memory leak when reading from aJohn Wiegley2008-04-131-4/+7
| | | | binary cache.
* *** empty log message ***John Wiegley2008-04-131-6/+7
|
* (value_expr_t::compute): Added new 'act_date' and 'eff_date' valueJohn Wiegley2008-04-131-19/+39
| | | | | | expressions, for getting at the explicit actual and effective dates of a transaction or entry. For accounts, these both refer to the present moment.
* Further improvements to lot pricing.John Wiegley2008-04-131-23/+42
|
* Checked in all major updates.John Wiegley2008-04-131-418/+746
|
* *** empty log message ***John Wiegley2008-04-131-0/+4
|
* *** empty log message ***John Wiegley2008-04-131-5/+5
|
* *** empty log message ***John Wiegley2008-04-131-0/+22
|
* (parse_value_term): Added support for general @name functions. ThisJohn Wiegley2008-04-131-0/+77
| | | | | | 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.
* Removed Python integration support.John Wiegley2008-04-131-136/+0
|
* (parse_and_report): Set ledger::terminus in main.cc, instead ofJohn Wiegley2008-04-131-1/+1
| | | | relying on static initialization of valexpr.cc.
* Restructed the code that it can build and be used as a shared library.John Wiegley2008-04-131-0/+6
| | | | | The command-line version is still statically bound in the build process by default (for the sake of speed).
* Added support for a Y flag which matches against a transaction'sJohn Wiegley2008-04-131-0/+9
| | | | | | 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.
* Added a `terminus' global, which if set marks the "current time" asJohn Wiegley2008-04-131-3/+5
| | | | | | 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.
* See ChangeLogJohn Wiegley2008-04-131-3/+6
|
* Support has been added for clearing of individual transactions. SetJohn Wiegley2008-04-131-2/+19
| | | | `ledger-clear-whole-entries' in Emacs to revert to the old behavior.
* Added the capability for value expression regexps targetted atJohn Wiegley2008-04-131-15/+63
| | | | | | specific parts of a transaction: c// (entry code), p// (payee), w// (short account name), W// (full account name), and e// (transaction note).
* updated to version 2.0John Wiegley2008-04-131-0/+1037
|
* changesJohn Wiegley2008-04-131-1051/+0
|
* made several of the buffers used non-staticJohn Wiegley2004-09-261-2/+1
|
* corrected the deviation report (-D) when -V is also being usedJohn Wiegley2004-09-251-7/+0
|
* added pysample.dat, which provides a more realistic example of using PythonJohn Wiegley2004-09-251-5/+7
|
* fixed support for multiple argument passing to Python functionsJohn Wiegley2004-09-251-17/+45
|
* accept multiple arguments passed to an interpreted function (more work tbd)John Wiegley2004-09-241-30/+57
|
* more error checking and robustness modsJohn Wiegley2004-09-231-29/+40
|
* shored up error checking of value expressionsJohn Wiegley2004-09-231-7/+28
|
* passing --enable-python to configure is now required for python supportJohn Wiegley2004-09-201-2/+2
|
* the "bal" command mostly works now in main.py; added a finalize_entry hookJohn Wiegley2004-09-201-0/+10
|
* changed the management of "xdata" in walk.hJohn Wiegley2004-09-171-26/+25
|
* further python integration improvementsJohn Wiegley2004-09-141-2/+12
|
* python integrated both ways (see sample.dat), and initialized on-demandJohn Wiegley2004-09-141-3/+57
|