summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* '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
| |
| * When converting datetime_t to a long, I now need to directly access the 'when'John Wiegley2008-07-192-5/+10
| | | | | | | | member, otherwise C++ chooses the bool conversion, which is always wrong.
* | Re-enabled almost all of the code in main.cc.John Wiegley2008-07-206-40/+35
| |
* | The new XPath parser has been integrated, although I have removed theJohn Wiegley2008-07-2014-1302/+2797
| | | | | | | | | | | | | | 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.
* | Changed the target directory within ~/Products.John Wiegley2008-07-201-2/+3
| |
* | Things are at least compiling and linking again, but we're still far fromJohn Wiegley2008-07-205-48/+94
| | | | | | | | having a functional binary.
* | Everything but main.cc is compiling again (but with much #if 0'd code).John Wiegley2008-07-206-177/+140
| |
* | I have walked further along the road less compiled by...John Wiegley2008-07-208-153/+131
| |
* | Brought in the final round of 3.0 code, although it does not compile yet:John Wiegley2008-07-2022-2673/+2729
| | | | | | | | 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-195-6/+37
| | | | | | | | my personal ledger file yet.
* | Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-1917-207/+784
|\|
| * Merged over changes from the newer ledger.el that was in my FTP directory.John Wiegley2008-07-181-84/+555
| | | | | | | | | | | | | | | | | | C-c C-c will no longer destroy information if the amount is too close to the account name. C-c C-e will clear a whole entry; TAB and C-TAB now perform completion; the reporting infrastructure has been improved (thanks to a contributor); and other small improvements.
| * Reconciling using ledger.el is now line-based, instead of character based, dueJohn Wiegley2008-07-172-7/+13
| | | | | | | | to problems with UTF-8 characters.
| * Updated the version number to 2.6.1.John Wiegley2008-07-174-3/+7
| |
| * Changes to allow DATETIME values to be negated, for the purposes of reverseJohn Wiegley2008-07-172-4/+5
| | | | | | | | sorting.
| * Changed the default value of ledger-binary-path to just "ledger", sinceJohn Wiegley2008-07-171-7/+2
| | | | | | | | there's no need to require an absolute pathname.
| * The "entry" command now correctly allows for a "draw account".John Wiegley2008-07-171-8/+23
| |
| * Corrected a mis-type in the NEWS file.John Wiegley2008-07-171-2/+2
| |
| * Disabled an error check that has no real value in 2.6.John Wiegley2008-07-171-2/+12
| |
| * slanack: The problem was that <split:quantity> received the `transactionJohn Wiegley2008-07-171-7/+3
| | | | | | | | | | commodity' instead of the correct `account commodity'. There should really be a check if the account commodity has been defined.
| * Added helper methods for comparing a balance to a balance_pair.John Wiegley2008-07-171-0/+16
| |
| * If AMOUNT_PARSE_NO_MIGRATE is set, do not set a commodity's precision even ifJohn Wiegley2008-07-171-4/+3
| | | | | | | | | | | | this is the first time a commodity is being seen. The reason is that it's quite possible (especially in bug reports) for the cost of a priced transaction to contain the first occurrence of a commodity.
| * Round unbalanced remainders before reporting them, because that will make aJohn Wiegley2008-07-171-0/+3
| | | | | | | | | | whole lot more sense to the user, rather than reporting the internal precision.
| * Protect against a case where xact->entry may legitimately be NULL.John Wiegley2008-07-171-2/+2
| |
| * Moved an auto_ptr up into main, since the memory it governs must still beJohn Wiegley2008-07-171-4/+10
| | | | | | | | available to the exception handlers that come immediately after it.
| * Removed implicit conversions from ledger::date_t to std::time_t, since thisJohn Wiegley2008-07-171-9/+6
| | | | | | | | | | operator was never been chosen over operator bool (and hence, all times appeared as either 0 or 1).
| * 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.