summaryrefslogtreecommitdiff
path: root/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-9/+9
| | | | | | | | This means transactions can only have day-level granularity -- which has always been the case from an data file point of view. The advantage to this restriction is that reports will now be immune from daylight savings related bugs, where a transaction falls to the wrong side of a --monthly report, for example.
* Change many uses of for+iterator to use Boost.Foreach.John Wiegley2008-07-311-30/+19
|
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-42/+40
| | | | | | | 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-311-6/+8
|
* Enabled a huge number of warning flags for g++ in acprep, and fixed them allJohn Wiegley2008-07-301-19/+19
| | | | | | 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.
* The register report has begun printing real data, although not all the piecesJohn Wiegley2008-07-291-39/+23
| | | | are in place yet and the formatting is still off.
* The next value expression scheme is working, but the individual accessorJohn Wiegley2008-07-291-1/+4
| | | | 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-291-75/+76
| | | | the way that value expressions extract information from journal objects.
* Value expression architecture is now rewritten, but the functionality of theJohn Wiegley2008-07-291-20/+20
| | | | | | | 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.
* Merge branch 'master' into v2.7aJohn Wiegley2008-07-271-2/+93
|\
| * Added the concept of "balance setting transactions".John Wiegley2008-07-271-2/+79
| |
| * Erroneously compared a character position to NUL, rather than setting it.John Wiegley2008-07-191-3/+3
| |
* | 'make check' is now working again. Also, conversion from amount_t to/fromJohn Wiegley2008-07-271-2/+2
| | | | | | | | | | | | | | 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.
* | The --verify option is now working properly again. Use "--verify --verbose"John Wiegley2008-07-261-7/+7
| | | | | | | | 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-24/+22
| |
* | More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-241-9/+17
| | | | | | | | that value expressions must work, there are a lot of details involved.
* | More fixes to restore parsing capability.John Wiegley2008-07-231-15/+21
| |
* | More work toward getting my ledger data to parse.John Wiegley2008-07-221-26/+30
| |
* | A great deal of reorganization to restore the old parsing code (since theJohn Wiegley2008-07-221-18/+19
| | | | | | | | newer XML stuff was pulled).
* | The new XPath parser has been integrated, although I have removed theJohn Wiegley2008-07-201-7/+7
| | | | | | | | | | | | | | 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.
* | Everything but main.cc is compiling again (but with much #if 0'd code).John Wiegley2008-07-201-2/+6
| |
* | I have walked further along the road less compiled by...John Wiegley2008-07-201-14/+14
| |
* | Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-201-1/+1
| | | | | | | | report, session, parts of xpath, main, journal, option.
* | Added a tracing statement.John Wiegley2008-07-191-3/+5
| |
* | Some basic fixes to get things almost running, although we still can't parseJohn Wiegley2008-07-191-4/+11
| | | | | | | | my personal ledger file yet.
* | Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-33/+77
|\|
| * Disabled an error check that has no real value in 2.6.John Wiegley2008-07-171-2/+12
| |
| * Protect against a case where xact->entry may legitimately be NULL.John Wiegley2008-07-171-2/+2
| |
| * Strip \r from all lines read.John Wiegley2008-07-171-9/+23
| |
| * Fixed several issues with clocking out in a timelog, which was leading to anJohn Wiegley2008-07-171-15/+32
| | | | | | | | invalid memory access.
| * Added several more date/time fixes from Nathan Jones. Fixes #49.John Wiegley2008-07-171-1/+1
| |
| * Patch from Nathan Jones so that trailing whitespace after account names in aJohn Wiegley2008-07-161-1/+2
| | | | | | | | transaction with no amount is not parsed as a special name. Fixes #3.
| * Fix compile errors with gcc 4.3Nathan Jones2008-05-201-0/+1
| |
* | Most things are building, but not the Python codeJohn Wiegley2008-05-121-37/+14
| |
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-133/+120
|/
* Improvements to the position calculation logic during parsing.John Wiegley2008-04-131-5/+8
|
* *** empty log message ***John Wiegley2008-04-131-5/+8
|
* Reworked the way date/times are handled.John Wiegley2008-04-131-80/+102
|
* *** empty log message ***John Wiegley2008-04-131-21/+27
|
* Several fixes to lot price handling.John Wiegley2008-04-131-6/+9
|
* Further refinement of commodity lot information.John Wiegley2008-04-131-15/+6
|
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-53/+63
|
* *** empty log message ***John Wiegley2008-04-131-11/+27
|
* *** empty log message ***John Wiegley2008-04-131-10/+13
|
* *** empty log message ***John Wiegley2008-04-131-5/+8
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* Added much better error location.John Wiegley2008-04-131-48/+63
|
* *** empty log message ***John Wiegley2008-04-131-223/+183
|
* Began support for improved commodity handling.John Wiegley2008-04-131-56/+36
|
* *** empty log message ***John Wiegley2008-04-131-4/+1
|