Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (ledger-add-entry): Use Eshell to do argument parsing, since that's | John Wiegley | 2008-04-13 | 1 | -8/+10 | |
| | | | | | the easiest way to tell if '1 "2 3" 4' contains three arguments or four. | |||||
* | (process_environment): If the environment tag is NULL (which is really | John Wiegley | 2008-04-13 | 1 | -1/+1 | |
| | | | | should never be), then don't use it. | |||||
* | (parse_and_report): If XML support was not compiled in, generate an | John Wiegley | 2008-04-13 | 1 | -2/+6 | |
| | | | | error when the "xml" command is used. | |||||
* | formatting changes | John Wiegley | 2008-04-13 | 3 | -4/+12 | |
| | ||||||
* | doc updates | John Wiegley | 2008-04-13 | 1 | -9/+26 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | Enabled the --reconcile option, since everything it relies on is now | John Wiegley | 2008-04-13 | 1 | -14/+13 | |
| | | | | exposed through python. | |||||
* | (ledger-auto-reconcile): If auto-reconciling fails, report an error in | John Wiegley | 2008-04-13 | 1 | -1/+3 | |
| | | | | the minibuffer. | |||||
* | Moved `format_xml_entries' to xml.cc. | John Wiegley | 2008-04-13 | 4 | -227/+229 | |
| | ||||||
* | (export_datetime): Exposed "parse_date" function. | John Wiegley | 2008-04-13 | 1 | -0/+19 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | (format_xml_entries): Moved the stream finalization to flush(), where | John Wiegley | 2008-04-13 | 1 | -1/+3 | |
| | | | | it belongs. | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | Added code for using reconcile_transactions, but it still need som | John Wiegley | 2008-04-13 | 1 | -0/+15 | |
| | | | | eporting. | |||||
* | (chain_xact_handlers): Chain the reconcile_transactions handler the | John Wiegley | 2008-04-13 | 1 | -39/+27 | |
| | | | | same way as everything else. | |||||
* | (export_config): Added export entries for the reconcile_balance and | John Wiegley | 2008-04-13 | 1 | -0/+2 | |
| | | | | reconcile_date options. | |||||
* | (initialize_ledger_for_python): Added initialization call for the | John Wiegley | 2008-04-13 | 1 | -0/+2 | |
| | | | | reconciler. | |||||
* | (transaction_xdata_t): Added a `ptr' void *, for general use. The | John Wiegley | 2008-04-13 | 1 | -1/+2 | |
| | | | | reconcile_transactions handler uses it. | |||||
* | Converted the reconciler into an item_handler, so that it interacts | John Wiegley | 2008-04-13 | 2 | -30/+59 | |
| | | | | with the core the same way as everything else. | |||||
* | bug fix | John Wiegley | 2008-04-13 | 1 | -2/+6 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | Added calls for `export_emacs', to expose FormatEmacsTransactions. | John Wiegley | 2008-04-13 | 1 | -0/+2 | |
| | ||||||
* | Changed the script ot rely on the C++ output formatters, rather than | John Wiegley | 2008-04-13 | 1 | -177/+31 | |
| | | | | the Python versions of before. | |||||
* | Added pystream_handler_wrap class, which wraps an item_handler taking | John Wiegley | 2008-04-13 | 1 | -1/+38 | |
| | | | | | | a std::ostream so that it can take a PyObject* instead. Relies on pyfstream.h, which allows Python file objects to be treating as I/O streams. | |||||
* | (truncated): Added "style" argument, so that at least Python users can | John Wiegley | 2008-04-13 | 1 | -22/+86 | |
| | | | | | | | choose which output style they want (truncation at beginning, middle or end of the string). (export_format): Expose following handlers to Python: FormatTransactions, FormatEntries, FormatXmlEntries, FormatAccount, FormatEquity. | |||||
* | Expose FormatEmacsTransactions to Python. | John Wiegley | 2008-04-13 | 1 | -0/+23 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 2 | -53/+142 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | (truncate_entries::flush): Fix so that --head and --tail can be used | John Wiegley | 2008-04-13 | 1 | -4/+13 | |
| | | | | at the same time. (export_walk): Added TruncateEntries for Python. | |||||
* | Whitespace changes. | John Wiegley | 2008-04-13 | 2 | -53/+53 | |
| | ||||||
* | Added OFX library support. | John Wiegley | 2008-04-13 | 1 | -0/+4 | |
| | ||||||
* | Updated the Python driver to mostly match the C++ driver again. | John Wiegley | 2008-04-13 | 1 | -78/+99 | |
| | ||||||
* | (parse_and_report): Rearranged some code for efficiency's sake. | John Wiegley | 2008-04-13 | 1 | -12/+14 | |
| | ||||||
* | Added -lpython$PYTHON_VERSION to the LIBS line. The way things were, | John Wiegley | 2008-04-13 | 1 | -1/+1 | |
| | | | | the boost test would always fail. | |||||
* | (export_config): Added missing config members for Python. | John Wiegley | 2008-04-13 | 1 | -0/+3 | |
| | ||||||
* | (HAVE_LIBOFX_VALUE): Added LIBOFX support to the Python build. | John Wiegley | 2008-04-13 | 1 | -0/+7 | |
| | ||||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 0 | -0/+0 | |
| | ||||||
* | Changed truncate_entries so that --head and --tail can be used at the | John Wiegley | 2008-04-13 | 3 | -13/+13 | |
| | | | | same time. | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 2 | -0/+223 | |
| | ||||||
* | Added support for "--pager PROGRAM". A likely way to define it in | John Wiegley | 2008-04-13 | 3 | -4/+75 | |
| | | | | your login file would be: "export LEDGER_PAGER=$PAGER". | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 2 | -1/+46 | |
| | ||||||
* | (test): Check for <?xml only, not the full version string. | John Wiegley | 2008-04-13 | 1 | -1/+1 | |
| | ||||||
* | Added the new transaction handler `truncate_entries' which can be used | John Wiegley | 2008-04-13 | 2 | -3/+68 | |
| | | | | | | to trim a number of entries from the beginning or end of a transction stream. (push_to_transactions_list): Removed unneeded "handler" argument. | |||||
* | (chain_xact_handlers): Added head or tail handlers, using the | John Wiegley | 2008-04-13 | 1 | -0/+8 | |
| | | | | transaction handler `truncate_entries'. | |||||
* | (test), gnucash.cc (test): Check for <?xml only, not the full version | John Wiegley | 2008-04-13 | 1 | -1/+1 | |
| | | | | string. | |||||
* | (truncated): Simplified this method, and added schemes for truncating | John Wiegley | 2008-04-13 | 1 | -28/+63 | |
| | | | | | | | | at the beginning and middle of a string (neither of which seems better than truncating at the front). (output_xml_string): Change xml_string to output_xml_string, for simplicity's sake. Also, < and > are now output as < and >. (format_last_entry): Use output_xml_string for the account name as well as the code, payee and note. | |||||
* | Added new --head and --tail options, which control how many *entries* | John Wiegley | 2008-04-13 | 2 | -0/+13 | |
| | | | | | | are displayed in a register report or print report. The UNIX commands "head" and "tail" can be used to control how many transactions are displayed. | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -0/+16 | |
| |