summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (regexps_to_predicate): Don't modify the display predicate for balanceJohn Wiegley2008-04-131-3/+3
| | | | commands if a payee regexp is being processed.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (subtotal_transactions::operator()): Changed the usage of theJohn Wiegley2008-04-132-7/+20
| | | | | | temporary `values' map so that account names are always properly sorted in the subtotaled output view. As it was, they were being reported in account creation order.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (derive_new_entry): If the "entry" command can't figure out whichJohn Wiegley2008-04-131-9/+17
| | | | | account to draw from, and if there is a "basket account" (defined with "A" in a textual ledger), use that.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (report_budget_items): Removed an unused local variable.John Wiegley2008-04-131-45/+40
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse): Removed some unnecessary code which was actually causingJohn Wiegley2008-04-131-15/+2
| | | | | price histories to be parsed wrong when compiler optimizations were used (at least on my machine).
* *** empty log message ***John Wiegley2008-04-132-164/+0
|
* When --input-date-format is seen, don't wipe out the rest of the dateJohn Wiegley2008-04-131-4/+3
| | | | | | formats, simply replace the first one. Then, when --period is seen, use the first date format as the template for what to pass to the begin/end options.
* (derive_new_entry): If no argument were given but the payee, assumeJohn Wiegley2008-04-131-5/+14
| | | | the user wants to see the same transaction as last time.
* (amount_t::value): Corrected a problem with commodity rounding afterJohn Wiegley2008-04-131-8/+23
| | | | | | | | market values are determined (was using the wrong commodity's precision value). (commodity_t::value): Fixed the market value calculation algorithm, which was very broken (but only seemed to show up if the price history was very small).
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Increased binary version number.John Wiegley2008-04-131-1/+1
|
* (find_commodity): Don't copy over the NOMARKET flag from the defaultJohn Wiegley2008-04-131-1/+2
| | | | commodity.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (process_options): Corrected a long-standing error with using "--" toJohn Wiegley2008-04-131-1/+1
| | | | separate payee regexps from account regexps.
* (class format_account): Fixed initialization orderJohn Wiegley2008-04-131-2/+2
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse): Negate QIF amounts for which a category is specified, sinceJohn Wiegley2008-04-131-0/+2
| | | | the category shows where the money went, not where it came from.
* *** empty log message ***John Wiegley2008-04-131-0/+3
|
* (parse): Set the beginning and ending line number for each entry as itJohn Wiegley2008-04-131-10/+17
| | | | is parsed.
* (qif_parser_t::parse): Record the beginning and ending line/pos andJohn Wiegley2008-04-131-1/+25
| | | | source index when reading QIF files.
* Removed unused code.John Wiegley2008-04-131-6/+0
|
* (Format strings): Added documentation about using %b and %e formatJohn Wiegley2008-04-131-0/+6
| | | | elements.
* (class entry_base_t): Added `beg_line' and `end_line' members.John Wiegley2008-04-131-0/+2
|
* (export_journal): Added `basket' member for journals, and `beg_line'John Wiegley2008-04-131-1/+7
| | | | and `end_line' for entries (for Python).
* Record the beginning/ending line and position of entries parsed withinJohn Wiegley2008-04-131-8/+25
| | | | Gnucash files.
* (struct element_t): Added BEG_LINE and END_LINE.John Wiegley2008-04-131-0/+2
|
* (parse_elements): The format codes %b and %e can be used to displayJohn Wiegley2008-04-131-0/+12
| | | | | the beginning and ending line numbers of an entry. (format): Output beginning and ending line for BEG_LINE and END_LINE types.
* Updated binary version number. (read_binary_entry_base): Read inJohn Wiegley2008-04-131-1/+5
| | | | | | beginning and ending line information for each entry. (write_binary_entry_base): Write out beginning and ending line information for each entry.
* (parse): Allow "-$100.00" as the equivalent of "$-100.00".John Wiegley2008-04-131-2/+12
|
* *** empty log message ***John Wiegley2008-04-131-1/+2
|
* *** empty log message ***John Wiegley2008-04-132-2/+46
|
* (parse_inline_math): Parse amounts that use anyJohn Wiegley2008-04-131-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 Wiegley2008-04-131-1/+2
|
* (chain_xact_handlers): When budgeting and forecasting are being used,John Wiegley2008-04-131-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, toJohn Wiegley2008-04-131-0/+1
| | | | show that budgeting transactions needn't be exact.
* (class journal_t): Added a "basket" account member, which if set isJohn Wiegley2008-04-131-1/+2
| | | | the account to which all single-transaction entries are balanced.
* (finalize): If a "basket" account is being used,John Wiegley2008-04-131-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 theJohn Wiegley2008-04-131-1/+10
| | | | | "basket" account, if used. (write_binary_journal): Write out the "basket" account, if used.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse): Accept CX as well as C*. Also, general improvements to BankJohn Wiegley2008-04-131-32/+35
| | | | type parser.
* *** empty log message ***John Wiegley2008-04-131-1/+0
|
* (ledger-do-reconcile): Only allow toggling of reconcilation entriesJohn Wiegley2008-04-131-20/+24
| | | | that are found in the "main" ledger file (for now).
* (parse): The src_idx field on journal entries was being setJohn Wiegley2008-04-131-5/+7
| | | | incorrectly.
* Increased binary file version number.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse): Parse price database entries using the fixed date formatJohn Wiegley2008-04-131-1/+5
| | | | "%Y/%m/%d %H:%M:%S".