summaryrefslogtreecommitdiff
path: root/valexpr.cc
Commit message (Collapse)AuthorAgeFilesLines
* Changed the way scopes are structured for an upcoming design change.John Wiegley2008-07-291-1095/+0
|
* Cleaned up the value expression code a bit before undertaking the real work ofJohn Wiegley2008-07-271-17/+8
| | | | getting everything back up to what it was (plus the new code written for 3.0).
* Updated all copyright messages to 2003-2008.John Wiegley2008-07-271-1/+1
|
* The --verify option is now working properly again. Use "--verify --verbose"John Wiegley2008-07-261-10/+19
| | | | if you wish to see memory usage statistics along with a top-level trace.
* --verify works again, but the memory totals at the end still need work.John Wiegley2008-07-261-1/+1
|
* Parsing now works again. And there was much rejoicing.John Wiegley2008-07-241-2/+2
|
* More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-241-26/+20
| | | | that value expressions must work, there are a lot of details involved.
* Fixed a memory bug due to a shallow copy in value_t::storage_t.John Wiegley2008-07-221-2/+5
|
* More work toward getting my ledger data to parse.John Wiegley2008-07-221-1/+5
|
* Added the var_t helper class, which can be seen in the beginningJohn Wiegley2008-07-211-7/+25
| | | | implementation of register_command in main.cc.
* The new XPath parser has been integrated, although I have removed theJohn Wiegley2008-07-201-1176/+244
| | | | | | | XML-related bits -- I just wanted the better infrastructure that had been created during the rewrite. It doesn't work, but it compiles and links now. This means that all of the previous 3.0 code has been moved over, although there are still snippets of code in pending/old that need to be restored.
* Things are at least compiling and linking again, but we're still far fromJohn Wiegley2008-07-201-0/+54
| | | | having a functional binary.
* Everything but main.cc is compiling again (but with much #if 0'd code).John Wiegley2008-07-201-117/+102
|
* I have walked further along the road less compiled by...John Wiegley2008-07-201-108/+78
|
* Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-307/+307
| | | | report, session, parts of xpath, main, journal, option.
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-5/+11
|\
| * 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.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-109/+112
|/
* *** 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.