Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -1/+2 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 2 | -2/+46 |
| | |||||
* | (parse_inline_math): Parse amounts that use any | John Wiegley | 2008-04-13 | 1 | -5/+95 |
| | | | | | | | | | | | | | | | of ()/*+- as "inline math". This causes "$100.00 * 20" to be turned into the equivalent value expression "({$100.00} * {20})". It is a shorthand, at the expense of a little textual parsing speed. (parse_amount): Call `parse_inline_math' if appropriate. (parse_entry): Support transactions that follow immediately after the payee name, separated by two or more spaces. This makes it possible -- when a basket account is being used -- to list off entry transactions one per line. (parse): Allow a basket account to be specified using the syntax "A ACCOUNT". From that point on in the file, any single transactions entries will be balanced against that account. | ||||
* | (parse): Removed an unnecessary line of code. | John Wiegley | 2008-04-13 | 1 | -1/+2 |
| | |||||
* | (chain_xact_handlers): When budgeting and forecasting are being used, | John Wiegley | 2008-04-13 | 1 | -0/+27 |
| | | | | | | | | | | never update the binary cache (and don't create one if none was there). This is because certain intermediary accounts get created during generation of these reports, which should never be recorded in the cache as actual accounts. Also, run the account filter both before and after the budgeting and forecasting filters, to ensure that only the accounts the user is interested in get included in the report. | ||||
* | (Budgeting and forecasting): Added a transaction to the example, to | John Wiegley | 2008-04-13 | 1 | -0/+1 |
| | | | | show that budgeting transactions needn't be exact. | ||||
* | (class journal_t): Added a "basket" account member, which if set is | John Wiegley | 2008-04-13 | 1 | -1/+2 |
| | | | | the account to which all single-transaction entries are balanced. | ||||
* | (finalize): If a "basket" account is being used, | John Wiegley | 2008-04-13 | 1 | -13/+63 |
| | | | | | | | | | | | | balance single transaction entries into it. Also, fixed two entry balancing issues. (finalize): If a "catch all" transaction (a transaction with no amount) is present in an entry, it will now balance all unbalanced quantities in the entry. Before its use was much more restricted. (journal_t::add_entry): Set the "journal" pointer before calling the finalize hooks, so that the finalizers have access to the proposed journal the entry wishes to be added to (if it fails, the pointer is cleared). | ||||
* | Updated binary file version. (read_binary_journal): Read in the | John Wiegley | 2008-04-13 | 1 | -1/+10 |
| | | | | | "basket" account, if used. (write_binary_journal): Write out the "basket" account, if used. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (parse): Accept CX as well as C*. Also, general improvements to Bank | John Wiegley | 2008-04-13 | 1 | -32/+35 |
| | | | | type parser. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -1/+0 |
| | |||||
* | (ledger-do-reconcile): Only allow toggling of reconcilation entries | John Wiegley | 2008-04-13 | 1 | -20/+24 |
| | | | | that are found in the "main" ledger file (for now). | ||||
* | (parse): The src_idx field on journal entries was being set | John Wiegley | 2008-04-13 | 1 | -5/+7 |
| | | | | incorrectly. | ||||
* | Increased binary file version number. | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (parse): Parse price database entries using the fixed date format | John Wiegley | 2008-04-13 | 1 | -1/+5 |
| | | | | "%Y/%m/%d %H:%M:%S". | ||||
* | Added `input_format' array, and made `formats' external. | John Wiegley | 2008-04-13 | 2 | -5/+7 |
| | |||||
* | Added --input-date-format, which affects how dates in textual and QIF | John Wiegley | 2008-04-13 | 1 | -0/+7 |
| | | | | | files are parsed -- but not the dates inside a price database, whose format is fixed. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -0/+11 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | Separate out the arguments, to be more compatible. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | (amount_t::parse): Only set the SUFFIXED flag if there is actually a | John Wiegley | 2008-04-13 | 1 | -1/+2 |
| | | | | commodity symbol. | ||||
* | (qif_parser_t::parse): Propogate commodity flags when parsing amounts | John Wiegley | 2008-04-13 | 1 | -1/+11 |
| | | | | from a QIF file. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (sort_transactions::post_accumulated_xacts): Created this function so | John Wiegley | 2008-04-13 | 2 | -6/+10 |
| | | | | | that interval_transactions has a way to post sorted xacts without calling flush(). | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (clock_out_from_timelog): If a timelog file is left "open", clock out | John Wiegley | 2008-04-13 | 1 | -22/+32 |
| | | | | at the present time. | ||||
* | Whitespace changes. | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | (first): Use std::localtime instead of std::gmtime. (increment): Use | John Wiegley | 2008-04-13 | 1 | -4/+3 |
| | | | | std::localtime instead of std::gmtime. | ||||
* | Use std::localtime instead of std::gmtime. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (ledger-do-reconcile): If no output at all is generated by the "emacs" | John Wiegley | 2008-04-13 | 1 | -11/+13 |
| | | | | command, do not trigger a Lisp error. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (parse_transaction): If an account name matches an alias definition, | John Wiegley | 2008-04-13 | 1 | -1/+27 |
| | | | | | | use the aliased account. (parse): Added an "!alias ALIAS = ACCOUNT" directive, to make it easier to manage long account names in a textual ledger file. | ||||
* | updated binary version number | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (quick_parse_date): Add 1900 to now_year, to counter the subtraction | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | | | | that will occur in parse_date. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (quick_parse_date): [1178218] Fixed date problem by avoiding an | John Wiegley | 2008-04-13 | 1 | -0/+4 |
| | | | | | optimization that was being used before for the sake of the textual parser. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | Added missing colons. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (process_options): Show all register entries, even those with null | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | | | | value, if -E is used. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| | |||||
* | (config_t): Corrected a value in the register format. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 |
| |