summaryrefslogtreecommitdiff
path: root/gnucash.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rearranged the code a bit, breaking walk.cc into several different files:John Wiegley2008-08-031-18/+1
| | | | | | | | | | compare compare_items<T> handler item_handler<T> iterators used to iterators sets of journal objects filters derived from item_handler, they morph the result set output derived from item_handler, these do the printing Also, created a new 'help' files which contains just Ledger's help text.
* Added several missing copyright notices.John Wiegley2008-08-031-0/+31
|
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-1/+1
| | | | | | | | 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.
* Simplified the format_t code so that it no longer references any particularsJohn Wiegley2008-08-011-0/+2
| | | | about journal objects. This is all done through value expressions now.
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-1/+1
| | | | | | | 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.
* Moved around and renamed a very large amount of code in order to rationalizeJohn Wiegley2008-07-291-15/+15
| | | | the way that value expressions extract information from journal objects.
* 'make check' is now working again. Also, conversion from amount_t to/fromJohn Wiegley2008-07-271-1/+1
| | | | | | | 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 great deal of reorganization to restore the old parsing code (since theJohn Wiegley2008-07-221-5/+5
| | | | newer XML stuff was pulled).
* Everything but main.cc is compiling again (but with much #if 0'd code).John Wiegley2008-07-201-1/+1
|
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-7/+3
|\
| * 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.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-33/+36
|/
* Made several fixes to commodity parsing, which were preventing Gnucash filesJohn Wiegley2008-04-131-38/+17
| | | | from being parsed altogether.
* Reworked the way date/times are handled.John Wiegley2008-04-131-5/+6
|
* Added much better error location.John Wiegley2008-04-131-2/+2
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* Began support for improved commodity handling.John Wiegley2008-04-131-10/+23
|
* Checked in all major updates.John Wiegley2008-04-131-17/+7
|
* *** empty log message ***John Wiegley2008-04-131-0/+10
|
* Transactions now track their beginning and ending position, as doJohn Wiegley2008-04-131-0/+5
| | | | | | | entries. The new format strings %xB %xE %xb %xe can be used to display those values relative to a transaction. The Emacs module now relies on this support to exactly determine where a transaction is, rather than the Elisp logic it relied on previously.
* Made several changes to the parsing infrastructure to allow passingJohn Wiegley2008-04-131-0/+1
| | | | | the "config_t" object around. This is needed for parsing option settings in the initialization file.
* Added in.clear() before resetting I/Os streams. Again, thanks to theJohn Wiegley2008-04-131-0/+1
| | | | list.
* Removed Python integration support.John Wiegley2008-04-131-19/+0
|
* (endElement): Changed the parser a bit to always prefer theJohn Wiegley2008-04-131-24/+47
| | | | transaction commodity over the account commodity.
* See ChangeLogJohn Wiegley2008-04-131-1/+1
|
* Support has been added for clearing of individual transactions. SetJohn Wiegley2008-04-131-2/+8
| | | | `ledger-clear-whole-entries' in Emacs to revert to the old behavior.
* Made the anonymous enum for action types into a named enum, as thisJohn Wiegley2008-04-131-1/+1
| | | | | causes problems for template instantiation in the latest versions of gcc.
* *** empty log message ***John Wiegley2008-04-131-1/+8
|
* (dataHandler): Expand commodity precision based on whatever values areJohn Wiegley2008-04-131-3/+12
| | | | | seen for that commodity (although this may expand things too much, will have to wait for real world data tests to be sure).
* Record the beginning/ending line and position of entries parsed withinJohn Wiegley2008-04-131-8/+25
| | | | Gnucash files.
* minor bit twiddlingJohn Wiegley2008-04-131-2/+2
|
* (test), gnucash.cc (test): Check for <?xml only, not the full versionJohn Wiegley2008-04-131-1/+1
| | | | string.
* (parse): Corrected error reporting lines when it is a Ledger error.John Wiegley2008-04-131-3/+5
|
* (convert_number): If the denominator is zero, report an error insteadJohn Wiegley2008-04-131-1/+6
| | | | of crashing.
* updated to version 2.0John Wiegley2008-04-131-86/+172
|
* changesJohn Wiegley2008-04-131-126/+79
|
* changed ledger.h to journal.h; moved adding of autoxact hookJohn Wiegley2004-09-231-1/+1
|
* change commodity->symbol to const, and added set_symbolJohn Wiegley2004-09-101-8/+4
|
* optimize python iterations of entries, transactions; use exceptions moreJohn Wiegley2004-09-081-17/+11
|
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-2/+2
|
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-0/+19
|
* cleanup; fully switched to autoconf -- use scripts/acprepJohn Wiegley2004-08-241-0/+2
|
* only compute the cost when it differs from the amountJohn Wiegley2004-08-211-1/+2
|
* more cleanupJohn Wiegley2004-08-211-2/+2
|
* support arbitrary precision after the decimal point; increase speed 0-10%John Wiegley2004-08-211-3/+7
|
* updated gnucash supportJohn Wiegley2004-08-201-1/+13
|
* added support for parsing QIF filesJohn Wiegley2004-08-191-3/+3
|
* fix to gnucash supportJohn Wiegley2004-08-131-2/+1
|
* added back sorting supportJohn Wiegley2004-08-051-5/+5
|
* two major changesJohn Wiegley2004-07-301-5/+5
| | | | | | | | | | | | | Complete changed the way format strings are handled. They are now compiled first, which is far more efficient than what was being done before. Also, there is now a global ledger::commodity_t::commodities map, which saves me from having to pass the current journal around to a zillion different functions, for the sole purpose of making sure that all commodity symbols that are parsed refer to the same commodity object.