summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (format_xml_entries): Moved the stream finalization to flush(), whereJohn Wiegley2008-04-131-1/+3
| | | | it belongs.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Added code for using reconcile_transactions, but it still need somJohn Wiegley2008-04-131-0/+15
| | | | eporting.
* (chain_xact_handlers): Chain the reconcile_transactions handler theJohn Wiegley2008-04-131-39/+27
| | | | same way as everything else.
* (export_config): Added export entries for the reconcile_balance andJohn Wiegley2008-04-131-0/+2
| | | | reconcile_date options.
* (initialize_ledger_for_python): Added initialization call for theJohn Wiegley2008-04-131-0/+2
| | | | reconciler.
* (transaction_xdata_t): Added a `ptr' void *, for general use. TheJohn Wiegley2008-04-131-1/+2
| | | | reconcile_transactions handler uses it.
* Converted the reconciler into an item_handler, so that it interactsJohn Wiegley2008-04-132-30/+59
| | | | with the core the same way as everything else.
* bug fixJohn Wiegley2008-04-131-2/+6
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Added calls for `export_emacs', to expose FormatEmacsTransactions.John Wiegley2008-04-131-0/+2
|
* Changed the script ot rely on the C++ output formatters, rather thanJohn Wiegley2008-04-131-177/+31
| | | | the Python versions of before.
* Added pystream_handler_wrap class, which wraps an item_handler takingJohn Wiegley2008-04-131-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 canJohn Wiegley2008-04-131-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 Wiegley2008-04-131-0/+23
|
* *** empty log message ***John Wiegley2008-04-132-53/+142
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (truncate_entries::flush): Fix so that --head and --tail can be usedJohn Wiegley2008-04-131-4/+13
| | | | at the same time. (export_walk): Added TruncateEntries for Python.
* Whitespace changes.John Wiegley2008-04-132-53/+53
|
* Added OFX library support.John Wiegley2008-04-131-0/+4
|
* Updated the Python driver to mostly match the C++ driver again.John Wiegley2008-04-131-78/+99
|
* (parse_and_report): Rearranged some code for efficiency's sake.John Wiegley2008-04-131-12/+14
|
* Added -lpython$PYTHON_VERSION to the LIBS line. The way things were,John Wiegley2008-04-131-1/+1
| | | | the boost test would always fail.
* (export_config): Added missing config members for Python.John Wiegley2008-04-131-0/+3
|
* (HAVE_LIBOFX_VALUE): Added LIBOFX support to the Python build.John Wiegley2008-04-131-0/+7
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Changed truncate_entries so that --head and --tail can be used at theJohn Wiegley2008-04-133-13/+13
| | | | same time.
* *** empty log message ***John Wiegley2008-04-132-0/+223
|
* Added support for "--pager PROGRAM". A likely way to define it inJohn Wiegley2008-04-133-4/+75
| | | | your login file would be: "export LEDGER_PAGER=$PAGER".
* *** empty log message ***John Wiegley2008-04-132-1/+46
|
* (test): Check for <?xml only, not the full version string.John Wiegley2008-04-131-1/+1
|
* Added the new transaction handler `truncate_entries' which can be usedJohn Wiegley2008-04-132-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 theJohn Wiegley2008-04-131-0/+8
| | | | transaction handler `truncate_entries'.
* (test), gnucash.cc (test): Check for <?xml only, not the full versionJohn Wiegley2008-04-131-1/+1
| | | | string.
* (truncated): Simplified this method, and added schemes for truncatingJohn Wiegley2008-04-131-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 &lt; and &gt;. (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 Wiegley2008-04-132-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 Wiegley2008-04-131-0/+16
|
* Added the capability for value expression regexps targetted atJohn Wiegley2008-04-132-15/+65
| | | | | | specific parts of a transaction: c// (entry code), p// (payee), w// (short account name), W// (full account name), and e// (transaction note).
* *** empty log message ***John Wiegley2008-04-131-3/+4
|
* Added a fix for FreeBSD, so that Ledger can compile there.John Wiegley2008-04-131-0/+5
|
* (ledger-reconcile-save): Call `save-buffer', instead of trying toJohn Wiegley2008-04-131-2/+1
| | | | write the file directly.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse): When an entry does not balance, print the entry so the userJohn Wiegley2008-04-131-1/+2
| | | | can see what Ledger saw.
* (format_equity::flush): If the equity balance uses multipleJohn Wiegley2008-04-131-4/+44
| | | | | commodities, then multiple "Equity" lines need to be printed, one for each. (format_equity::operator()): Same, but for individual accounts.
* doc updateJohn Wiegley2008-04-131-2/+151
|
* (reconcile_transactions): Added an error message, to make it easier toJohn Wiegley2008-04-131-2/+11
| | | | | know when the commodity is wrong to --reconcile (such as using $ instead of \$ in the UNIX shell).
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (ledger-do-reconcile): Fixed a marker problem that was causing entriesJohn Wiegley2008-04-131-2/+6
| | | | to not be reconciled.
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* doc updateJohn Wiegley2008-04-131-2/+83
|