summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Value expressions now auto-compile themselves on first use if the expr_tJohn Wiegley2008-08-012-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 byJohn Wiegley2008-08-013-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 particularsJohn Wiegley2008-08-016-595/+545
| | | | about journal objects. This is all done through value expressions now.
* Change many uses of for+iterator to use Boost.Foreach.John Wiegley2008-07-3126-579/+370
|
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-3136-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 Wiegley2008-07-317-102/+128
|
* A new binary_cache_t object has been creating to manage saving and restoring aJohn Wiegley2008-07-3120-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 everythingJohn Wiegley2008-07-301-13/+17
| | | | generated.
* Corrected a failing test.John Wiegley2008-07-303-3/+6
|
* Updated acprep to reflect a more modern OS X system.John Wiegley2008-07-301-11/+9
|
* Enabled a huge number of warning flags for g++ in acprep, and fixed them allJohn Wiegley2008-07-3026-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 reflectJohn Wiegley2008-07-301-28/+34
| | | | Ledger's internal architecture.
* Merged over fix to #205 from v2.6.1b, which deals with small commodityJohn Wiegley2008-07-292-8/+11
| | | | rounding.
* The register report has begun printing real data, although not all the piecesJohn Wiegley2008-07-297-55/+53
| | | | are in place yet and the formatting is still off.
* The next value expression scheme is working, but the individual accessorJohn Wiegley2008-07-299-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 rationalizeJohn Wiegley2008-07-2943-2315/+2264
| | | | the way that value expressions extract information from journal objects.
* Changed the way scopes are structured for an upcoming design change.John Wiegley2008-07-2912-3632/+29
|
* Move the value expression code into libamounts, since it really belongs withJohn Wiegley2008-07-292-12/+12
| | | | value_t, rather than the rest of Ledger proper.
* Value expression architecture is now rewritten, but the functionality of theJohn Wiegley2008-07-2941-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 Wiegley2008-07-283-1/+57
|
* Cleaned up the value expression code a bit before undertaking the real work ofJohn Wiegley2008-07-2711-1241/+170
| | | | getting everything back up to what it was (plus the new code written for 3.0).
* Merge branch 'master' into v2.7aJohn Wiegley2008-07-278-34/+247
|\
| * Added the concept of "balance setting transactions".John Wiegley2008-07-275-6/+209
| |
* | Updated all copyright messages to 2003-2008.John Wiegley2008-07-2745-45/+45
| |
* | Merge branch 'master' into v2.7a.John Wiegley2008-07-271-2/+2
|\| | | | | | | The only change to come forward was updating the binary version number.
| * Another quick optimization that cuts down on memory allocation.John Wiegley2008-07-261-3/+5
| |
| * Added a simple optimization to the way amount strings are parsed.John Wiegley2008-07-263-26/+25
| |
| * Increased binary cache file internal version number.John Wiegley2008-07-261-2/+2
| |
* | 'make check' is now working again. Also, conversion from amount_t to/fromJohn Wiegley2008-07-2723-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 stillJohn Wiegley2008-07-2719-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 Wiegley2008-07-269-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 Wiegley2008-07-2637-280/+725
| |
* | Parsing now works again. And there was much rejoicing.John Wiegley2008-07-2411-181/+379
| |
* | There are no more asserts or exceptions while parsing, but still there areJohn Wiegley2008-07-242-5/+48
| | | | | | | | many balancing errors.
* | More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-2416-211/+381
| | | | | | | | that value expressions must work, there are a lot of details involved.
* | More fixes to restore parsing capability.John Wiegley2008-07-232-16/+22
| |
* | Merge branch 'master' into v2.7aJohn Wiegley2008-07-232-1/+2
|\|
| * acprep: I don't keep ChangeLog files under version control anymore, butJohn Wiegley2008-07-232-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 Wiegley2008-07-224-32/+48
| |
* | More work toward getting my ledger data to parse.John Wiegley2008-07-225-70/+60
| |
* | A great deal of reorganization to restore the old parsing code (since theJohn Wiegley2008-07-2224-570/+165
| | | | | | | | newer XML stuff was pulled).
* | Report an error if the user forgets to pass an argument to --trace.John Wiegley2008-07-221-1/+8
| |
* | Added the var_t helper class, which can be seen in the beginningJohn Wiegley2008-07-217-97/+84
| | | | | | | | implementation of register_command in main.cc.
* | Added back the --version option, and changed acprep so that it hacks on theJohn Wiegley2008-07-214-3/+36
| | | | | | | | generated Makefile to greatly reduce unneeded verbosity.
* | Merged in from master.John Wiegley2008-07-216-7/+757
|\|
| * More copyright date updates.John Wiegley2008-07-212-2/+2
| |
| * A patch from Juergen Daubert, which fixes the output from --version.John Wiegley2008-07-212-2/+2
| |
| * When using the "entry" command with an unknown payee, get the draw accountJohn Wiegley2008-07-201-4/+15
| | | | | | | | correct if one is specified. Fixes #203.
| * Corrected the copyright date in ledger.el.John Wiegley2008-07-201-2/+2
| |
| * Erroneously compared a character position to NUL, rather than setting it.John Wiegley2008-07-191-3/+3
| |