Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Value expressions now auto-compile themselves on first use if the expr_t | John Wiegley | 2008-08-01 | 2 | -23/+39 | |
| | | | | | object is not constant. This saves classes that use expr_t from having to track such a detail themselves. | |||||
* | Re-implemented ?: parsing in value expressions. "a ? b : c" is implemented by | John Wiegley | 2008-08-01 | 3 | -10/+59 | |
| | | | | | translating it into the equivalent syntax tree "(a & b) | c", since this expression evaluates to the value of b if a is true, otherwise c. | |||||
* | Simplified the format_t code so that it no longer references any particulars | John Wiegley | 2008-08-01 | 6 | -595/+545 | |
| | | | | about journal objects. This is all done through value expressions now. | |||||
* | Change many uses of for+iterator to use Boost.Foreach. | John Wiegley | 2008-07-31 | 26 | -579/+370 | |
| | ||||||
* | Revised the way that exceptions are thrown around. Instead of context being a | John Wiegley | 2008-07-31 | 36 | -407/+243 | |
| | | | | | | | complicated string of pointers, it's now just a global block of text that gets appended to as the error is being thrown up, and can be displayed at the catch point if desired. There are almost no cases where a thrown exception will not result in an error message being displayed to the user. | |||||
* | Cleaned up some method names and documentation relating to values. | John Wiegley | 2008-07-31 | 7 | -102/+128 | |
| | ||||||
* | A new binary_cache_t object has been creating to manage saving and restoring a | John Wiegley | 2008-07-31 | 20 | -1068/+1203 | |
| | | | | | Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now. | |||||
* | Fixed the clean targets in Makefile.am. Use 'all-clean' to wipe everything | John Wiegley | 2008-07-30 | 1 | -13/+17 | |
| | | | | generated. | |||||
* | Corrected a failing test. | John Wiegley | 2008-07-30 | 3 | -3/+6 | |
| | ||||||
* | Updated acprep to reflect a more modern OS X system. | John Wiegley | 2008-07-30 | 1 | -11/+9 | |
| | ||||||
* | Enabled a huge number of warning flags for g++ in acprep, and fixed them all | John Wiegley | 2008-07-30 | 26 | -137/+154 | |
| | | | | | | except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with. | |||||
* | Reorganized the ordering of filenames in Makefile.am, to better reflect | John Wiegley | 2008-07-30 | 1 | -28/+34 | |
| | | | | Ledger's internal architecture. | |||||
* | Merged over fix to #205 from v2.6.1b, which deals with small commodity | John Wiegley | 2008-07-29 | 2 | -8/+11 | |
| | | | | rounding. | |||||
* | The register report has begun printing real data, although not all the pieces | John Wiegley | 2008-07-29 | 7 | -55/+53 | |
| | | | | are in place yet and the formatting is still off. | |||||
* | The next value expression scheme is working, but the individual accessor | John Wiegley | 2008-07-29 | 9 | -41/+127 | |
| | | | | functions for each of the journal objects has yet to be ported. | |||||
* | Moved around and renamed a very large amount of code in order to rationalize | John Wiegley | 2008-07-29 | 43 | -2315/+2264 | |
| | | | | the way that value expressions extract information from journal objects. | |||||
* | Changed the way scopes are structured for an upcoming design change. | John Wiegley | 2008-07-29 | 12 | -3632/+29 | |
| | ||||||
* | Move the value expression code into libamounts, since it really belongs with | John Wiegley | 2008-07-29 | 2 | -12/+12 | |
| | | | | value_t, rather than the rest of Ledger proper. | |||||
* | Value expression architecture is now rewritten, but the functionality of the | John Wiegley | 2008-07-29 | 41 | -709/+4082 | |
| | | | | | | | old system (for example, the meaning of 'a') has yet to be restored. In the new scheme, this will be done by definition a function outside of the value expression logic, rather than the tight coupling between journal innards and value expressions that occurred in 2.x. | |||||
* | Added the skeleton for the upcoming value_expr unit tests. | John Wiegley | 2008-07-28 | 3 | -1/+57 | |
| | ||||||
* | Cleaned up the value expression code a bit before undertaking the real work of | John Wiegley | 2008-07-27 | 11 | -1241/+170 | |
| | | | | getting everything back up to what it was (plus the new code written for 3.0). | |||||
* | Merge branch 'master' into v2.7a | John Wiegley | 2008-07-27 | 8 | -34/+247 | |
|\ | ||||||
| * | Added the concept of "balance setting transactions". | John Wiegley | 2008-07-27 | 5 | -6/+209 | |
| | | ||||||
* | | Updated all copyright messages to 2003-2008. | John Wiegley | 2008-07-27 | 45 | -45/+45 | |
| | | ||||||
* | | Merge branch 'master' into v2.7a. | John Wiegley | 2008-07-27 | 1 | -2/+2 | |
|\| | | | | | | | The only change to come forward was updating the binary version number. | |||||
| * | Another quick optimization that cuts down on memory allocation. | John Wiegley | 2008-07-26 | 1 | -3/+5 | |
| | | ||||||
| * | Added a simple optimization to the way amount strings are parsed. | John Wiegley | 2008-07-26 | 3 | -26/+25 | |
| | | ||||||
| * | Increased binary cache file internal version number. | John Wiegley | 2008-07-26 | 1 | -2/+2 | |
| | | ||||||
* | | 'make check' is now working again. Also, conversion from amount_t to/from | John Wiegley | 2008-07-27 | 23 | -150/+157 | |
| | | | | | | | | | | | | | | double has been disabled, because I am no longer packaging the gdtoa library with Ledger (because double conversion really has nothing to do with what Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006, under a sub-directory of the same name. | |||||
* | | A large body of work to get the register report printing again, but still | John Wiegley | 2008-07-27 | 19 | -441/+1054 | |
| | | | | | | | | fails due to the fact that 2.x value expression syntax is not restored. | |||||
* | | The --verify option is now working properly again. Use "--verify --verbose" | John Wiegley | 2008-07-26 | 9 | -48/+98 | |
| | | | | | | | | 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 Wiegley | 2008-07-26 | 37 | -280/+725 | |
| | | ||||||
* | | Parsing now works again. And there was much rejoicing. | John Wiegley | 2008-07-24 | 11 | -181/+379 | |
| | | ||||||
* | | There are no more asserts or exceptions while parsing, but still there are | John Wiegley | 2008-07-24 | 2 | -5/+48 | |
| | | | | | | | | many balancing errors. | |||||
* | | More work toward getting the textual parser working again. Since this means | John Wiegley | 2008-07-24 | 16 | -211/+381 | |
| | | | | | | | | that value expressions must work, there are a lot of details involved. | |||||
* | | More fixes to restore parsing capability. | John Wiegley | 2008-07-23 | 2 | -16/+22 | |
| | | ||||||
* | | Merge branch 'master' into v2.7a | John Wiegley | 2008-07-23 | 2 | -1/+2 | |
|\| | ||||||
| * | acprep: I don't keep ChangeLog files under version control anymore, but | John Wiegley | 2008-07-23 | 2 | -1/+2 | |
| | | | | | | | | | | automake requires it, so when preparing the sources for building the ChangeLog is touch'd just as we were doing for AUTHORS and COPYING. | |||||
* | | Fixed a memory bug due to a shallow copy in value_t::storage_t. | John Wiegley | 2008-07-22 | 4 | -32/+48 | |
| | | ||||||
* | | More work toward getting my ledger data to parse. | John Wiegley | 2008-07-22 | 5 | -70/+60 | |
| | | ||||||
* | | A great deal of reorganization to restore the old parsing code (since the | John Wiegley | 2008-07-22 | 24 | -570/+165 | |
| | | | | | | | | newer XML stuff was pulled). | |||||
* | | Report an error if the user forgets to pass an argument to --trace. | John Wiegley | 2008-07-22 | 1 | -1/+8 | |
| | | ||||||
* | | Added the var_t helper class, which can be seen in the beginning | John Wiegley | 2008-07-21 | 7 | -97/+84 | |
| | | | | | | | | implementation of register_command in main.cc. | |||||
* | | Added back the --version option, and changed acprep so that it hacks on the | John Wiegley | 2008-07-21 | 4 | -3/+36 | |
| | | | | | | | | generated Makefile to greatly reduce unneeded verbosity. | |||||
* | | Merged in from master. | John Wiegley | 2008-07-21 | 6 | -7/+757 | |
|\| | ||||||
| * | More copyright date updates. | John Wiegley | 2008-07-21 | 2 | -2/+2 | |
| | | ||||||
| * | A patch from Juergen Daubert, which fixes the output from --version. | John Wiegley | 2008-07-21 | 2 | -2/+2 | |
| | | ||||||
| * | When using the "entry" command with an unknown payee, get the draw account | John Wiegley | 2008-07-20 | 1 | -4/+15 | |
| | | | | | | | | correct if one is specified. Fixes #203. | |||||
| * | Corrected the copyright date in ledger.el. | John Wiegley | 2008-07-20 | 1 | -2/+2 | |
| | | ||||||
| * | Erroneously compared a character position to NUL, rather than setting it. | John Wiegley | 2008-07-19 | 1 | -3/+3 | |
| | |